Skip to content
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

Change normalize to make it export friendly #8511

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

larryliu0820
Copy link
Contributor

As titled. torch.export doesn't work with _get_kernel since it looks into attributes of a class. Here we are assigning a kernel manually for torch.export.

Copy link

pytorch-bot bot commented Jul 2, 2024

🔗 Helpful Links

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

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

❌ 16 New Failures, 3 Unrelated Failures

As of commit 7666e93 with merge base bf01bab (image):

NEW FAILURES - The following jobs have failed:

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

@NicolasHug
Copy link
Member

Thanks for the PR @larryliu0820 and sorry for the late reply, I was away last week.

Support for torch.export is still an ongoing effort for the v2 transforms and we still lack a bit of clarity on that front. Can you please share a snippet of what you're trying to enable exactly? E.g. are you trying to export the class? The functional? The kernel? FYI, earlier this year I summarized what is currently supported by torchvision in terms of compile/export (internal link).

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.

None yet

3 participants