-
Notifications
You must be signed in to change notification settings - Fork 224
[OpenVINO] Support Qwen3.5, Qwen3.5-MoE and Qwen3.6 #1689
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
Open
rkazants
wants to merge
203
commits into
huggingface:main
Choose a base branch
from
rkazants:support_qwen3_5
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 199 commits
Commits
Show all changes
203 commits
Select commit
Hold shift + click to select a range
53d19b9
Transformers v5
echarlaix 5205434
fix loading for llava_next_video
echarlaix e8feb0c
Remove deprecated transformers.onnx
echarlaix 55e4b3d
Merge branch 'main' into transformers-v5
echarlaix bb54f64
remove deprecated transformers.onnx from tests
echarlaix 71aa34e
remove huggingface_hub deprecated
echarlaix 0954015
relative to absolute import
echarlaix 1ba9789
update workflow to v5
echarlaix f158656
remove redundant
echarlaix 9345143
update loading given transformers version
echarlaix b290ae3
remove deprecated AutoModelForVision2Seq
echarlaix a4d1dc0
update workflow
echarlaix ac953ba
style
echarlaix 8001884
update setup
echarlaix 5f2a007
deprecated is_offline_mode
echarlaix ad477fe
remove incompatible neural-compressor installation
echarlaix 42e98b8
remove documentation reference
echarlaix 4ee3f51
add install transformers step
echarlaix 64c2022
Merge branch 'main' into transformers-v5
echarlaix 8204264
transformers v5
echarlaix b319d19
install diffusers from source for v5
echarlaix 42300e4
remove deprecated CLIPFeatureExtractor
echarlaix 2a76102
openvino 2025.3.0
echarlaix f38703a
add ov cache classes
echarlaix 46144d1
merge main in branch
echarlaix 2d3c734
openvino nightly for modeling tests
echarlaix b6dcefd
openvino 2025.3 for modeling tests
echarlaix ea24727
stop moving misplaced parameters from config to generation_config
echarlaix 07ff06b
fix transformers version for doc building
echarlaix 1270db0
fix transformers version for doc building
echarlaix eb045ce
Use model.get_image_features
echarlaix f2f352d
Use model.get_image_features
echarlaix 1db8fb9
only add codegen remote code models when transformers < v5
echarlaix 0c72bc5
Fix pipelines
echarlaix 08ebe2b
fix pipelines
echarlaix 33f8c24
replace with OV cache
echarlaix 9809e7e
style
echarlaix 621e2bf
Use AutoProcessor instead of AutoFeatureExtractor
echarlaix 30f6285
remove afmoe from models to be tested list
echarlaix 6cd7b1c
fix pipeline saving tests
echarlaix 4f2970b
merge main in branch
echarlaix 85a0418
fix seq2seq pipeline tests loading
echarlaix 08d1480
disable pipelines tests when transformers >= v5 since summarization/…
echarlaix 7bc714c
fix MixtralModelPatcher
echarlaix 8b374c7
fix moe patching
echarlaix a4cfc55
gptj fix
echarlaix 5bab458
fix granitemoehybrid patcher
echarlaix daf7ec8
typo
echarlaix a45f5ab
add exaone max_transformers_version as incompatible with v5
echarlaix 342dc59
add decilm max_transformers_version as incompatible with v5
echarlaix 2a28fe7
fix llama4 patcher
echarlaix b9a3cbe
make OV DynamicCache backward compatible
echarlaix 1687e35
remove incompatible models aquila2 orion internlm2
echarlaix 961c1d3
add jais max_transformers_version as incompatible with v5
echarlaix e8e6c18
dbrx
echarlaix c6640d6
set float32 dtype
echarlaix 1e0c06f
baichuan2 not compatible with v5
echarlaix b4910fc
gpt oss set experts_implementation batched mm
echarlaix e19da56
bitnet
echarlaix fde5ac9
qwenvl
echarlaix 0d3b656
maira2 remote code
echarlaix b8797e3
gemma3 and got_ocr2
echarlaix 9dfb666
llava next
echarlaix 3386c64
llava next video
echarlaix e5fc9ef
merge main in branch
echarlaix bc4a84d
use ONNXCache
echarlaix 0e41943
style
echarlaix bc9665d
fix seq2seq stateless export
echarlaix 3188b09
merge main in branch
echarlaix fceb151
cache depending on transformers version
echarlaix 5133a4a
pix2struct patcher
echarlaix 0c4a89c
fix
echarlaix d8a4829
remove internvl_chat, minicpmv in tests
echarlaix e477044
set max transformers version for internvl_chat minicpmv
echarlaix e0b2b46
style
echarlaix 50fe590
fix textual inversion
echarlaix e9ff083
add back inc
echarlaix 49f020f
style
echarlaix 31e8c44
skip text2text generation pipeline when >= v5
echarlaix 4e43429
fix perceiver vision preprocessor loading
echarlaix 3565637
fix question answering pipeline
echarlaix 2d1929d
only install diffusers when compatible
echarlaix a8b08a4
fix diffusers mapping
echarlaix 83ae846
style
echarlaix cad085b
update diffusers extra
echarlaix 5dbe3c8
add transformers version workflow
echarlaix b7ce98b
set transformers 4.57.6 for tests
echarlaix d692d44
batch_encode_plus was deprecated in v5
echarlaix 93679e9
fix sam
echarlaix b2ef418
install librosa for tests
echarlaix 3fb0172
rename OVDynamicCache
echarlaix 3d2286c
qwenvl3 fix
echarlaix 46fa8a7
fix qwen2vl
echarlaix 20bb596
github workflow librosa
echarlaix a091dad
Update MAX_TRANSFORMERS_VERSION for incompatible models
echarlaix 847c98d
style
echarlaix 4bc2768
pkv fix
echarlaix 6799e93
transformers-v5 branch
echarlaix a2cd48e
use_model_defaults arg was deprecated in v5
echarlaix 850c1ce
style
echarlaix af4a605
baichuan remote code models incompatible with v5
echarlaix 4da53e8
remove tests for modelsf for models that needs fixes
echarlaix 5a74781
fix decoder tests untested_architectures
echarlaix e634d77
fix untested architecture
echarlaix f89d0de
fix pkv patching
echarlaix 6070155
fix test
echarlaix 26d5c44
fix expcted int8 tests
echarlaix 9d84f3a
tests transformers v5
echarlaix 4b5f83d
pix2struct
echarlaix 14e1b52
fix num expected int8
echarlaix 0dbe96c
use_model_defaults deprecated in v5
echarlaix af3fba3
rename
echarlaix 546127b
style
echarlaix 3eeeb4d
install diffusers from source for v5
echarlaix 2b61bd3
qwen2vl
echarlaix bbe65bb
remove tests for v5
echarlaix 7ba6fd1
disable tests for transformers v5
echarlaix 928fb50
remove non needed
echarlaix ef320b3
disable tests
echarlaix 8beb8d8
fix
echarlaix e4eba92
add stable diffusion 3 tests when diffusers compatible with v5
echarlaix dc2823d
use xlm-roberta with max_position_embeddings 514
echarlaix 5967be3
add missing import
echarlaix 699b0b7
granitemoe fix
echarlaix 389f818
filtered test
echarlaix ffe2d27
add back granitemoe model support
echarlaix c649bdf
udpate setup
echarlaix 4c74aeb
update workflows
echarlaix c7184e1
update setup
echarlaix 7b0806e
fix
echarlaix 50e30b7
update setup
echarlaix e7878e1
remove diffusers
echarlaix 467dcad
fix offline workflow
echarlaix c14f2e5
exclude openclip from offline tests
echarlaix 69c16bf
workflow slow
echarlaix 3f8dfb4
fix question answering pipeline
echarlaix 975da72
encode_plus deprecated
echarlaix 31989eb
automatic-speech pipeline for whisper incompatible with v5
echarlaix 7adb810
style
echarlaix 6a93224
image-to-text pipeline deprecated
echarlaix c8e9488
update MAX_TRANSFORMERS_VERSION for gemma3 exaone4 and llama4
echarlaix 28e2e24
remove from test when not supported
echarlaix f061f2c
decoder tests
echarlaix 8820fb3
test filtered architectures update with exaone4
echarlaix 290b7b3
change gptoss model
echarlaix 64223a8
style
echarlaix f40bcb3
set num beam to 5
echarlaix 86767c7
add llava support for v5
echarlaix c523617
maira
echarlaix d49a895
extend tests disabled for marian for openvino v2026
echarlaix 6f608fd
style
echarlaix 02a2ccd
style
echarlaix 710c5bc
include openvino 2026
echarlaix 64dc198
add gemma3 text
echarlaix d3bdb29
llava tests
echarlaix ea761a7
exclude marian for transformers v5 or higher
echarlaix 5e5bdfc
merge main in branch
echarlaix a33065e
fix gemma3
echarlaix 16c2c94
merge main in branch
echarlaix bf51329
add comment
echarlaix 4a27862
replace gpt_oss_mxfp4 test to gpt_oss for v5
echarlaix 4a8644d
include Qwen3VLOpenVINOConfig min version
echarlaix 9881475
add phi4_multimodal for transformers < v5
echarlaix 2d764ef
set dtype for beam_search tests for gemma3 text model
echarlaix 8574954
Add _ov_ops.py with RecurrentAttentionCellOp conversion rule
Copilot 050d14f
Add initial Qwen3.5 model support with VLM and hybrid text model
Copilot 4cbb25e
Fix Qwen3.5 model patcher and config for VLM text embeddings access
Copilot b660200
Fix comment grammar in test_decoder.py
Copilot e47b7bd
Merge branch 'main' into transformers-v5
echarlaix f901a66
diffusers latest release now compatible with transformers v5
echarlaix 7879da8
set qwen3_next max transformers version
echarlaix d5f2244
Fix doc building
echarlaix 43ed617
add qwen3_next to list of untested architectures
echarlaix 87cc3f9
comment for zamba2
echarlaix 07d943d
Use Qwen3VLOpenVINOConfig
rkazants 9a91793
Merge remote-tracking branch 'upstream/transformers-v5' into add-supp…
rkazants d8864c4
Remove redundant functions
rkazants 96d47b0
Fix eagle3 compatibility with v5
echarlaix db80561
set dtype in tests when loading sd3 model
echarlaix 3e5a2b2
trigger tests for transformers v5.3
echarlaix 10add8c
update setup
echarlaix 501b523
update setup
echarlaix 15548fc
update setup
echarlaix 7907878
fix bf16 model export
echarlaix c026dd9
question answering pipeline deprecated in v5.3
echarlaix 61d85b3
ix mamba expected int8
echarlaix 55c0d46
Fix _DEFAULT_IGNORED_SCOPE_CONFIGS for __make_16bit_traceable patched…
echarlaix 2f38fd8
add test to ensure dtype
echarlaix c925a79
style
echarlaix 057ce12
Merge remote-tracking branch 'upstream/transformers-v5' into support_…
rkazants 934b32e
Correct patching for vlm
rkazants bf1f377
check openvino model expected dtype in test_export_dtype
echarlaix e1f8c28
Fix bf16 patching
rkazants 5033df2
fix qwen3vl vision embeddings pos
echarlaix ea94354
Merge remote-tracking branch 'upstream/transformers-v5' into support_…
rkazants 4602e00
Support Qwen3.5-MoE
rkazants cbe127e
Add position_ids input and its preparation for inference
rkazants 8eef963
Merge remote-tracking branch 'upstream/main' into support_qwen3_5
rkazants c7a19db
Apply suggestion from @rkazants
rkazants c036d9c
Apply suggestion from @rkazants
rkazants 7b63cd3
Apply suggestion from @rkazants
rkazants f7276ce
Apply suggestions from code review
rkazants c656558
Apply code formatting
rkazants 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
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.