@@ -38,15 +38,15 @@ jobs:
3838 test-cpu :
3939 uses : ./.github/workflows/linux_job.yml
4040 with :
41- job-name : " linux-py3.10 -cpu"
41+ job-name : " linux-py3.9 -cpu"
4242 runner : linux.2xlarge
4343 test-infra-repository : ${{ github.repository }}
4444 test-infra-ref : ${{ github.ref }}
4545 submodules : " recursive"
4646 gpu-arch-type : cpu
4747 gpu-arch-version : " "
4848 script : |
49- conda create --yes --quiet -n test python=3.10
49+ conda create --yes --quiet -n test python=3.9
5050 conda activate test
5151 python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cpu --pre torch
5252 # Can import pytorch
@@ -55,50 +55,50 @@ jobs:
5555 uses : ./.github/workflows/linux_job.yml
5656 strategy :
5757 matrix :
58- runner_type : ["linux.g5.4xlarge.nvidia.gpu"]
58+ runner_type : ["linux.4xlarge.nvidia.gpu", "linux. g5.4xlarge.nvidia.gpu"]
5959 with :
60- job-name : " linux-py3.10-cu128 "
60+ job-name : " linux-py3.9-cu121 "
6161 runner : ${{ matrix.runner_type }}
6262 test-infra-repository : ${{ github.repository }}
6363 test-infra-ref : ${{ github.ref }}
6464 submodules : ${{ 'true' }}
6565 gpu-arch-type : cuda
66- gpu-arch-version : " 12.8 "
66+ gpu-arch-version : " 12.1 "
6767 timeout : 60
6868 script : |
6969 nvidia-smi
70- nvcc --version | grep "cuda_12.8 "
71- conda create --yes --quiet -n test python=3.10
70+ nvcc --version | grep "cuda_12.1 "
71+ conda create --yes --quiet -n test python=3.9
7272 conda activate test
73- python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu128 --pre torch
73+ python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu121 --pre torch
7474 # Can import pytorch, cuda is available
7575 python3 -c 'import torch;cuda_avail = torch.cuda.is_available();print("CUDA available: " + str(cuda_avail));assert(cuda_avail)'
7676 python3 -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'
77- python3 -c 'import torch;assert(torch.version.cuda == "12.8 ")'
77+ python3 -c 'import torch;assert(torch.version.cuda == "12.1 ")'
7878 test-gpu-containers :
7979 uses : ./.github/workflows/linux_job.yml
8080 strategy :
8181 matrix :
8282 runner_type : ["linux.aws.a100"]
8383 with :
84- job-name : " linux-py3.10-cu126 -container"
84+ job-name : " linux-py3.9-cu121 -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.6 "
90+ gpu-arch-version : " 12.1 "
9191 timeout : 60
9292 script : |
9393 nvidia-smi
94- nvcc --version | grep "cuda_12.6 "
95- conda create --yes --quiet -n test python=3.10
94+ nvcc --version | grep "cuda_12.1 "
95+ conda create --yes --quiet -n test python=3.9
9696 conda activate test
97- python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu126 --pre torch
97+ python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu121 --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.6 ")'
101+ python3 -c 'import torch;assert(torch.version.cuda == "12.1 ")'
102102 test-docker-image :
103103 uses : ./.github/workflows/linux_job.yml
104104 with :
@@ -180,7 +180,7 @@ jobs:
180180 uses : ./.github/workflows/linux_job.yml
181181 strategy :
182182 matrix :
183- python_version : ["3.10 ", "3.11 ", "3.12 ", "3.13 "]
183+ python_version : ["3.9 ", "3.10 ", "3.11 ", "3.12 "]
184184 with :
185185 runner : linux.2xlarge
186186 test-infra-repository : ${{ github.repository }}
@@ -203,6 +203,6 @@ jobs:
203203 gpu-arch-version : " "
204204 run-with-docker : false
205205 script : |
206- export PYTHON_VERSION="3.10 "
206+ export PYTHON_VERSION="3.9 "
207207 docker run -e PYTHON_VERSION -t -v $PWD:$PWD -w $PWD "${DOCKER_IMAGE}" echo "hello from inside docker"
208208 echo "hello from outside docker"
0 commit comments