-
Notifications
You must be signed in to change notification settings - Fork 205
Transformers v5 #1589
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
base: main
Are you sure you want to change the base?
Transformers v5 #1589
Changes from all commits
53d19b9
5205434
e8feb0c
55e4b3d
bb54f64
71aa34e
0954015
1ba9789
f158656
9345143
b290ae3
a4d1dc0
ac953ba
8001884
5f2a007
ad477fe
42e98b8
4ee3f51
64c2022
8204264
b319d19
42300e4
2a76102
f38703a
46144d1
2d3c734
b6dcefd
ea24727
07ff06b
1270db0
eb045ce
f2f352d
1db8fb9
0c72bc5
08ebe2b
33f8c24
9809e7e
621e2bf
30f6285
6cd7b1c
4f2970b
85a0418
08d1480
7bc714c
8b374c7
a4cfc55
5bab458
daf7ec8
a45f5ab
342dc59
2a28fe7
b9a3cbe
1687e35
961c1d3
e8e6c18
c6640d6
1e0c06f
b4910fc
e19da56
fde5ac9
0d3b656
b8797e3
9dfb666
3386c64
e5fc9ef
bc4a84d
0e41943
bc9665d
3188b09
fceb151
5133a4a
0c4a89c
d8a4829
e477044
e0b2b46
50fe590
e9ff083
49f020f
31e8c44
4e43429
3565637
2d1929d
a8b08a4
83ae846
cad085b
5dbe3c8
b7ce98b
d692d44
93679e9
b2ef418
3fb0172
3d2286c
46fa8a7
20bb596
a091dad
847c98d
4bc2768
6799e93
a2cd48e
850c1ce
af4a605
4da53e8
5a74781
e634d77
f89d0de
6070155
26d5c44
9d84f3a
4b5f83d
14e1b52
0dbe96c
af3fba3
546127b
3eeeb4d
2b61bd3
bbe65bb
7ba6fd1
928fb50
ef320b3
8beb8d8
e4eba92
dc2823d
5967be3
699b0b7
389f818
ffe2d27
c649bdf
4c74aeb
c7184e1
7b0806e
50e30b7
e7878e1
467dcad
c14f2e5
69c16bf
3f8dfb4
975da72
31989eb
7adb810
6a93224
c8e9488
28e2e24
f061f2c
8820fb3
290b7b3
64223a8
f40bcb3
86767c7
c523617
d49a895
6f608fd
02a2ccd
710c5bc
64dc198
d3bdb29
ea761a7
5e5bdfc
a33065e
16c2c94
bf51329
4a27862
4a8644d
9881475
2d764ef
e47b7bd
f901a66
7879da8
d5f2244
43ed617
87cc3f9
96d47b0
db80561
3e5a2b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ jobs: | |
| "*diffusion*", | ||
| "*quantization*", | ||
| ] | ||
| transformers-version: ["4.45.0", "latest"] | ||
| transformers-version: ["4.45.0", "4.57.6", "latest"] | ||
|
|
||
| runs-on: ubuntu-22.04 | ||
|
|
||
|
|
@@ -54,14 +54,24 @@ jobs: | |
| - name: Install dependencies | ||
| run: | | ||
| pip install --upgrade pip uv | ||
| uv pip install .[diffusers,tests] | ||
| uv pip install .[tests] librosa diffusers | ||
|
|
||
| - if: ${{ matrix.test-pattern == '*modeling*' || matrix.test-pattern == '*quantization*' }} | ||
| name: Install OpenVINO | ||
| run: | | ||
| uv pip install openvino==2025.3.0 openvino-tokenizers==2025.3.0 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this for some specific model failing that's failing with latest OV ?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes this was added for the modeling tests that are currently failing with v2025.4 https://github.com/huggingface/optimum-intel/actions/runs/21860303394/job/63087382821, also removed the constraint of the openvino version https://github.com/huggingface/optimum-intel/pull/1589/changes#r2813603720 |
||
|
|
||
| - if: ${{ matrix.transformers-version != 'latest' }} | ||
| name: Install transformers | ||
| run: | | ||
| uv pip install transformers==${{ matrix.transformers-version }} | ||
|
|
||
| - if: ${{ matrix.transformers-version == '4.45.0' }} | ||
| name: Install specific dependencies and versions required for older transformers | ||
| run: | | ||
| uv pip install transformers==${{ matrix.transformers-version }} accelerate==0.* peft==0.13.* diffusers==0.32.* transformers_stream_generator | ||
|
|
||
| - if: ${{ matrix.transformers-version == 'latest' && matrix.test-pattern == '*decoder*'}} | ||
| - if: ${{ matrix.transformers-version != '4.45.0' && matrix.test-pattern == '*decoder*'}} | ||
| name: Install auto-gptq, autoawq | ||
| run: | | ||
| uv pip install auto-gptq "autoawq<0.2.8" | ||
|
|
||
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.
excluding openclip test for now : issue happens when loading tokenizer since v5 when offline mode (previously checking
tokenizer_config.jsonand now looking forconfig.jsonwhich doesn't exist in https://huggingface.co/optimum-intel-internal-testing/tiny-open-clip-model)optimum-intel/tests/openvino/test_modeling.py
Line 1604 in 2c48d64