-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add support for QMoE in CPU #25558
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
Add support for QMoE in CPU #25558
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3504f14
Initial QMoE CPU support
apsonawane 12aa6c3
Fix Lint error
apsonawane de5e7c5
Fix pipelines
apsonawane 2f9192e
Add SwiGLU support for CPU QMoE
apsonawane ddde845
Fix pipelines
apsonawane f55d780
Address comments
apsonawane a1a1f7c
Update contrib ops doc
kunal-vaishnavi 337d56a
Update emsdk
kunal-vaishnavi 0d16252
Revert "Update emsdk"
kunal-vaishnavi 67b4b1f
Address comments
apsonawane 0fcdc72
Address comments
apsonawane 9fdb2ff
Fix
apsonawane 6e60f09
Comments
apsonawane 2814dcd
Update to symmetric quantization
apsonawane 1958814
Fix build errors and update the tests
apsonawane 61ab80f
Add SwiGLU tests in python
apsonawane bd721db
Add SwiGLU clamping and fix docs pipeline
apsonawane ce1309f
Add back ep_graph tests
apsonawane 0729e44
Revert cuda test changes
apsonawane 271cba4
update doc
tianleiwu 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
Address comments
- Loading branch information
commit 0fcdc721382c44ec40b7abdeeabd1bf8c6bd5f9a
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
335 changes: 153 additions & 182 deletions
335
onnxruntime/contrib_ops/cpu/quantization/moe_quantization_cpu.cc
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.
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.