Skip to content

Commit

Permalink
[CI] pin DMC and mujoco (pytorch#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored Aug 6, 2024
1 parent 788710f commit afe8596
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/unittest/linux/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ dependencies:
- tensorboard
- imageio==2.26.0
- wandb
- dm_control
- dm_control<1.0.21
- mujoco<3.2.1
- mlflow
- av
- coverage
Expand Down
2 changes: 1 addition & 1 deletion .github/unittest/linux/scripts/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ echo "installing gymnasium"
pip3 install "gymnasium"
pip3 install ale_py
pip3 install mo-gymnasium[mujoco] # requires here bc needs mujoco-py
pip3 install mujoco -U
pip3 install "mujoco<3.2.1" -U

# sanity check: remove?
python3 -c """
Expand Down
3 changes: 2 additions & 1 deletion .github/unittest/linux_distributed/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ dependencies:
- tensorboard
- imageio==2.26.0
- wandb
- dm_control
- dm_control<1.0.21
- mujoco<3.2.1
- mlflow
- av
- coverage
Expand Down
3 changes: 2 additions & 1 deletion .github/unittest/linux_examples/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ dependencies:
- scipy
- hydra-core
- imageio==2.26.0
- dm_control
- dm_control<1.0.21
- mujoco<3.2.1
- mlflow
- av
- coverage
Expand Down
3 changes: 2 additions & 1 deletion .github/unittest/linux_libs/scripts_envpool/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ dependencies:
- expecttest
- pyyaml
- scipy
- dm_control
- dm_control<1.0.21
- mujoco<3.2.1
- coverage
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ dependencies:
- scipy
- hydra-core
- dm_control -e git+https://github.com/deepmind/dm_control.git@c053360edea6170acfd9c8f65446703307d9d352#egg={dm_control}
- mujoco<3.2.1
- patchelf
- pyopengl==3.1.4
- ray
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
python3 setup.py develop
python3 -m pip install pytest pytest-benchmark
python3 -m pip install "gym[accept-rom-license,atari]"
python3 -m pip install dm_control
python3 -m pip install "dm_control<1.0.21" "mujoco<3.2.1"
export TD_GET_DEFAULTS_TO_NONE=1
- name: Run benchmarks
run: |
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
python3 setup.py develop
python3 -m pip install pytest pytest-benchmark
python3 -m pip install "gym[accept-rom-license,atari]"
python3 -m pip install dm_control
python3 -m pip install "dm_control<1.0.21" "mujoco<3.2.1"
export TD_GET_DEFAULTS_TO_NONE=1
- name: check GPU presence
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
python3 setup.py develop
python3 -m pip install pytest pytest-benchmark
python3 -m pip install "gym[accept-rom-license,atari]"
python3 -m pip install dm_control
python3 -m pip install "dm_control<1.0.21" "mujoco<3.2.1"
export TD_GET_DEFAULTS_TO_NONE=1
- name: Setup benchmarks
run: |
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
python3 setup.py develop
python3 -m pip install pytest pytest-benchmark
python3 -m pip install "gym[accept-rom-license,atari]"
python3 -m pip install dm_control
python3 -m pip install "dm_control<1.0.21" "mujoco<3.2.1"
export TD_GET_DEFAULTS_TO_NONE=1
- name: check GPU presence
run: |
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ docutils
sphinx_design

torchvision
dm_control
dm_control<1.0.21
mujoco<3.2.1
atari-py
ale-py
gym[classic_control,accept-rom-license]
Expand Down

0 comments on commit afe8596

Please sign in to comment.