Skip to content

Commit 59bd0ab

Browse files
committed
Leave linux_job alone, we will clean it up anyway
Signed-off-by: Huy Do <huydhn@gmail.com>
1 parent 383b557 commit 59bd0ab

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/test_linux_job_v2.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,24 @@ jobs:
6262
matrix:
6363
runner_type: ["linux.aws.a100"]
6464
with:
65-
job-name: "linux-py3.10-cu126-container"
65+
job-name: "linux-py3.9-cu121-container"
6666
runner: ${{ matrix.runner_type }}
6767
test-infra-repository: ${{ github.repository }}
6868
test-infra-ref: ${{ github.ref }}
6969
submodules: ${{ 'true' }}
7070
gpu-arch-type: cuda
71-
gpu-arch-version: "12.6"
71+
gpu-arch-version: "12.1"
7272
timeout: 60
7373
script: |
7474
nvidia-smi
75-
nvcc --version | grep "cuda_12.6"
76-
conda create --yes --quiet -n test python=3.10
75+
nvcc --version | grep "cuda_12.1"
76+
conda create --yes --quiet -n test python=3.9
7777
conda activate test
78-
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu126 --pre torch
78+
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu121 --pre torch
7979
# Can import pytorch, cuda is available
8080
python3 -c 'import torch;cuda_avail = torch.cuda.is_available();print("CUDA available: " + str(cuda_avail));assert(cuda_avail)'
8181
python3 -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'
82-
python3 -c 'import torch;assert(torch.version.cuda == "12.6")'
82+
python3 -c 'import torch;assert(torch.version.cuda == "12.1")'
8383
test-docker-image:
8484
uses: ./.github/workflows/linux_job_v2.yml
8585
permissions:

0 commit comments

Comments
 (0)