-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Make FLAGS_determinstic effective in conv2d forward. #37173
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.
LGTM
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 for PR-CI-OP-benchmark
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
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
Bug fixes
PR changes
OPs
Describe
FLAGS_cudnn_deterministic=1
,强制conv cudnn算子选择算法1。但是在实现时,Forward选择算法时将deterministic参数强制设置成了false,导致FLAGS_cudnn_deterministic
设置不生效。这个PR修复了这个bug。SetCinnRuntimeFlags
函数调用,当前是将CINN的cudnn_deterministic设置成与Paddle中一致。后续可能增加更多的FLAGS设置。