Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Feb 3, 2025
2 parents 9f6f013 + 1f0835e commit df4bd97
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ channels:
- pytorch
- defaults
dependencies:
- pip
- pip<25.0
- protobuf
- pip:
- hypothesis
Expand All @@ -21,7 +21,6 @@ dependencies:
- pyyaml
- scipy
- hydra-core
- dm_control -e git+https://github.com/deepmind/dm_control.git@c053360edea6170acfd9c8f65446703307d9d352#egg={dm_control}
- mujoco
- patchelf
- pyopengl==3.1.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export MKL_THREADING_LAYER=GNU
export BATCHED_PIPE_TIMEOUT=60

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test.py -v --durations 200
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k 'test_gym or test_dm_control_pixels or test_dm_control'
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k 'test_gym'

export DISPLAY=':99.0'
Xvfb :99 -screen 0 1400x900x24 > /dev/null 2>&1 &
Expand Down
8 changes: 7 additions & 1 deletion .github/unittest/linux_olddeps/scripts_gym_0_13/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ cp mjkey.txt mujoco_py/binaries/
pip install -e .
cd ..

#cd $this_dir
# OLD DM_CONTROL NOT SUPPORTED ANYMORE
# # Install dm_control
# git clone https://github.com/deepmind/dm_control
# cd dm_control
# git checkout c053360edea6170acfd9c8f65446703307d9d352
# pip install -e .
# cd ..

# 4. Install Conda dependencies
printf "* Installing dependencies (except PyTorch)\n"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: |
echo "Action triggered by ${{ github.event.pull_request.html_url }}"
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50 # this is to make sure we obtain the target base commit
- name: Python Setup
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Check ldd --version
run: ldd --version
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50 # this is to make sure we obtain the target base commit
- name: Python Setup
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 @@ -20,7 +20,7 @@ jobs:
run: |
echo "Action triggered by ${{ github.event.pull_request.html_url }}"
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50 # this is to make sure we obtain the target base commit
- name: Python Setup
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Check ldd --version
run: ldd --version
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 50 # this is to make sure we obtain the target base commit
- name: Python Setup
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wheels-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
python3 -mpip install wheel
TORCHRL_BUILD_VERSION=0.6.1 python3 setup.py bdist_wheel
- name: Upload wheel for the test-wheel job
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: torchrl-win-${{ matrix.python_version[0] }}.whl
path: dist/torchrl-*.whl
- name: Upload wheel for download
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: torchrl-batch.whl
path: dist/*.whl
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: |
python3 -mpip install numpy pytest pytest-cov codecov unittest-xml-reporting pillow>=4.1.1 scipy av networkx expecttest pyyaml
- name: Download built wheels
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: torchrl-win-${{ matrix.python_version }}.whl
path: wheels
Expand Down

0 comments on commit df4bd97

Please sign in to comment.