-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[LLM] Add expert parallel #9368
[LLM] Add expert parallel #9368
Conversation
…d_expert_parallel
…d_expert_parallel
…d_expert_parallel
…d_expert_parallel
…d_expert_parallel
Thanks for your contribution! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #9368 +/- ##
===========================================
- Coverage 53.01% 52.89% -0.12%
===========================================
Files 678 678
Lines 108787 108249 -538
===========================================
- Hits 57668 57262 -406
+ Misses 51119 50987 -132 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
LGTM
PR types
New features
PR changes
APIs
Description
Add expert parallel
1. 精度验证代码:
2. 精度验证结果:
同Qwen2Moe原始Moe计算代码(没有专家并行)比较,序列长度计算1k-128k,最大diff保持不变。
float32 diff: 0.0
float16 diff: 1e-4
bfloat16 diff: 9e-4