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

[BC-breaking] Set NonStrict as default for export_for_training#150941

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

Closed
gmagogsfm wants to merge1 commit intopytorch:mainfromgmagogsfm:export-D72724975

Conversation

@gmagogsfm
Copy link
Contributor

@gmagogsfmgmagogsfm commentedApr 9, 2025
edited by pytorch-botbot
Loading

Summary:

  • Flip default value ofstrict argument from True to False on torch.export.export_for_training API
  • All callsites have been updated to provide this argument explicitly to avoid behavior change.
  • If you see any breakages, that means you may have a new callsite that is missed, please setstrict=True explicitly to the callsite to mitigage.

Test Plan: CI

Differential Revision: D72724975

cc@ezyang@gchanan

@pytorch-bot
Copy link

pytorch-botbot commentedApr 9, 2025
edited
Loading

🔗 Helpful Links

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

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

✅ No Failures

As of commit7183fb5 with merge base061832b (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot
Copy link
Contributor

This pull request wasexported from Phabricator. Differential Revision:D72724975

@gmagogsfmgmagogsfm added the module: bc-breakingRelated to a BC-breaking change labelApr 9, 2025
@pytorch-botpytorch-botbot added the topic: bc breakingtopic category labelApr 9, 2025
@facebook-github-bot
Copy link
Contributor

This pull request wasexported from Phabricator. Differential Revision:D72724975

…ch#150941)Summary:- Flip default value of `strict` argument from True to False on torch.export.export_for_training API- All callsites have been updated to provide this argument explicitly to avoid behavior change.- If you see any breakages, that means you may have a new callsite that is missed, please set `strict=True` explicitly to the callsite to mitigage.Test Plan: CIDifferential Revision: D72724975
@facebook-github-bot
Copy link
Contributor

This pull request wasexported from Phabricator. Differential Revision:D72724975

@pytorch-botpytorch-botbot added the ciflow/trunkTrigger trunk jobs on your pull request labelApr 10, 2025
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

pytorch-bot[bot] reacted with thumbs up emoji

@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

timocafe pushed a commit to timocafe/pytorch that referenced this pull requestApr 16, 2025
…ch#150941)Summary:- Flip default value of `strict` argument from True to False on torch.export.export_for_training API- All callsites have been updated to provide this argument explicitly to avoid behavior change.- If you see any breakages, that means you may have a new callsite that is missed, please set `strict=True` explicitly to the callsite to mitigage.Test Plan: CIDifferential Revision: D72724975Pull Requestresolved:pytorch#150941Approved by:https://github.com/ydwu4
amathewc pushed a commit to amathewc/pytorch that referenced this pull requestApr 17, 2025
…ch#150941)Summary:- Flip default value of `strict` argument from True to False on torch.export.export_for_training API- All callsites have been updated to provide this argument explicitly to avoid behavior change.- If you see any breakages, that means you may have a new callsite that is missed, please set `strict=True` explicitly to the callsite to mitigage.Test Plan: CIDifferential Revision: D72724975Pull Requestresolved:pytorch#150941Approved by:https://github.com/ydwu4
@EikanWang
Copy link
Collaborator

EikanWang commentedJun 17, 2025
edited
Loading

@gmagogsfm ,@ydwu4 since it is a break change and the comment ofstrict highlights that theFalse may result in a soundness issue, may I know the motivation to flip the default value ofstrict argument fromTrue toFalse ontorch.export.export_for_training API?

EikanWang reacted with eyes emoji

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

Reviewers

@ydwu4ydwu4ydwu4 approved these changes

@avikchaudhuriavikchaudhuriAwaiting requested review from avikchaudhuriavikchaudhuri is a code owner

@tugsbayasgalantugsbayasgalanAwaiting requested review from tugsbayasgalantugsbayasgalan is a code owner

@zhxchen17zhxchen17Awaiting requested review from zhxchen17zhxchen17 is a code owner

@angelayiangelayiAwaiting requested review from angelayiangelayi is a code owner

Assignees

No one assigned

Labels

ciflow/trunkTrigger trunk jobs on your pull requestfb-exportedMergedmodule: bc-breakingRelated to a BC-breaking changerelease notes: exporttopic: bc breakingtopic category

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@gmagogsfm@facebook-github-bot@pytorchmergebot@EikanWang@ydwu4

[8]ページ先頭

©2009-2025 Movatter.jp