Skip to content

Commit

Permalink
Bump transformers version (openvinotoolkit#2627)
Browse files Browse the repository at this point in the history
### Changes

- Bumped **transformers** package version to 4.38.2;
- Updating to 4.39.3 is not possible due to **optimum** incompatibility;
- Bumped **accelerate** package due to issue in **transformers**
package;

### Reason for changes

- Package security issues;

### Related tickets

- N/A

### Tests

- post_training_quantization/355/ - passed
- additional post_training_quantization/358/ - passed

(cherry picked from commit 8cb9457)
  • Loading branch information
KodiaqQ committed Apr 16, 2024
1 parent a2ec458 commit 3ee54f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/post_training/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
torch==2.2.1
--extra-index-url https://download.pytorch.org/whl/cpu
torchvision==0.17.1
transformers==4.36.0
transformers==4.38.2
onnx==1.16.0
onnxruntime==1.17.1
pytest==8.0.2
Expand Down
2 changes: 1 addition & 1 deletion tests/torch/models_hub_test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
torch==2.2.1
--extra-index-url https://download.pytorch.org/whl/cpu
torchvision==0.17.1
transformers==4.36.0
transformers==4.38.2
pytest==8.0.2
timm==0.9.2
scikit-learn==1.2.2
Expand Down
4 changes: 2 additions & 2 deletions tests/torch/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ pytest-dependency>=0.5.1
virtualenv

# Required for search_building_blocks tests
transformers[torch]~=4.36.0
accelerate==0.24.1
transformers[torch]~=4.38.2
accelerate==0.28.0

# Required for movement_sparsity tests
datasets~=2.14.0
Expand Down

0 comments on commit 3ee54f5

Please sign in to comment.