Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ONNX] Delete JitTraceConvertStrategy#152556

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@titaiwangms
Copy link
Collaborator

Fixes#151703

@pytorch-bot
Copy link

pytorch-botbot commentedApr 30, 2025
edited
Loading

🔗 Helpful Links

🧪 See artifacts and rendered test results athud.pytorch.org/pr/152556

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

✅ You can merge normally! (1 Unrelated Failure)

As of commite534772 with merge base28efeb1 (image):

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

@pytorch-botpytorch-botbot added the release notes: onnxtorch.onnx related changes that should show up in the release notes labelApr 30, 2025
Copy link
Collaborator

@justinchubyjustinchuby left a comment

Choose a reason for hiding this comment

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

Can you go to reporting and remove the corresponding entries for the reports?

@justinchuby
Copy link
Collaborator

#152467 This makes me reconsider the strict=True case

@titaiwangms
Copy link
CollaboratorAuthor

#152467 This makes me reconsider the strict=True case

I think the real question is still "does it make sense for onnx to use torch.export.export(..., strict=True)".

@justinchuby
Copy link
Collaborator

I think if we know strict=False covers a superset of models than strict=True. Is there a downside?

@titaiwangms
Copy link
CollaboratorAuthor

titaiwangms commentedApr 30, 2025
edited
Loading

I think if we know strict=False covers a superset of models than strict=True. Is there a downside?

The case we have here to support having another capture strategy looks like just a bug. I am not sure how much benefit we really gain from keeping multiple strategies. Personally, I don't like the long print out. And I believe that the reason of torch.export having this parameter is more than strict=False could have bugs.

@justinchuby
Copy link
Collaborator

justinchuby commentedApr 30, 2025
edited
Loading

And I believe that the reason of torch.export having this parameter is more than strict=False could have bugs.

I think it is changing the default to False now.@tugsbayasgalan@angelayi is it the plan to deprecate strict=True at some point? Is there additional value in using strict=True? Thanks!

@angelayi
Copy link
Contributor

is it the plan to deprecate strict=True at some point? Is there additional value in using strict=True?

I don't think we plan on deprecating strict=True. Because torch.compile is going through that path, depending on how it's implemented, some new features could be better supported in the strict=True path.

@justinchuby
Copy link
Collaborator

justinchuby commentedMay 1, 2025
edited
Loading

If that's the case@titaiwangms maybe just remove the jit convert strategy for now? Ifstrict=True will get us exportedprograms strict=False potentially can't.

titaiwangms reacted with thumbs up emoji

@titaiwangmstitaiwangms changed the title[ONNX] Delete TorchExportStrategy and JitTraceConvertStrategy[ONNX] Delete JitTraceConvertStrategyMay 1, 2025
@titaiwangms
Copy link
CollaboratorAuthor

@pytorchbot merge

pytorch-bot[bot] reacted with thumbs up emoji

@pytorch-botpytorch-botbot added the ciflow/trunkTrigger trunk jobs on your pull request labelMay 1, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in thewiki.

Questions? Feedback? Please reach out to thePyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@justinchubyjustinchubyjustinchuby approved these changes

@shubhambhokare1shubhambhokare1Awaiting requested review from shubhambhokare1

@wschinwschinAwaiting requested review from wschin

Assignees

No one assigned

Labels

ciflow/trunkTrigger trunk jobs on your pull requestMergedopen sourcerelease notes: onnxtorch.onnx related changes that should show up in the release notes

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[ONNX] Improve and sort out fallback mechanism

5 participants

@titaiwangms@justinchuby@angelayi@pytorchmergebot@pytorchbot

[8]ページ先頭

©2009-2025 Movatter.jp