Skip to content

Commit ad8ccf0

Browse files
committed
Update job from 3.9 to 3.10
1 parent a83c8e7 commit ad8ccf0

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/actions/setup-binary-builds/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ runs:
9292
uses: conda-incubator/setup-miniconda@v3.1.1
9393
with:
9494
miniconda-version: "latest"
95-
python-version: 3.9
95+
python-version: "3.10"
9696
- name: Clean conda environment
9797
shell: bash -l {0}
9898
run: |
@@ -113,7 +113,7 @@ runs:
113113
conda create \
114114
--yes --quiet \
115115
--prefix "${CONDA_ENV}" \
116-
"python=3.9" pip
116+
"python=3.10" pip
117117
CONDA_ENV="${CONDA_ENV}"
118118
CONDA_RUN="conda run --no-capture-output -p ${CONDA_ENV}"
119119
${CONDA_RUN} python -m pip install ${GITHUB_WORKSPACE}/test-infra/tools/pkg-helpers

.github/workflows/test_linux_job.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
matrix:
4242
runner_type: ["linux.g5.4xlarge.nvidia.gpu"]
4343
with:
44-
job-name: "linux-py3.9-cu121"
44+
job-name: "linux-py3.10-cu121"
4545
runner: ${{ matrix.runner_type }}
4646
test-infra-repository: ${{ github.repository }}
4747
test-infra-ref: ${{ github.ref }}
@@ -52,7 +52,7 @@ jobs:
5252
script: |
5353
nvidia-smi
5454
nvcc --version | grep "cuda_12.1"
55-
conda create --yes --quiet -n test python=3.9
55+
conda create --yes --quiet -n test python=3.10
5656
conda activate test
5757
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu121 --pre torch
5858
# Can import pytorch, cuda is available
@@ -65,7 +65,7 @@ jobs:
6565
matrix:
6666
runner_type: ["linux.aws.a100"]
6767
with:
68-
job-name: "linux-py3.9-cu121-container"
68+
job-name: "linux-py3.10-cu121-container"
6969
runner: ${{ matrix.runner_type }}
7070
test-infra-repository: ${{ github.repository }}
7171
test-infra-ref: ${{ github.ref }}
@@ -76,7 +76,7 @@ jobs:
7676
script: |
7777
nvidia-smi
7878
nvcc --version | grep "cuda_12.1"
79-
conda create --yes --quiet -n test python=3.9
79+
conda create --yes --quiet -n test python=3.10
8080
conda activate test
8181
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu121 --pre torch
8282
# Can import pytorch, cuda is available
@@ -164,7 +164,7 @@ jobs:
164164
uses: ./.github/workflows/linux_job.yml
165165
strategy:
166166
matrix:
167-
python_version: ["3.9", "3.10", "3.11", "3.12"]
167+
python_version: ["3.10", "3.11", "3.12"]
168168
with:
169169
runner: linux.2xlarge
170170
test-infra-repository: ${{ github.repository }}

.github/workflows/test_linux_job_v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
matrix:
6464
runner_type: ["linux.aws.a100"]
6565
with:
66-
job-name: "linux-py3.9-cu121-container"
66+
job-name: "linux-py3.10-cu121-container"
6767
runner: ${{ matrix.runner_type }}
6868
test-infra-repository: ${{ github.repository }}
6969
test-infra-ref: ${{ github.ref }}
@@ -74,7 +74,7 @@ jobs:
7474
script: |
7575
nvidia-smi
7676
nvcc --version | grep "cuda_12.1"
77-
conda create --yes --quiet -n test python=3.9
77+
conda create --yes --quiet -n test python=3.10
7878
conda activate test
7979
python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cu121 --pre torch
8080
# Can import pytorch, cuda is available

.github/workflows/test_windows_job.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
test-infra-repository: ${{ github.repository }}
1616
test-infra-ref: ${{ github.ref }}
1717
submodules: "recursive"
18-
job-name: "win-py3.9-cpu"
18+
job-name: "win-py3.10-cpu"
1919
script: |
20-
conda create --yes --quiet -n test python=3.9
20+
conda create --yes --quiet -n test python=3.10
2121
conda activate test
2222
python -m pip install --index-url https://download.pytorch.org/whl/nightly/cpu --pre torch
2323
# Can import pytorch
@@ -29,10 +29,10 @@ jobs:
2929
test-infra-repository: ${{ github.repository }}
3030
test-infra-ref: ${{ github.ref }}
3131
submodules: ${{ 'true' }}
32-
job-name: "win-py3.9-cu118"
32+
job-name: "win-py3.10-cu118"
3333
timeout: 60
3434
script: |
35-
conda create --yes --quiet -n test python=3.9
35+
conda create --yes --quiet -n test python=3.10
3636
conda activate test
3737
python -m pip install --index-url=https://download.pytorch.org/whl/nightly/cu118 --pre torch
3838
# Can import pytorch, cuda is available

0 commit comments

Comments
 (0)