Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

jbschlosser
Copy link
Contributor

@jbschlosser jbschlosser commented May 15, 2024

Stack from ghstack (oldest at bottom):

Fixes #124464

Copy link

pytorch-bot bot commented May 15, 2024

🔗 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 (image):

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.

jbschlosser added a commit that referenced this pull request May 15, 2024
ghstack-source-id: e9f67213ad3dda32e7289f377ae0d9d443fd1b8e
Pull Request resolved: #126294
Copy link
Contributor

@mikaylagawarecki mikaylagawarecki left a 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

Comment on lines 5021 to 5022
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
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

@jbschlosser jbschlosser added release notes: nn release notes category topic: docs topic category labels May 15, 2024
Fixes #124464

TBD: validate formatting

[ghstack-poisoned]
jbschlosser added a commit that referenced this pull request May 15, 2024
ghstack-source-id: 2178c8f373a4a58b9d9ab03c3762fa008cedf264
Pull Request resolved: #126294
@jbschlosser
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 15, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: nn release notes category topic: docs topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants