File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 10
10
workflow_dispatch :
11
11
jobs :
12
12
build_docs_job :
13
- runs-on : ubuntu-20.04
14
- strategy :
15
- matrix :
16
- include :
17
- - os : linux.g5.4xlarge.nvidia.gpu
18
- python-version : 3.8
13
+ runs-on : linux.g5.4xlarge.nvidia.gpu
19
14
defaults :
20
15
run :
21
16
shell : bash -l {0}
22
- container : nvidia/cudagl:11.4.0-base
17
+ container : nvidia/cudagl:11.4.0-runtime
23
18
steps :
24
19
- name : Install deps
25
20
run : |
39
34
bash ./miniconda.sh -b -f -p "${conda_dir}"
40
35
eval "$(${conda_dir}/bin/conda shell.bash hook)"
41
36
printf "* Creating a test environment\n"
42
- conda create --prefix "${env_dir}" -y python="$PYTHON_VERSION"
37
+ conda create --prefix "${env_dir}" -y python=3.8
43
38
printf "* Activating\n"
44
39
conda activate "${env_dir}"
45
40
- name : Update pip
54
49
- name : Install PyTorch
55
50
shell : bash
56
51
run : |
57
- pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu118 --quiet --root-user-action=ignore
52
+ pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cpu --quiet --root-user-action=ignore
53
+ #pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu118 --quiet --root-user-action=ignore
58
54
- name : Install tensordict
59
55
run : |
60
56
pip3 install git+https://github.com/pytorch-labs/tensordict.git --quiet --root-user-action=ignore
70
66
mkdir _tmp
71
67
cd _tmp
72
68
PYOPENGL_PLATFORM=egl MUJOCO_GL=egl python3 -c """from torchrl.envs.libs.dm_control import DMControlEnv
73
- print(DMControlEnv('cheetah', 'run').reset())"""
69
+ print(DMControlEnv('cheetah', 'run', from_pixels=True ).reset())"""
74
70
cd ..
75
71
- name : Build the docset
76
72
id : build_doc
You can’t perform that action at this time.
0 commit comments