-
Notifications
You must be signed in to change notification settings - Fork 20.6k
openvino: OV 2026.2, context-shift, Q5_1 support, gemma4 dense/embedding, and -fa off #24503
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
Merged
Merged
Changes from 127 commits
Commits
Show all changes
129 commits
Select commit
Hold shift + click to select a range
4bc1eb1
Add interface is_model_splitted() to check the c-graph is splited or not
zhaixuejun1993 c49ec28
Infer and propagate dynamic-dimension indices for all tensors in the …
zhaixuejun1993 76eb69e
Only do this for fallback sub graph
zhaixuejun1993 7e6caef
Move dynamic dims compute in graph missmatch
zhaixuejun1993 d306b0b
ggml-openvino: fix tensor data handling for PERMUTE/VIEW ops in split…
zhaixuejun1993 01088c2
ggml-openvino:add comments
zhaixuejun1993 126d758
ggml-openvino: override VIEW op_case to 0 for split model inputs
zhaixuejun1993 32f9cb7
openvino backend: Handle unsupported VIEW shape-mismatch in OpenVINO …
zhaixuejun1993 f812f78
Enable additional mul_mat tests and add tensor data saving function (…
zhaixuejun1993 865f121
ggml-openvino: fix CONT/TRANSPOSE mapping and improve dynamic-dimensi…
zhaixuejun1993 ca3a176
OpenVINO: add NORM/TANH support and rework SOFT_MAX translation
zhaixuejun1993 a73a6dc
ggml-openvino: extend VIEW handling
zhaixuejun1993 bfa4c53
Enable -fa off (#118)
wine99 9c922b1
Enable --context-shift
wine99 59f0e3c
Fix llm param compute error for normal softmax not the softmax in att…
zhaixuejun1993 c8e9ce4
OpenVINO backend: fix error for attention size compute in llm param
zhaixuejun1993 9f355ed
use tensor->extra in infer_request i/o
wine99 dc5ed75
OpenVINO backend: refacter the compute_llm_params() func add get_atte…
zhaixuejun1993 e2ce59c
OpenVINO backend: clean unused code
zhaixuejun1993 130ef39
1to1 match op update (#146)
cavusmustafa 13ddbf3
initial gemma4 support
7597773
removed hardcoded names for kv cache slicing
cavusmustafa a1baa1a
OpenVINO backend: Add new attention pattern for llm parameters compute
zhaixuejun1993 dad8acd
flash attn Q shape static conversion
cavusmustafa 760e86d
Remove slice in permute translation when n_seq is 1
cavusmustafa 5a39967
return optional in extract_layer_from_name
wine99 d289bbd
OpenVINO backend: refactor VIEW related operation (#148)
zhaixuejun1993 e0caf43
OpenVINO backend: Add ops l2_norm & pad
zhaixuejun1993 8c83092
OpenVINO backend does not support CPY with non-contiguous data or mis…
zhaixuejun1993 a08546f
add op SSM_CONV GATED_DELTA_NET
wine99 0d0fb42
OpenVINO backend: fix error for bf16 in OV gpu plugin
zhaixuejun1993 c064e87
reverted static Q input shape for attention layer
cavusmustafa d44fa9c
OpenVINO backend: remove hardcode name inp_tokens, which ignore some …
zhaixuejun1993 6afe652
Disable remote tensor due to bug in ov gpu
wine99 d2279ae
Disable n_token > 1 GATED_DELTA_NET on gpu
wine99 e6a7a9e
OpenVINO backend: fix the view op dynamic handling issue in gemma4 & …
zhaixuejun1993 418c5e5
OpenVINO backend: clean code
zhaixuejun1993 c6efcb6
OpenVINO backend: enable view + norm/rms_norm
zhaixuejun1993 eafd08e
OpenVINO backend: concat op
zhaixuejun1993 89858ec
OpenVINO backend: argsort op
zhaixuejun1993 e25ed8f
OpenVINO backend: enable unary + view & GGML_UNARY_OP_SOFTPLUS
zhaixuejun1993 996f0c7
Fix issue for test-backend-ops in TOPK_MOE, which compare VIEW ops re…
zhaixuejun1993 12863b8
OpenVINO backend: enable sum_rows
zhaixuejun1993 404d6b3
OpenVINO backend: enable clamp
zhaixuejun1993 41c35a3
OpenVINO backend: enable DIV
zhaixuejun1993 03e835c
OpenVINO backend: enable GGML_OP_MUL_MAT_ID
zhaixuejun1993 08438be
OpenVINO backend: disable MUL_MAT_ID_FUSION case with large mem needed
zhaixuejun1993 904c608
OpenVINO backend: Disable GGML_OP_ARGSORT, cause test_backend-ops failed
zhaixuejun1993 d2ca0f8
OpenVINO backend: fix issue in mul_mat_id
zhaixuejun1993 2aa3b2d
OpenVINO backend: Disable DIV with broadcast on GPU
zhaixuejun1993 59e3d64
OpenVINO backend: update DIV
zhaixuejun1993 4472ce0
use ov internal op GatedDeltaNet
wine99 4bbb85f
OpenVINO backend: enable llama erch test qwen3next
zhaixuejun1993 3032423
OpenVINO backend: enable RMS_NORM + VIEW & remove op_case 2 for rope
zhaixuejun1993 c4bd20f
OpenVINO backend: fix error
zhaixuejun1993 2c2541c
suggested changes, need review
wine99 d11e198
suggested changes, need review
wine99 c4f2ec7
OpenVINO backend: clean unused code & fix build warning
zhaixuejun1993 46bddb1
OpenVINO backend: enable minicpm3 for arch test
zhaixuejun1993 bb38483
Disable GDN op (#177)
wine99 645df27
disable gated_delta_net
wine99 08b4fd6
update stateful_kv_size correctly in mismatch case
wine99 d2c7549
OpenVINO backend: enable arch test for qwen3vl
e05da27
OpenVINO backend: enable cohere2 for arch test
zhaixuejun1993 c3c4dba
OpenVINO backend: enable t5 for arch test
zhaixuejun1993 a32aeb5
OpenVINO backend: enable jamba for arch test
zhaixuejun1993 a0155c4
OpenVINO backend: remove warning for tmp
zhaixuejun1993 b1f6fb4
OpenVINO backend: enable kimi-linear for arch test
zhaixuejun1993 603c7dc
Remove unused
zhaixuejun1993 21bab71
Fix gpt-oss accuracy issue
yangwang201911 f49b026
OpenVINO backend: enable arctic for arch test
zhaixuejun1993 65ec35a
OpenVINO backend: enable grok for arch test
zhaixuejun1993 292b156
Gemma4 initial npu support (#179)
cavusmustafa c832153
ggml-openvino: add GGML_OPENVINO_ENABLE_CACHE env var to control deco…
zhaixuejun1993 af2a8e1
Revert "Gemma4 initial npu support (#179)"
wine99 a16cfb4
OpenVINO backend: disable debug log print
zhaixuejun1993 36c5cd5
Update TBB discovery. Delegated to OpenVINOs own config.
ravi9 6df01a7
OpenVINO backend: GGML_OPENVINO_ENABLE_CACHE YES -> 1
zhaixuejun1993 2ab4121
OpenVINO backend: fallback FLASH_ATTN_EXT in gemma3n to CPU backend
zhaixuejun1993 6b1c5aa
Add raw ov infer profiling metric
virajwad d194391
Add OV raw infer time metric to static compute path
Copilot f1a5340
Modify precision of static profiling
virajwad 88f22fd
update to OV 2026.2, add OV windows CI
ravi9 ccb1b23
fix editorconfig-checks
ravi9 df50c52
Initiall gemma4 npu support
cavusmustafa b397e94
temp. fix for gemma4 accuracy bug on npu
cavusmustafa 41ce1c7
Remove hardcoded names for npu-fold handling
cavusmustafa 7baa213
revert static n tokens for cont translation as it is not needed
cavusmustafa 5fa8e5e
removed unused variable
cavusmustafa b9cba9d
test-llama-archs fix
cavusmustafa e8324ac
Fix gemma4 flash_attn fallback
cavusmustafa 10a2cfd
support im2col
mostafafaheem 38e9d59
fix code style
mostafafaheem 9c0ca74
disable add_rope_sin_cos optimization
wine99 bbc4319
stateless boradcast and rope optimizations
cavusmustafa e3bdd6b
Enable manual gqa attn by default for stateless gpu
cavusmustafa bc11c32
manual gqa: fixed static batch
d551f5b
gemma4 llama-bench ctx update fix
cavusmustafa 2e33f25
Update OV win CI
ravi9 699fd7d
stateful rope fusion temp. fix
cavusmustafa d05ce54
OpenVINO backend: Conslolidate supported ops
mostafafaheem b32c04e
Exclude unsupported GGML_OP_SUB cases
mostafafaheem 1d9fa46
Exclude unsupported TOPK_MOE cases
mostafafaheem 71ba113
OpenVINO Backend: MUL_MAT enhancements
mostafafaheem 1c64362
Update OV CI
ravi9 f7bbe7c
support f16 mask input for npu
wine99 efbc565
Make GGML_OPENVINO_* env vars usage uniform
ravi9 34b2bee
OpenVINO backend: Enhance envvar handling
mostafafaheem b3f21ea
more cleanup
mostafafaheem e68a103
move ggml_openvino_env_flag to appropriate place
mostafafaheem 65e2ecc
OpenVINO backend: add REPEAT translator, Q5_1 weights, and GLU view-i…
cavusmustafa 8ea91dd
Merge pull request #208 from mostafafaheem/envvar_cleanup
ravi9 341b615
ggml-openvino: fix -Werror=cast-qual in extract_q5_1_data
cavusmustafa 4c878bd
Merge pull request #209 from cavusmustafa/op_translations_q51
ravi9 971816c
Update openvino.Dockerfile
ravi9 835121d
ggml-openvino: centralize env var access via *getenv_str/getenv_int h…
ravi9 3365e31
OpenVINO backend: Enable GGML_OP_ADD_ID
zhaixuejun1993 906a48d
Merge pull request #210 from zhaixuejun1993/xuejun/add_op_add_id
zhaixuejun1993 dd5c58d
Uptade openvino backend clamg-format
wine99 a9045e0
clang-format
wine99 fb924cb
Update OPENVINO.md (#211)
ravi9 ba6c06d
Merge branch 'master' into dev_backend_openvino
ravi9 1d3035b
Merge branch 'master' into dev_backend_openvino
ravi9 90ae917
OpenVINO backend: fix accuracy issue for op CONCAT with i64 precision
zhaixuejun1993 383d163
Merge pull request #214 from zhaixuejun1993/xuejun/fix-error-op-concat
zhaixuejun1993 00e80a9
Remove strict concurrency for gpu-openvino-low-perf
ravi9 65d4041
Update openvino CI keynames; add ccache-clear
ravi9 ce52f0a
Apply suggestions from code review
ravi9 3481530
Fix formatting
ravi9 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name: "Windows - Setup OpenVINO Toolkit" | ||
| description: "Setup OpenVINO Toolkit for Windows" | ||
| inputs: | ||
| path: | ||
| description: "Installation path" | ||
| required: true | ||
| version_major: | ||
| description: "OpenVINO major version (e.g., 2026.2)" | ||
| required: true | ||
| version_full: | ||
| description: "OpenVINO full version" | ||
| required: true | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Download and extract OpenVINO Runtime | ||
| shell: powershell | ||
| run: | | ||
| $url = "https://storage.openvinotoolkit.org/repositories/openvino/packages/${{ inputs.version_major }}/windows/openvino_toolkit_windows_${{ inputs.version_full }}_x86_64.zip" | ||
| $out = "openvino.zip" | ||
| Invoke-WebRequest -Uri $url -OutFile $out | ||
| Expand-Archive -Path $out -DestinationPath ${{ inputs.path }} -Force | ||
| Remove-Item $out |
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.
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.
How big is this cache?
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.
The cache-gha-openvino-toolkit-v2026.2.0.21903.52ddc073857-Windows: 180 MB