Skip to content

Commit ba01f88

Browse files
committed
Use max1550 runners instead of max1100 to reduce cache consumption
1 parent 66795f8 commit ba01f88

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/auto-update-translator-cid.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ jobs:
4444
CACHE_NUMBER: 1
4545
with:
4646
path: $HOME/.cache/pip
47-
key: pip-3.10-${{ hashFiles('python/pyproject.toml', 'python/setup.py') }}-${{ env.CACHE_NUMBER }}
47+
key: pip-3.9-${{ hashFiles('python/pyproject.toml', 'python/setup.py') }}-${{ env.CACHE_NUMBER }}
4848

49-
- name: Install Python 3.10
49+
- name: Install Python 3.9
5050
if: ${{ env.TARGET_PRID == null }}
5151
uses: actions/setup-python@v5
5252
with:
53-
python-version: '3.10'
53+
python-version: '3.9'
5454

5555
- name: Setup PyTorch
5656
if: ${{ env.TARGET_PRID == null }}

.github/workflows/build-test-python.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474

7575
uses: ./.github/workflows/build-test-reusable.yml
7676
with:
77+
# For this workflow, use max1550 runners to reduce cache consumption on max1100 runners.
78+
device: ${{ matrix.driver == 'rolling' && 'max1550' || 'max1100' }}
7779
driver_version: ${{ matrix.driver }}
7880
runner_label: ${{ inputs.runner_label }}
7981
pytorch_ref: ${{ inputs.pytorch_ref }}

.github/workflows/nightly-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
name: Build
2222
runs-on:
23-
- max1100
23+
- max1550
2424
- rolling
2525
- runner-0.0.21
2626
strategy:

0 commit comments

Comments
 (0)