-
Notifications
You must be signed in to change notification settings - Fork 691
【Optim】Optimize the ReplicatedLinear(self.gate) using environment variables #6261
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
base: develop
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! |
|
这个换成 bf16 后有测过 benchmark 对比精度是否有下降吗? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #6261 +/- ##
==========================================
Coverage ? 65.80%
==========================================
Files ? 386
Lines ? 51285
Branches ? 8000
==========================================
Hits ? 33746
Misses ? 15058
Partials ? 2481
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:
|
文心模型没换,glm这个模型之前写的是错误的,改成bf16才是对的。 |
Motivation
"Setting export FD_MOE_GATE_WEIGHT_DTYPE=BFLOAT16 yields acceleration effects in both prefill and decode phases."
"Setting FD_MOE_GATE_WEIGHT_DTYPE is to align performance with competitors, by default it uses the same type as the weight type."
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.