KEMBAR78
Removed redundant dtype conversion in scaled_dot_product_attention docstring example by RajeshvShiyal · Pull Request #161613 · pytorch/pytorch · GitHub
Skip to content

Conversation

@RajeshvShiyal
Copy link
Contributor

Suggested changes done for Fixes #161611.

Removed the line attn_bias.to(query.dtype) entirely

Fixes #161611

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 27, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/161613

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 3 Unrelated Failures

As of commit 0db1731 with merge base 3d40642 (image):

NEW FAILURE - The following job has failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following job 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.

@RajeshvShiyal
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

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.

Ok since it's already dtype on L5821

@mikaylagawarecki
Copy link
Contributor

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 28, 2025
@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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / macos-py3-arm64 / test (default, 2, 3, macos-m1-stable)

Details for Dev Infra team Raised by workflow job

@albanD albanD removed their request for review August 28, 2025 17:49
@mikaylagawarecki
Copy link
Contributor

@pytorchbot merge -i

@pytorchmergebot
Copy link
Collaborator

markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
…cstring example (pytorch#161613)

Suggested changes done for Fixes pytorch#161611.

Removed the line attn_bias.to(query.dtype) entirely

Fixes pytorch#161611
Pull Request resolved: pytorch#161613
Approved by: https://github.com/mikaylagawarecki
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 open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove redundant dtype conversion in scaled_dot_product_attention docstring example

4 participants