KEMBAR78
Add type check for `ord` in `torch.linalg.vector_norm()` and `torch.linalg.matrix_norm()` by shink · Pull Request #137463 · pytorch/pytorch · GitHub
Skip to content

Conversation

@shink
Copy link
Contributor

@shink shink commented Oct 8, 2024

fixes #137424, fixes #137460

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 8, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit b0f2a45 with merge base 395e098 (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: linalg_frontend release notes category label Oct 8, 2024
@colesbury colesbury added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 8, 2024
@shink shink changed the title Fix overflow when torch.linalg.vector_norm() handles complex numbers Add type check for ord in torch.linalg.vector_norm() and torch.linalg.matrix_norm() Oct 8, 2024
Copy link
Collaborator

@lezcano lezcano left a comment

Choose a reason for hiding this comment

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

Thank you for the fix!

@lezcano
Copy link
Collaborator

lezcano commented Oct 8, 2024

@pytorchbot merge

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

@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

@lezcano
Copy link
Collaborator

lezcano commented Oct 8, 2024

@pytorchbot merge

@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 open source release notes: linalg_frontend release notes category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

overflow in torch._C._linalg.linalg_matrix_norm overflow in torch._C._linalg.linalg_vector_norm

5 participants