-
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
flush denormal in the tracer op, test=develop #32350
Conversation
Thanks for your contribution! |
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.
需要在paddle/fluid/imperative/CMakeLists.txt
加依赖
cc_library(tracer SRCS tracer.cc DEPS layer engine program_desc_tracer amp denormal)
done |
cdd623c
to
0a3d0db
Compare
0a3d0db
to
be8936c
Compare
paddle/fluid/platform/denormal.cc
Outdated
@@ -29,8 +29,10 @@ | |||
|
|||
#if !defined(GCC_WITHOUT_INTRINSICS) && !defined(PADDLE_WITH_ARM) && \ | |||
!defined(PADDLE_WITH_SW) && !defined(PADDLE_WITH_MIPS) | |||
#if !defined(_WIN32) || defined(PADDLE_WITH_MKL) |
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.
原因是在windows+openblas上,会出现某些单测精度diff的问题。由于windows平台上默认是发MKL的包,因此先跳过这个组合。
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.
LGTM
PR types
Others
PR changes
Others
Describe
flush denormal in the tracer op, test=develop
Reference: #29924
fix PaddlePaddle/PaddleSeg#955