@@ -53,14 +53,16 @@ jobs:
5353 unittests-brax :
5454 strategy :
5555 matrix :
56- python_version : ["3.9 "]
56+ python_version : ["3.11 "]
5757 cuda_arch_version : ["12.1"]
58+ if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}
5859 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
5960 with :
6061 repository : pytorch/rl
6162 runner : " linux.g5.4xlarge.nvidia.gpu"
6263 gpu-arch-type : cuda
6364 gpu-arch-version : " 11.7"
65+ docker-image : " pytorch/manylinux-cuda124"
6466 timeout : 120
6567 script : |
6668 if [[ "${{ github.ref }}" =~ release/* ]]; then
7375
7476 set -euo pipefail
7577
76- export PYTHON_VERSION="3.9 "
78+ export PYTHON_VERSION="3.11 "
7779 export CU_VERSION="12.1"
7880 export TAR_OPTIONS="--no-same-owner"
7981 export UPLOAD_CHANNEL="nightly"
@@ -123,7 +125,7 @@ jobs:
123125 matrix :
124126 python_version : ["3.9"]
125127 cuda_arch_version : ["12.1"]
126- if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Data ') }}
128+ if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments ') }}
127129 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
128130 with :
129131 repository : pytorch/rl
@@ -224,12 +226,14 @@ jobs:
224226 matrix :
225227 python_version : ["3.9"]
226228 cuda_arch_version : ["12.1"]
229+ if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}
227230 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
228231 with :
229232 repository : pytorch/rl
230233 runner : " linux.g5.4xlarge.nvidia.gpu"
231234 gpu-arch-type : cuda
232235 gpu-arch-version : " 11.7"
236+ docker-image : " pytorch/manylinux-cuda124"
233237 timeout : 120
234238 script : |
235239 if [[ "${{ github.ref }}" =~ release/* ]]; then
@@ -324,12 +328,14 @@ jobs:
324328 bash .github/unittest/linux_libs/scripts_openx/post_process.sh
325329
326330 unittests-pettingzoo :
331+ if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}
327332 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
328333 with :
329334 repository : pytorch/rl
330335 runner : " linux.g5.4xlarge.nvidia.gpu"
331336 gpu-arch-type : cuda
332337 gpu-arch-version : " 11.7"
338+ docker-image : " pytorch/manylinux-cuda124"
333339 timeout : 120
334340 script : |
335341 if [[ "${{ github.ref }}" =~ release/* ]]; then
@@ -360,6 +366,7 @@ jobs:
360366 matrix :
361367 python_version : ["3.9"]
362368 cuda_arch_version : ["12.1"]
369+ if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}
363370 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
364371 with :
365372 repository : pytorch/rl
@@ -468,6 +475,7 @@ jobs:
468475 runner : " linux.g5.4xlarge.nvidia.gpu"
469476 gpu-arch-type : cuda
470477 gpu-arch-version : " 11.7"
478+ docker-image : " pytorch/manylinux-cuda124"
471479 timeout : 120
472480 script : |
473481 if [[ "${{ github.ref }}" =~ release/* ]]; then
@@ -532,12 +540,14 @@ jobs:
532540 matrix :
533541 python_version : ["3.9"]
534542 cuda_arch_version : ["12.1"]
543+ if : ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Environments') }}
535544 uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
536545 with :
537546 repository : pytorch/rl
538547 runner : " linux.g5.4xlarge.nvidia.gpu"
539548 gpu-arch-type : cuda
540549 gpu-arch-version : " 11.7"
550+ docker-image : " pytorch/manylinux-cuda124"
541551 timeout : 120
542552 script : |
543553 if [[ "${{ github.ref }}" =~ release/* ]]; then
0 commit comments