Skip to content

Commit 065647c

Browse files
committed
CUDA 12.4 update as default for pypi and gpu ci
1 parent 5319d87 commit 065647c

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

.github/workflows/release_build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ jobs:
1818
- os: linux.g5.12xlarge.nvidia.gpu
1919
python-version: 3.9
2020
python-tag: "py39"
21-
cuda-tag: "cu121"
21+
cuda-tag: "cu124"
2222
- os: linux.g5.12xlarge.nvidia.gpu
2323
python-version: '3.10'
2424
python-tag: "py310"
25-
cuda-tag: "cu121"
25+
cuda-tag: "cu124"
2626
- os: linux.g5.12xlarge.nvidia.gpu
2727
python-version: '3.11'
2828
python-tag: "py311"
29-
cuda-tag: "cu121"
29+
cuda-tag: "cu124"
3030
- os: linux.g5.12xlarge.nvidia.gpu
3131
python-version: '3.12'
3232
python-tag: "py312"
33-
cuda-tag: "cu121"
33+
cuda-tag: "cu124"
3434
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
3535
with:
3636
runner: ${{ matrix.os }}
@@ -41,9 +41,9 @@ jobs:
4141
conda info
4242
python --version
4343
conda run -n build_binary python --version
44-
conda run -n build_binary pip install torch --index-url https://download.pytorch.org/whl/test/cu121
44+
conda run -n build_binary pip install torch
4545
conda run -n build_binary pip install numpy
46-
conda run -n build_binary pip install fbgemm-gpu --index-url https://download.pytorch.org/whl/test/cu121
46+
conda run -n build_binary pip install fbgemm-gpu
4747
conda run -n build_binary python -m pip install -r requirements.txt
4848
conda run -n build_binary python -c "import torch.distributed"
4949
echo "torch.distributed succeeded"

.github/workflows/unittest_ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
python-version: 3.9
2424
python-tag: "py39"
2525
cuda-tag: "cu121"
26+
- os: linux.g5.12xlarge.nvidia.gpu
27+
python-version: 3.9
28+
python-tag: "py39"
29+
cuda-tag: "cu124"
2630
- os: linux.g5.12xlarge.nvidia.gpu
2731
python-version: '3.10'
2832
python-tag: "py310"
@@ -31,6 +35,10 @@ jobs:
3135
python-version: '3.10'
3236
python-tag: "py310"
3337
cuda-tag: "cu121"
38+
- os: linux.g5.12xlarge.nvidia.gpu
39+
python-version: '3.10'
40+
python-tag: "py310"
41+
cuda-tag: "cu124"
3442
- os: linux.g5.12xlarge.nvidia.gpu
3543
python-version: '3.11'
3644
python-tag: "py311"
@@ -39,6 +47,10 @@ jobs:
3947
python-version: '3.11'
4048
python-tag: "py311"
4149
cuda-tag: "cu121"
50+
- os: linux.g5.12xlarge.nvidia.gpu
51+
python-version: '3.11'
52+
python-tag: "py311"
53+
cuda-tag: "cu124"
4254
- os: linux.g5.12xlarge.nvidia.gpu
4355
python-version: '3.12'
4456
python-tag: "py312"
@@ -47,6 +59,10 @@ jobs:
4759
python-version: '3.12'
4860
python-tag: "py312"
4961
cuda-tag: "cu121"
62+
- os: linux.g5.12xlarge.nvidia.gpu
63+
python-version: '3.12'
64+
python-tag: "py312"
65+
cuda-tag: "cu124"
5066
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
5167
with:
5268
runner: ${{ matrix.os }}

0 commit comments

Comments
 (0)