Skip to content

Commit

Permalink
Fix torchvision to be compatible with torch version in CI (huggingfac…
Browse files Browse the repository at this point in the history
…e#2982)

* skip test due to torchvision issue

* Revert "skip test due to torchvision issue"

This reverts commit b12b6b4.

* change min version

* test upgrade

* exact version

* update

* add back
  • Loading branch information
SunMarc authored Jul 31, 2024
1 parent 32f368e commit a14260c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
if [[ ${{ matrix.test-kind }} = test_prod ]]; then pip install -e .[test_prod]; fi
if [[ ${{ matrix.test-kind }} != test_prod ]]; then pip install -e .[testing,test_trackers]; fi
if [[ ${{ matrix.test-kind }} = test_rest ]]; then pip uninstall comet_ml -y; fi
if [[ ${{ matrix.pytorch-version }} = minimum ]]; then pip install torch==2.3.1; fi
if [[ ${{ matrix.pytorch-version }} = minimum ]]; then pip install torchvision==0.18.1 torch==2.3.1; fi
pip install pytest-reportlog tabulate setuptools
- name: Show installed libraries
Expand Down

0 comments on commit a14260c

Please sign in to comment.