-
Notifications
You must be signed in to change notification settings - Fork 24k
OpenVINO: optimize stateful decode and GPU MoE inference #28638
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
+1,854
−585
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
cf78650
exclude GPU/NPU failing POOL_2D case
mostafafaheem f72d986
Fix pool case
mostafafaheem 011271a
ggml-openvino: fix stateful decode for Gemma-4 per-layer-type head sizes
cavusmustafa 70ceed6
ggml-openvino: fix MSVC narrowing error in permute
cavusmustafa 4fb04df
ggml-openvino: classify sliding-window layers structurally on interle…
cavusmustafa 0e9794e
ggml-openvino: add GGML_OPENVINO_REQUANT_KQUANT to select a 4-bit req…
cavusmustafa c14780c
ggml-openvino: add GGML_OPENVINO_SPILL_DIR to spill weight buffers to…
cavusmustafa cd327a3
Stateful Performance: Added pass::KVStateSeqAxis to change KV layout
cavusmustafa 80aec82
ggml-openvino: fix stateful decode past the sliding-window size
cavusmustafa ca08e4f
ggml-openvino: refuse stateful decode that cannot resume from the KV …
cavusmustafa fecf802
ggml-openvino: use the per-layer KV head count for the stateful KV state
cavusmustafa 6fbe283
ggml-openvino: apply the KV state relayout to any KV head count
cavusmustafa 66d2d07
ggml-openvino : support ggml_rope_set_offset and simplify op support …
mostafafaheem 73ddeb5
add more cpy cases
mostafafaheem ba4e39d
reject BF16 cpy on NPU
mostafafaheem f304295
Remove mul_mat_id fallback, gate large mul_mat_id only for mxfp4
wine99 6645a9e
ggml-openvino: fuse the MoE expert block into MOECompressed on GPU
cavusmustafa 8c24268
ggml-openvino: skip GPU MUL_MAT_ID for unbound expert tensors
cavusmustafa 314afa5
ggml-openvino: requantize grouped 8-bit MoE experts on GPU
cavusmustafa db83eee
Enable special strided CPY for conv state writeback
wine99 e871404
openvino: support cacheless encoder models on NPU
zhaixuejun1993 e13baf3
openvino: optimize norm and RoPE translation
zhaixuejun1993 a59f311
ggml-openvino : simplify op translators and enable IMROPE/NEOX RoPE f…
mostafafaheem 91903c8
remove unnecessary include and clean up PAD
mostafafaheem eec425e
fix mulmat bug
mostafafaheem 926ef68
use ov::as_type_ptr instead of std::dynamic_pointer_cast
mostafafaheem db8913c
ggml-openvino: fix mixed-dtype ADD/SWIGLU_CLAMP, gate unsupported ROP…
ravi9 88b44d0
openvino: share compiled models with per-context inference state; fix…
wine99 a81e3f6
ggml-openvino: gate MoE expert-sum ReduceSum shortcut past 8 experts
ravi9 3200838
ggml-openvino: gate degenerate m=1,n=1 MUL_MAT on GPU
ravi9 5bcd117
ggml-openvino: make SoftPlus decomposition opt-in native
wine99 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.