Skip to content

Commit

Permalink
Pin pip version in update requirements GitHub Action workflow (#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai committed Sep 10, 2024
1 parent e0918ab commit 249db09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: pip
# Workaround a current issue with `pip check`.
# See: https://github.com/stanford-crfm/helm/issues/2855
# TODO(#2855): Remove this
- name: Use old pip
run: pip install --upgrade pip~=24.1.2
- name: Install PyTorch manually
# PyTorch has to be installed manually in a separate step with --no-cache-dir
# to avoid pip getting killed because PyTorch is too big
Expand Down

0 comments on commit 249db09

Please sign in to comment.