-
Notifications
You must be signed in to change notification settings - Fork 630
Support decomposition of torch.broadcast_tensors #4253
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
Conversation
@sahas3 , @vivekkhandelwal1 can you please review ? The failing checks are unrelated to the change and similar failures are seen for other recent PRs |
Hi @vivekkhandelwal1, can you please provide your feedback ? |
@zjgarvey I am not sure who is the code owner who could review this change. Can you please provide feedback on this if possible ? |
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.
Thanks! A few things to address before approval (most importantly the potentially wrong check on shape index).
I'll re-review tomorrow morning, thanks for the update. |
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.
This looks good, but I have a few small suggestions after looking through again. Let me know what you think and I can re-review/approve/merge.
Mostly I think improving the folder would be nice, and it would be good to give the "reverse dim" indices names in the broadcast util function (+ some other nit suggestions there).
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. Thanks for addressing the feedbacks/clarifications.
Looks like the version I'll wait for @zjgarvey's final approval before merging. Thanks! |
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.
We need to wait for #4298 to land and sync with main to unblock CI.
Thanks for the changes.
Looks good, let me know if you want me to merge! |
Yes it would be great if you can help merge ! |
Added support for torch.broadcast op and decomposition of broadcast_tensor to a sequence of aten.broadcast_to
closes #4240