Skip to content

Fix incorrect attention example in ONNX exporter docstring#167646

Closed
gaurav-redhat wants to merge 2 commits intopytorch:mainfrom
gaurav-redhat:fix/onnx-docstring-example
Closed

Fix incorrect attention example in ONNX exporter docstring#167646
gaurav-redhat wants to merge 2 commits intopytorch:mainfrom
gaurav-redhat:fix/onnx-docstring-example

Conversation

@gaurav-redhat
Copy link
Contributor

Fixes #167627

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 12, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit d491723 with merge base 780e325 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the release notes: onnx torch.onnx related changes that should show up in the release notes label Nov 12, 2025
@malfet
Copy link
Contributor

malfet commented Nov 15, 2025

@pytorchbot merge -f "Doc looks good"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

jsuarez5341 pushed a commit to PufferAI/pytorch that referenced this pull request Nov 15, 2025
…67646)

Fixes pytorch#167627

Pull Request resolved: pytorch#167646
Approved by: https://github.com/malfet, https://github.com/titaiwangms

Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
…67646)

Fixes pytorch#167627

Pull Request resolved: pytorch#167646
Approved by: https://github.com/malfet, https://github.com/titaiwangms

Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
@gaurav-redhat gaurav-redhat deleted the fix/onnx-docstring-example branch December 24, 2025 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged open source release notes: onnx torch.onnx related changes that should show up in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] Incorrect attention example in torch/onnx/_internal/exporter/_torchlib/ops/nn.py (syntax + scaling + mask issue)

5 participants