Skip to content

Commit b4d13c7

Browse files
raytomatochanglan
authored andcommitted
Fix public github CI for axlearn.
GitOrigin-RevId: de8a20fc42fa52408ba10897e7bb074a028e32f2
1 parent 59db823 commit b4d13c7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
1515
with:
16-
python-version: '3.10'
16+
python-version: '3.12'
1717
cache: 'pip'
1818
- run: pip install --upgrade pip
19+
- run: pip install uv
20+
- run: uv venv
21+
- run: |
22+
echo ".venv/bin" >> $GITHUB_PATH
23+
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
1924
# TODO(markblee): Remove gcp,vertexai_tensorboard from CI. (needed by pytype)
20-
- run: pip install '.[core,audio,orbax,dev,gcp,vertexai_tensorboard,open_api]'
25+
- run: uv pip install '.[core,audio,orbax,dev,gcp,vertexai_tensorboard,open_api]'
2126
# pylint uses approx 12GB of memory during this run, look into split to decrease?
2227
- run: |
2328
# Start memory monitor as a background process.

0 commit comments

Comments
 (0)