flush denormal in the tracer op, test=develop#32350
Merged
luotao1 merged 4 commits intoPaddlePaddle:developfrom Apr 21, 2021
Merged
flush denormal in the tracer op, test=develop#32350luotao1 merged 4 commits intoPaddlePaddle:developfrom
luotao1 merged 4 commits intoPaddlePaddle:developfrom
Conversation
|
Thanks for your contribution! |
luotao1
reviewed
Apr 19, 2021
Contributor
luotao1
left a comment
There was a problem hiding this comment.
需要在paddle/fluid/imperative/CMakeLists.txt加依赖
cc_library(tracer SRCS tracer.cc DEPS layer engine program_desc_tracer amp denormal)
luotao1
reviewed
Apr 19, 2021
Contributor
Author
done |
cdd623c to
0a3d0db
Compare
0a3d0db to
be8936c
Compare
luotao1
reviewed
Apr 20, 2021
paddle/fluid/platform/denormal.cc
Outdated
|
|
||
| #if !defined(GCC_WITHOUT_INTRINSICS) && !defined(PADDLE_WITH_ARM) && \ | ||
| !defined(PADDLE_WITH_SW) && !defined(PADDLE_WITH_MIPS) | ||
| #if !defined(_WIN32) || defined(PADDLE_WITH_MKL) |
Contributor
There was a problem hiding this comment.
原因是在windows+openblas上,会出现某些单测精度diff的问题。由于windows平台上默认是发MKL的包,因此先跳过这个组合。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Describe
flush denormal in the tracer op, test=develop
Reference: #29924
fix PaddlePaddle/PaddleSeg#955