Skip to content

Commit 01a6538

Browse files
authored
migrate CI to python 3.12 and lint to 3.10 to match core CI (#180)
stack-info: PR: #180, branch: xmfan/stack/11
1 parent cc8c6c4 commit 01a6538

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Python
1919
uses: actions/setup-python@v2
2020
with:
21-
python-version: '3.9'
21+
python-version: '3.10'
2222
- name: Install deps
2323
run: |
2424
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu

.github/workflows/test_cuda.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313

1414
jobs:
1515
test-cuda:
16-
name: Test CUDA (cuda12.6-py3.10)
16+
name: Test CUDA (cuda12.6-py3.12)
1717
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1818
strategy:
1919
fail-fast: true
@@ -30,6 +30,7 @@ jobs:
3030
gpu-arch-type: ${{ matrix.gpu-arch-type }}
3131
gpu-arch-version: ${{ matrix.gpu-arch-version }}
3232
submodules: recursive
33+
python-version: "3.12"
3334
script: |
3435
pip install --quiet -r requirements-test.txt
3536
# For some reason the spec above isnt working

.github/workflows/test_torchtitan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313

1414
jobs:
1515
test-torchtitan:
16-
name: Test TorchTitan Integration (cuda12.6-py3.10)
16+
name: Test TorchTitan Integration (cuda12.6-py3.12)
1717
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1818
strategy:
1919
fail-fast: true
@@ -30,6 +30,7 @@ jobs:
3030
gpu-arch-type: ${{ matrix.gpu-arch-type }}
3131
gpu-arch-version: ${{ matrix.gpu-arch-version }}
3232
submodules: recursive
33+
python-version: "3.12"
3334
script: |
3435
pip install --quiet -r requirements-test.txt
3536
# For some reason the spec above isnt working

0 commit comments

Comments
 (0)