-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump transformers version #3272
Merged
ljaljushkin
merged 10 commits into
openvinotoolkit:develop
from
nikita-malininn:nm/bump_transformers
Feb 21, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5fe5106
Bump transformers version
nikita-malininn 0f5f4ab
Bump optimum-intel version as dependency
nikita-malininn bb888e7
Bump optimum as dependency
nikita-malininn 6330134
Update statistics caching test
nikita-malininn 8f346f2
Bump accelerate
nikita-malininn 29ef0be
More test fixes
nikita-malininn bedf993
Update version
nikita-malininn 261182d
Update references
nikita-malininn 75fa0e0
WA for failed tests
ljaljushkin dc54587
Merge pull request #7 from ljaljushkin/nm/bump_transformers
nikita-malininn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
examples/llm_compression/openvino/smollm2_360m_fp8/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
datasets | ||
openvino==2024.6 | ||
optimum-intel[openvino] | ||
transformers | ||
optimum-intel[openvino]>=1.22.0 | ||
transformers>=4.48.0 | ||
onnx==1.17.0 |
4 changes: 2 additions & 2 deletions
4
examples/llm_compression/openvino/tiny_llama/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
transformers | ||
transformers>=4.48.0 | ||
datasets==2.14.7 | ||
openvino==2025.0 | ||
optimum-intel[openvino] | ||
optimum-intel[openvino]>=1.22.0 | ||
onnx==1.17.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,13 @@ pytest-split | |
|
||
librosa==0.10.0 | ||
memory-profiler==0.61.0 | ||
optimum-intel==1.21.0 | ||
optimum==1.23.3 | ||
optimum-intel==1.22.0 | ||
optimum==1.24.0 | ||
scikit-learn>=1.2.2,<=1.5.0 | ||
soundfile==0.12.1 | ||
tensorboard==2.13.0 | ||
tensorflow-io==0.32.0 | ||
timm==0.9.2 | ||
transformers==4.46.3 | ||
transformers==4.48.3 | ||
whowhatbench @ git+https://github.com/openvinotoolkit/[email protected]#subdirectory=tools/who_what_benchmark | ||
datasets==3.1.0 |
968 changes: 491 additions & 477 deletions
968
...ata/experimental/sparsify_activations/dummy_llama_int8_sym_weights_sparse_activations.dot
Large diffs are not rendered by default.
Oops, something went wrong.
848 changes: 431 additions & 417 deletions
848
tests/torch/data/experimental/sparsify_activations/dummy_llama_sparse_activations.dot
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 29 additions & 44 deletions
73
tests/torch/data/reference_graphs/pruning_groups/DistilBERT.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,47 @@ | ||
strict digraph { | ||
0 [color=grey, label="Block: S:1__O:0 | ||
Producers: 7 | ||
Producers: 8 | ||
Consumers: ", style=filled]; | ||
1 [color=grey, label="Block: S:2__O:0 | ||
Producers: 7 | ||
1 [color=red, label="Block: S:2__O:0 | ||
Producers: 8 | ||
Consumers: ", style=filled]; | ||
2 [color=grey, label="Block: S:2__O:0 | ||
Producers: 7,10 | ||
2 [color=red, label="Block: S:1__O:2 | ||
Producers: 8 | ||
Consumers: ", style=filled]; | ||
3 [color=green, label="Block: S:2__O:0 | ||
Producers: 7,10,13 | ||
Consumers: 29", style=filled]; | ||
4 [color=grey, label="Block: S:1__O:2 | ||
Producers: 7 | ||
3 [color=grey, label="Block: S:1__O:0 | ||
Producers: 11 | ||
Consumers: ", style=filled]; | ||
5 [color=green, label="Block: S:1__O:2 | ||
Producers: 7,10 | ||
Consumers: 18", style=filled]; | ||
6 [color=grey, label="Block: S:1__O:0 | ||
Producers: 10 | ||
4 [color=red, label="Block: S:2__O:0 | ||
Producers: 11 | ||
Consumers: ", style=filled]; | ||
7 [color=grey, label="Block: S:2__O:0 | ||
Producers: 10 | ||
5 [color=red, label="Block: S:1__O:2 | ||
Producers: 11 | ||
Consumers: ", style=filled]; | ||
8 [color=grey, label="Block: S:1__O:2 | ||
Producers: 10 | ||
6 [color=grey, label="Block: S:1__O:0 | ||
Producers: 14 | ||
Consumers: ", style=filled]; | ||
9 [color=grey, label="Block: S:1__O:0 | ||
Producers: 13 | ||
7 [color=red, label="Block: S:2__O:0 | ||
Producers: 14 | ||
Consumers: ", style=filled]; | ||
10 [color=grey, label="Block: S:2__O:0 | ||
Producers: 13 | ||
8 [color=red, label="Block: S:1__O:2 | ||
Producers: 14 | ||
Consumers: ", style=filled]; | ||
11 [color=green, label="Block: S:1__O:2 | ||
Producers: 13 | ||
Consumers: 29", style=filled]; | ||
12 [color=red, label="Block: S:1__O:0 | ||
Producers: 29 | ||
9 [color=red, label="Block: S:1__O:0 | ||
Producers: 21 | ||
Consumers: ", style=filled]; | ||
13 [color=green, label="Block: S:1__O:0 | ||
Producers: 32 | ||
Consumers: 34", style=filled]; | ||
14 [color=red, label="Block: S:1__O:0 | ||
Producers: 34 | ||
10 [color=green, label="Block: S:1__O:0 | ||
Producers: 24 | ||
Consumers: 26", style=filled]; | ||
11 [color=red, label="Block: S:1__O:0 | ||
Producers: 26 | ||
Consumers: ", style=filled]; | ||
15 [color=red, label="Block: S:1__O:0 | ||
Producers: 39 | ||
12 [color=red, label="Block: S:1__O:0 | ||
Producers: 31 | ||
Consumers: ", style=filled]; | ||
0 -> 1; | ||
0 -> 4; | ||
1 -> 2; | ||
2 -> 3; | ||
4 -> 5; | ||
0 -> 2; | ||
3 -> 4; | ||
3 -> 5; | ||
6 -> 7; | ||
6 -> 8; | ||
7 -> 2; | ||
8 -> 5; | ||
9 -> 10; | ||
9 -> 11; | ||
10 -> 3; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexanderDokuchaev do we have some tests for torch export outside pre-commit scope?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikita-malininn I found PTQ conformance tests with export:
ImageClassificationTimm
andImageClassificationTorchvision
test cases in https://github.com/openvinotoolkit/nncf/blob/develop/tests/post_training/model_scope.pyIMO, It's worth launching it