Skip to content

Commit

Permalink
Remove torch pinning from CI (related issue is closed)
Browse files Browse the repository at this point in the history
  • Loading branch information
loostrum committed Oct 3, 2024
1 parent a22069f commit 0bb0486
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/actions/install-python-and-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ runs:
python -m pip install --upgrade pip setuptools wheel
# only necessary on linux to avoid bloated installs
# pining the version of torch is temporary, see see #829
- name: Install tensorflow/pytorch cpu version
if: runner.os == 'Linux' && steps.cache-python-env.outputs.cache-hit != 'true'
shell: bash {0}
run: |
python -m pip install torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu
python -m pip install --index-url https://download.pytorch.org/whl/cpu
python -m pip install tensorflow-cpu
# temporary: explicitly install numpy to avoid version issues on macOS, see #861
Expand Down

0 comments on commit 0bb0486

Please sign in to comment.