Skip to content

Conversation

jhadidjojo
Copy link
Contributor

@jhadidjojo jhadidjojo commented Dec 11, 2024

Resolves issue #140464 by adding an option to not specialize int from nn.Modules (False by default to maintain existing behavior).

Test Plan: buck2 test mode/opt caffe2/test/dynamo:test_dynamo -- test_modules.py::NNModuleTests::test_nn_module_unspec_int_attr

Differential Revision: D66837042

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames

Copy link

pytorch-bot bot commented Dec 11, 2024

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 64924d1 with merge base bd7d81d (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66837042

@jhadidjojo
Copy link
Contributor Author

@pytorchbot label "release notes: dynamo"

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66837042

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66837042

@jhadidjojo
Copy link
Contributor Author

@pytorchbot merge

Copy link

pytorch-bot bot commented Dec 11, 2024

This PR needs to be approved by an authorized maintainer before merge.

@jhadidjojo jhadidjojo requested a review from ezyang December 11, 2024 23:54
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 12, 2024
@ezyang ezyang requested a review from yanboliang December 12, 2024 00:23
Summary:
Resolves issue [pytorch#140464](pytorch#140464) by adding an option to not specialize int from nn.Modules (False by default to maintain existing behavior).


Test Plan:
`buck2 test mode/opt caffe2/test/dynamo:test_dynamo -- test_modules.py::NNModuleTests::test_nn_module_unspec_int_attr`

Also stepped through the repro in [pytorch#140464](pytorch#140464) to confirm that, with the flag set to True, the int is no longer specialized.

Reviewed By: ezyang, yanboliang

Differential Revision: D66837042
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66837042

@jhadidjojo
Copy link
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

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

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@jhadidjojo
Copy link
Contributor Author

@pytorchbot merge -f "Failures unrelated"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

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.

5 participants