Add support for a couple ops#79581
Conversation
[ghstack-poisoned]
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 6dc1611 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
| args = tree_map(to_cpu, args) | ||
| kwargs = tree_map(to_cpu, kwargs) | ||
|
|
||
| # TODO: full decomposition/fix |
There was a problem hiding this comment.
Add note that this is a hack due to no meta coverage. But isn't there already a meta-function for aten._embedding_bag?
There was a problem hiding this comment.
There's not, there is _embedding_bag_forward_only
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
Chillee
left a comment
There was a problem hiding this comment.
LGTM I suppose, modulo one comment.
| # https://pytorch.org/docs/stable/generated/torch.where.html | ||
| # TODO: implement alternate where | ||
| @register_decomposition(torch.ops.aten.where) | ||
| @register_decomposition(torch.ops.aten.where, disable_meta=True) |
There was a problem hiding this comment.
just modify this to torch.ops.aten.where.self
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Merge failed due to Refusing to merge as mandatory check(s) pull failed for rule superuser |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
|
@pytorchbot merge this |
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @eellison. |
|
❌ 🤖 pytorchbot command failed: Try |
Summary: Pull Request resolved: #79581 Approved by: https://github.com/Chillee Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/9705fb03b32a084ac669d5bd8af7a2f13ff44e6a Reviewed By: atalman Differential Revision: D37311464 Pulled By: eellison fbshipit-source-id: 24d7be96da8ae62806a4a69ed011dfbf69a36de6
Pull Request resolved: pytorch#79581 Approved by: https://github.com/Chillee
Pull Request resolved: pytorch#79581 Approved by: https://github.com/Chillee
Stack from ghstack (oldest at bottom):