Skip to content

Commit

Permalink
pin datasets in examples requirements (#850)
Browse files Browse the repository at this point in the history
* pin datasets in examples requirements

* fix notebook test
  • Loading branch information
echarlaix authored Jul 29, 2024
1 parent 0da4f14 commit 39d6638
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_openvino_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
# ffmpeg, torchaudio and pillow are required for image classification and audio classification pipelines
sudo apt-get install ffmpeg
pip install torch torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
pip install ".[tests, openvino]" nbval
pip install -r notebooks/openvino/requirements.txt
pip install .[tests,openvino] nbval
- run: free -h
- run: lscpu
Expand Down
4 changes: 2 additions & 2 deletions examples/openvino/audio-classification/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
datasets>=1.14.0
datasets>=1.14.0,<2.20.0
evaluate
librosa
torchaudio
accelerate
accelerate
2 changes: 1 addition & 1 deletion examples/openvino/image-classification/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
datasets >= 1.8.0
datasets>=1.14.0,<2.20.0
torch >= 1.9.0
torchvision>=0.6.0
evaluate
Expand Down
2 changes: 1 addition & 1 deletion examples/openvino/question-answering/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
datasets >= 1.8.0
datasets>=1.14.0,<2.20.0
torch >= 1.9.0
evaluate
accelerate
2 changes: 1 addition & 1 deletion examples/openvino/text-classification/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
datasets >= 1.8.0
datasets>=1.14.0,<2.20.0
sentencepiece != 0.1.92
scipy
scikit-learn
Expand Down

0 comments on commit 39d6638

Please sign in to comment.