Skip to content

Commit 5b46186

Browse files
committed
Another tweak
Signed-off-by: Huy Do <huydhn@gmail.com>
1 parent aac15ad commit 5b46186

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/test_linux_job.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,24 +81,24 @@ jobs:
8181
matrix:
8282
runner_type: ["linux.aws.a100"]
8383
with:
84-
job-name: "linux-py3.10-cu128-container"
84+
job-name: "linux-py3.10-cu126-container"
8585
runner: ${{ matrix.runner_type }}
8686
test-infra-repository: ${{ github.repository }}
8787
test-infra-ref: ${{ github.ref }}
8888
submodules: ${{ 'true' }}
8989
gpu-arch-type: cuda
90-
gpu-arch-version: "12.8"
90+
gpu-arch-version: "12.6"
9191
timeout: 60
9292
script: |
9393
nvidia-smi
94-
nvcc --version | grep "cuda_12.8"
94+
nvcc --version | grep "cuda_12.6"
9595
conda create --yes --quiet -n test python=3.10
9696
conda activate test
97-
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu128 --pre torch
97+
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu126 --pre torch
9898
# Can import pytorch, cuda is available
9999
python3 -c 'import torch;cuda_avail = torch.cuda.is_available();print("CUDA available: " + str(cuda_avail));assert(cuda_avail)'
100100
python3 -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'
101-
python3 -c 'import torch;assert(torch.version.cuda == "12.8")'
101+
python3 -c 'import torch;assert(torch.version.cuda == "12.6")'
102102
test-docker-image:
103103
uses: ./.github/workflows/linux_job.yml
104104
with:

.github/workflows/test_linux_job_v2.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,24 @@ jobs:
3636
matrix:
3737
runner_type: ["linux.g5.4xlarge.nvidia.gpu"]
3838
with:
39-
job-name: "linux-py3.10-cu128"
39+
job-name: "linux-py3.10-cu126"
4040
runner: ${{ matrix.runner_type }}
4141
test-infra-repository: ${{ github.repository }}
4242
test-infra-ref: ${{ github.ref }}
4343
submodules: ${{ 'true' }}
4444
gpu-arch-type: cuda
45-
gpu-arch-version: "12.8"
45+
gpu-arch-version: "12.6"
4646
timeout: 60
4747
script: |
4848
nvidia-smi
49-
nvcc --version | grep "cuda_12.8"
49+
nvcc --version | grep "cuda_12.6"
5050
conda create --yes --quiet -n test python=3.10
5151
conda activate test
52-
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu128 --pre torch
52+
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu126 --pre torch
5353
# Can import pytorch, cuda is available
5454
python3 -c 'import torch;cuda_avail = torch.cuda.is_available();print("CUDA available: " + str(cuda_avail));assert(cuda_avail)'
5555
python3 -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'
56-
python3 -c 'import torch;assert(torch.version.cuda == "12.8")'
56+
python3 -c 'import torch;assert(torch.version.cuda == "12.6")'
5757
test-gpu-containers:
5858
uses: ./.github/workflows/linux_job_v2.yml
5959
permissions:

0 commit comments

Comments
 (0)