-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[dynamo][hops] Use flatten_automatic for local_map #170258
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
base: gh/anijain2305/982/base
Are you sure you want to change the base?
Conversation
See the passing test now. Dynamo lifts the tensor args in order, which is the requirement for local_map. [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/170258
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 3 Unrelated FailuresAs of commit e1d7fa7 with merge base 7ca3ac5 ( NEW FAILURE - The following job has failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
See the passing test now. Dynamo lifts the tensor args in order, which is the requirement for local_map. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx kadeng chauhang amjames Lucaskabela jataylo [ghstack-poisoned]
|
Nice. Q: What happens when we have interleaved tensors and non-tensors, do the tensor inputs get lifted in order first? e.g. |
Yes, only tensors get lifted. obj will be flattened, and if they have tensors, they will be lifted. |
See the passing test now. Dynamo lifts the tensor args in order, which is the requirement for local_map. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx kadeng chauhang amjames Lucaskabela jataylo [ghstack-poisoned]
xmfan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I verified this PR works with Autoparallel examples and in torchtitan
Stack from ghstack (oldest at bottom):
See the passing test now. Dynamo lifts the tensor args in order, which
is the requirement for local_map.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @kadeng @chauhang @amjames @Lucaskabela @jataylo