-
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
[XPU] fc use int_with_ll_t #53183
[XPU] fc use int_with_ll_t #53183
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
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
@@ -30,6 +30,7 @@ enum XPUFCCalcType { | |||
FC_INT16 = 0, | |||
FC_INT32, | |||
FC_FLOAT, | |||
FC_INT_WITH_LL, |
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.
下一个PR可以改下名字,FC_INT32和FC_INT_WITH_LL两个名字要么都是int,要么都是int32
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.
收到
@@ -41,6 +42,8 @@ XPUFCCalcType FCCalcType() { | |||
return XPUFCCalcType::FC_INT32; | |||
} else if (std::getenv("XPU_PADDLE_FC_LOCAL_INT16") != nullptr) { | |||
return XPUFCCalcType::FC_FLOAT; | |||
} else if (std::getenv("XPU_PADDLE_FC_INT_WITH_LL") != nullptr) { |
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.
收到
* [XPU] fc use int_with_ll_t * fix test_unbind_op_xpu
PR types
New features
PR changes
OPs
Description