Skip to content

Commit 2d02b01

Browse files
author
Vincent Moens
committed
Update
[ghstack-poisoned]
2 parents d953c67 + 944ad04 commit 2d02b01

File tree

9 files changed

+19
-6
lines changed

9 files changed

+19
-6
lines changed

.github/unittest/linux/scripts/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ dependencies:
2020
- h5py
2121
- orjson
2222
- ninja
23+
- numpy<2.0.0

.github/unittest/linux/scripts/setup_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
set -e
99
set -v
1010

11+
apt update -y && apt install git wget gcc -y
1112

1213
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
1314
# Avoid error: "fatal: unsafe repository"

.github/unittest/linux_torchrec/scripts/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ dependencies:
1919
- h5py
2020
- orjson
2121
- ninja
22+
- numpy<2.0.0

.github/unittest/linux_torchrec/scripts/setup_env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
set -e
99

10+
apt update -y && apt install git wget gcc -y
11+
1012
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
1113
# Avoid error: "fatal: unsafe repository"
1214
git config --global --add safe.directory '*'

.github/unittest/rl_linux_optdeps/scripts/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ dependencies:
1717
- scipy
1818
- orjson
1919
- ninja
20+
- numpy<2.0.0

.github/unittest/rl_linux_optdeps/scripts/setup_env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
set -e
99

10+
apt update -y && apt install git wget gcc -y
11+
1012
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
1113
# Avoid error: "fatal: unsafe repository"
1214
apt-get update && apt-get install -y git wget gcc g++

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
python_version: ["3.10"]
26-
cuda_arch_version: ["12.4"]
26+
cuda_arch_version: ["12.8"]
2727
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2828
permissions:
2929
id-token: write

.github/workflows/test-linux.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ jobs:
2323
strategy:
2424
matrix:
2525
python_version: ["3.10"]
26-
cuda_arch_version: ["12.4"]
26+
cuda_arch_version: ["12.8"]
2727
fail-fast: false
2828
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2929
permissions:
3030
id-token: write
3131
contents: read
3232
with:
3333
runner: linux.g5.4xlarge.nvidia.gpu
34+
docker-image: "nvidia/cuda:12.8.0-devel-ubuntu22.04"
3435
repository: pytorch/tensordict
3536
gpu-arch-type: cuda
3637
gpu-arch-version: ${{ matrix.cuda_arch_version }}
@@ -57,14 +58,15 @@ jobs:
5758
test-cpu:
5859
strategy:
5960
matrix:
60-
python_version: ["3.9", "3.10", "3.11", "3.12"]
61+
python_version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
6162
fail-fast: false
6263
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
6364
permissions:
6465
id-token: write
6566
contents: read
6667
with:
6768
runner: linux.12xlarge
69+
docker-image: "nvidia/cuda:12.8.0-devel-ubuntu22.04"
6870
repository: pytorch/tensordict
6971
timeout: 90
7072
script: |
@@ -87,14 +89,15 @@ jobs:
8789
strategy:
8890
matrix:
8991
python_version: ["3.10"]
90-
cuda_arch_version: ["12.4"]
92+
cuda_arch_version: ["12.6"]
9193
fail-fast: false
9294
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
9395
permissions:
9496
id-token: write
9597
contents: read
9698
with:
9799
runner: linux.g5.4xlarge.nvidia.gpu
100+
docker-image: "nvidia/cuda:12.6.0-devel-ubuntu22.04"
98101
repository: pytorch/tensordict
99102
gpu-arch-type: cuda
100103
gpu-arch-version: ${{ matrix.cuda_arch_version }}
@@ -122,14 +125,15 @@ jobs:
122125
test-stable-cpu:
123126
strategy:
124127
matrix:
125-
python_version: ["3.9", "3.12"]
128+
python_version: ["3.9", "3.13"]
126129
fail-fast: false
127130
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
128131
permissions:
129132
id-token: write
130133
contents: read
131134
with:
132135
runner: linux.12xlarge
136+
docker-image: "nvidia/cuda:12.8.0-devel-ubuntu22.04"
133137
repository: pytorch/tensordict
134138
timeout: 90
135139
script: |

.github/workflows/test-rl-gpu.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ jobs:
2323
strategy:
2424
matrix:
2525
python_version: ["3.10"]
26-
cuda_arch_version: ["12.4"]
26+
cuda_arch_version: ["12.8"]
2727
fail-fast: false
2828
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
2929
permissions:
3030
id-token: write
3131
contents: read
3232
with:
3333
runner: linux.g5.4xlarge.nvidia.gpu
34+
docker-image: "nvidia/cuda:12.8.0-devel-ubuntu22.04"
3435
repository: pytorch/tensordict
3536
gpu-arch-type: cuda
3637
gpu-arch-version: ${{ matrix.cuda_arch_version }}

0 commit comments

Comments
 (0)