-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Warn SDPA users about dropout behavior #126294
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/126294
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 46c7a0c with merge base c53e0ac (): BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: e9f67213ad3dda32e7289f377ae0d9d443fd1b8e Pull Request resolved: #126294
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.
Rendering looks good other than the nit
torch/nn/functional.py
Outdated
This function always applies dropout according to the specified `dropout_p` argument. | ||
To disable dropout during evaluation, be sure to pass a value of `0.0` when the module |
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.
nit:
This function always applies dropout according to the specified `dropout_p` argument. | |
To disable dropout during evaluation, be sure to pass a value of `0.0` when the module | |
This function always applies dropout according to the specified ``dropout_p`` argument. | |
To disable dropout during evaluation, be sure to pass a value of ``0.0`` when the module |
Fixes #124464 TBD: validate formatting [ghstack-poisoned]
ghstack-source-id: 2178c8f373a4a58b9d9ab03c3762fa008cedf264 Pull Request resolved: #126294
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Fixes pytorch#124464 Pull Request resolved: pytorch#126294 Approved by: https://github.com/mikaylagawarecki, https://github.com/drisspg
Stack from ghstack (oldest at bottom):
Fixes #124464