-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add FP8/FP4 block-quantized support to GatherBlockQuantized contrib op #32480
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
Tianlei Wu (tianleiwu)
merged 76 commits into
main
from
copilot/research-onnx-runtime-support
Sep 15, 2026
Merged
Changes from all commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
99d5517
Add Engram contrib op schemas
Copilot b44523f
Add CPU Engram contrib kernels
Copilot 819e695
Add CUDA Engram contrib kernels
Copilot 608c54f
Add WebGPU Engram contrib kernels
Copilot 3ad3490
Add Engram contrib op tests
Copilot 3fd904b
Fix Engram CPU threadpool usage
Copilot 1c82a47
Split Engram ops into standalone files
Copilot b8a41e7
Add CPU FP16 Engram kernels, shared EP helpers, and docs
Copilot fcb7ca0
Rename NgramHashMapping to NGramHashMapping
Copilot 2ddc306
Address PR review: shared-gate/RMS passes and sign(0) fix for Engram ops
Copilot e22b5c8
Fix CI failures: CUDA GetComputeStream, WebGPU namespace, test skip trap
Copilot 7bb11f3
Merge remote-tracking branch 'origin/copilot/add-op-support-for-deeps…
Copilot 9eecb7d
Extend GatedRMSNorm with configurable silu/sigmoid gate activation
Copilot 08546f9
Extend NGramHashMapping with past/present tokens, EOS reset, segment_…
Copilot 01454fd
Extend EngramGate with conv_norm_scale input and gated_value_normed o…
Copilot 9c60b27
Fix NGramHashMapping generated docs
Copilot cf85ec4
Clarify ShortConv activation flag
Copilot bc2732f
Fix NGram segment reset review comments
Copilot a13d68a
Fix lint formatting issues
Copilot 23048f8
Extend GatedRMSNorm with configurable silu/sigmoid gate activation
Copilot a17b7a2
Extend NGramHashMapping with past/present tokens, EOS reset, segment_…
Copilot 1e8ad6c
Extend EngramGate with conv_norm_scale input and gated_value_normed o…
Copilot 751a6d0
Update Engram generated kernel docs
Copilot 410de12
Format Qwen Engram updates
Copilot f7dda34
Update Qwen PR for merged DeepSeek Engram changes
Copilot d49cbde
Fix EngramGate test MSVC shadow warning
Copilot bee7447
Update generated contrib operator docs
Copilot dcf54dc
Fix CUDA plugin user stream graph test lifetime
Copilot a132d05
Add GatherQuantized contrib op (CPU EP) for FP8 block-scaled gather
Copilot 39ba0cc
Rename GatherQuantized to GatherFpQuantized and add FP4 (Float4E2M1x2…
Copilot c7f63c3
Document GatherFpQuantized in ContribOperators.md and OperatorKernels.md
Copilot 0095b3b
Add eos_token_id segment-reset to NGramHashMapping (CPU/CUDA/WebGPU)
Copilot 0fb86e8
Apply lintrunner formatting fixes
Copilot e661b8a
Support broadcastable (per-tensor) scales in GatherFpQuantized
Copilot 188cf5d
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot e9b317b
Merge remote-tracking branch 'origin/main' into copilot/add-op-suppor…
Copilot 26d11e7
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot 7a7f0cc
Address PR review comments: guard FP8 tests, fix block_size validatio…
Copilot c2a76dd
Fix CI failures: WASM -Wshorten-64-to-32 in GatherFpQuantized kernel,…
Copilot d1d90df
Merge remote-tracking branch 'origin/main' into copilot/add-op-suppor…
Copilot d2f974e
Merge remote-tracking branch 'origin/main' into copilot/research-onnx…
Copilot d41fbdb
Revert "Merge remote-tracking branch 'origin/main' into copilot/resea…
Copilot 03ad2f9
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot f89b2a6
Remove GatedRMSNorm activation changes
Copilot da2b617
Merge remote-tracking branch 'origin/main' into copilot/add-op-suppor…
Copilot b792d55
Resolve merge conflicts: rebuild tree onto latest copilot/add-op-supp…
Copilot e961436
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot 038990a
Merge GatherFpQuantized schema into GatherBlockQuantized
Copilot d678bd0
Add FP8/FP4 support to WebGPU GatherBlockQuantized
Copilot 359d32b
Fix OpTester::Run excluded-provider type in migrated GatherBlockQuant…
Copilot 1b927f2
Apply remaining changes
Copilot 902685f
Fix WebGPU GatherBlockQuantized FP8/FP4 dtype and broadcast-scale han…
Copilot 356d3ce
Remove stale GatherFpQuantized doc entries; merge into GatherBlockQua…
Copilot 388be7b
Apply remaining changes
Copilot b874d73
Fix unrelated GEMM_FLOAT8_TYPES formatting drift flagged by bot review
Copilot ef3ccd7
Fix CI: exclude WebGPU from FP8/FP4 GatherBlockQuantized tests; fix s…
Copilot 47f185a
Fix CUDA GatherBlockQuantized FP8/FP4 bugs and wire up kernel registr…
Copilot a46941f
Fix WebGPU divide-by-zero, withhold FP8/FP4 type registration, adjust…
Copilot 82ebc35
Fix CUDA build error: qualify TArray as onnxruntime::cuda::TArray in …
Copilot 0477f8c
Address GatherBlockQuantized review feedback
Copilot dc04cd6
Handle empty tensors and high-rank WebGPU scales
Copilot 2a9e812
Restore canonical schema macro formatting
Copilot ff695e1
Apply remaining changes
Copilot fac8b71
Merge remote-tracking branch 'origin/main' into copilot/add-op-suppor…
Copilot 34502f9
Clean up generated docs whitespace
Copilot e5f2b15
Remove NGramHashMapping docs trailing whitespace
Copilot 1dfac6d
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot 33b8c7d
Clean up NGramHashMapping review fixes
Copilot a853e5d
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot c0a37f4
Fix NGramHashMapping shape inference docs
Copilot dc635da
Fix GatherBlockQuantized CI failures
Copilot b063ff7
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot a03c05a
Update generated contrib docs
Copilot 4a58ce1
Merge remote-tracking branch 'origin/copilot/add-op-support-for-qwen-…
Copilot afe5688
Sync target and fix formatting
Copilot 8d992e8
Fix WebGPU FP8 lookup shader
Copilot 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
Some comments aren't visible on the classic Files Changed page.
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
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.