[XPU] refactor moe ffn - #5501
Merged
Merged
Conversation
|
Thanks for your contribution! |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #5501 +/- ##
==========================================
Coverage ? 62.61%
==========================================
Files ? 329
Lines ? 41703
Branches ? 6369
==========================================
Hits ? 26114
Misses ? 13615
Partials ? 1974
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
heavengate
previously approved these changes
Dec 17, 2025
yuanlehome
reviewed
Dec 17, 2025
| n_group=fd_config.model_config.n_group, | ||
| routed_scaling_factor=fd_config.model_config.routed_scaling_factor, | ||
| layer_idx=layer_id, | ||
| layer_id=layer_id, |
zhupengyang
dismissed stale reviews from yongqiangma, heavengate, and hong19860320
via
December 17, 2025 12:11
d715d72
yuanlehome
reviewed
Dec 17, 2025
| """ | ||
| if self.layer_id < 0: | ||
| return | ||
| xpu_moe_ffn_quant_type_map = os.environ.get("XPU_MOE_FFN_QUANT_TYPE_MAP", "") |
Collaborator
There was a problem hiding this comment.
禁止私自添加环境变量,需要通过envs.py并以FD开头。。
DDDivano
previously approved these changes
Dec 17, 2025
zhupengyang
force-pushed
the
moe_ffn
branch
4 times, most recently
from
December 17, 2025 13:01
4707aae to
94a58fb
Compare
- remove BKCL_DISPATCH_ALL_GATHER - support sparse mode - support moe quant_method
EmmonsCurse
approved these changes
Dec 18, 2025
yuanlehome
approved these changes
Dec 18, 2025
DDDivano
approved these changes
Dec 18, 2025
yongqiangma
approved these changes
Dec 18, 2025
heavengate
approved these changes
Dec 18, 2025
chang-wenbin
pushed a commit
to chang-wenbin/FastDeploy
that referenced
this pull request
Mar 2, 2026
- remove BKCL_DISPATCH_ALL_GATHER - support sparse mode - support moe quant_method
xiaoguoguo626807
pushed a commit
to xiaoguoguo626807/FastDeploy
that referenced
this pull request
May 7, 2026
- remove BKCL_DISPATCH_ALL_GATHER - support sparse mode - support moe quant_method
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Modifications
Usage or Command
Accuracy Tests
Checklist
[FDConfig],[APIServer],[Engine],[Scheduler],[PD Disaggregation],[Executor],[Graph Optimization],[Speculative Decoding],[RL],[Models],[Quantization],[Loader],[OP],[KVCache],[DataProcessor],[BugFix],[Docs],[CI],[Optimization],[Feature],[Benchmark],[Others],[XPU],[HPU],[GCU],[DCU],[Iluvatar],[Metax]]pre-commitbefore commit.releasebranch, make sure the PR has been submitted to thedevelopbranch, then cherry-pick it to thereleasebranch with the[Cherry-Pick]PR tag.