8000 Adding view and reduction tags by AlonSardas · Pull Request #153342 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Adding view and reduction tags #153342

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

Open
wants to merge 1 commit into
base: viable/strict
Choose a base branch
from

Conversation

AlonSardas
Copy link

Fixes #129020

Here's lists of the operator names annotated with view and reduction tags:
view overloads:
as_strided, detach, view_as_real, view_as_complex, lift_fresh, diagonal, select, slice, transpose, split, t, expand, view, unsqueeze, unfold, squeeze, permute, unbind, split_with_sizes, alias

reduction overloads:
sum, mean, amin, amax, argmin, argmax, prod, all, norm, var, std, aminmax, nansum, logsumexp, any, std_mean, var_mean, count_nonzero, linalg_vector_norm, max, min

Copy link
pytorch-bot bot commented May 11, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 75477ec with merge base 909ec49 (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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

Copy link
Contributor
@eellison eellison left a comment

Choose a reason for hiding this comment

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

nice!

@@ -255,6 +256,122 @@ def test_multiple_devices(self, devices, dtype, op):
"Skipped! Only supports single tensor or iterable of tensor outputs."
)

def test_reduction_tag_coverage(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

3 participants
0