-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
weight_quantize api support gpu #59090
weight_quantize api support gpu #59090
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -30,14 +30,14 @@ | |||
|
|||
#pragma once | |||
|
|||
#include "paddle/phi/backends/cpu/cpu_context.h" | |||
// #include "paddle/phi/backends/cpu/cpu_context.h" |
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.
注释删下
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.
已修改
2166380
to
1ac2c63
Compare
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
* weight quant gpu wint8 * fix scale type of weight ony quant * fix cpu quant weight * update * float scale for weight-only8 gpu quant * fix infermeta * fix include * add sm70 * fixup and andd sm70 * code_style fix
PR types
Function optimization
PR changes
OPs
Description
Add quanted weight gpu kernel for weight only int8 to speed up the model convert. sm70 premute kernel is contributed by @MARD1NO
Pcard-71502