-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fused MoE Support #66084
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
Fused MoE Support #66084
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
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.
bfloat16需要加上编译控制吧,sm70的设备会编译报错?
暂时先移除了bf16 wint8 wint4,后续组网完成后进行支持 |
paddle/phi/kernels/fusion/cutlass/cutlass_extensions/gemm/kernel/gemm_moe_problem_visitor.h
Outdated
Show resolved
Hide resolved
paddle/phi/kernels/fusion/cutlass/cutlass_extensions/gemm/kernel/gemm_moe_problem_visitor.h
Show resolved
Hide resolved
paddle/phi/kernels/fusion/cutlass/cutlass_kernels/moe_gemm/fused_moe_gemm_kernels_template.h
Outdated
Show resolved
Hide resolved
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
* [Feature] Fused MoE Support. * [Bugfix] Fix compile error. * [Bugfix] fix test error and compile error. * [Bugfix] fix compile error. * [Bugfix] remove bf16 * [Bugfix] fix compile error * [Bugfix] deal with float16 * [Bugfix] deal with float16 * [Bugfix] skip test if not gpu * [Refactor] add doc explain. * [Refactor] modify doc explain. * [Feature] add wint support * [Refactor] Refine doc. * [Refactor] fix CI problem * [Bugfix] fix error * [Feature] add bf16 * [Refactor] fix bf16 compile flag and docs * [Refactor] remove redundant code * [Refactor] refine code * [Refactor] doc refine * [Refactor] doc refine2 * [Bugfix] refine doc and code
PR Category
Inference
PR Types
New features
Description
Pcard-71501
新增Fused MoE融合优化,目前支持float16 bfloat16,后续增加wint8 wint4