Skip to content

Torch linalg #33

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

Merged
merged 6 commits into from
Mar 21, 2023
Merged

Torch linalg #33

merged 6 commits into from
Mar 21, 2023

Conversation

asmeurer
Copy link
Member

No description provided.

@asmeurer asmeurer enabled auto-merge March 21, 2023 16:40
@asmeurer asmeurer disabled auto-merge March 21, 2023 21:18
@asmeurer asmeurer merged commit b32a5b3 into data-apis:main Mar 21, 2023
@asmeurer asmeurer requested a review from lezcano March 28, 2023 15:34
Comment on lines +19 to +20
# Note: torch.linalg.cross does not default to axis=-1 (it defaults to the
# first axis with size 3), see https://github.com/pytorch/pytorch/issues/58743
Copy link

Choose a reason for hiding this comment

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

This is just in torch.cross though. torch.linalg.cross has the saner dim=-1 default.

The default for torch.cross is easily in my top 5 of craziest behaviours of PyTorch core though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh I didn't realize they were different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants