-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Add decomposition for aten.take_along_dim
#108185
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
Add decomposition for aten.take_along_dim
#108185
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/108185
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 0365253 with merge base 29f17e1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
torch.take_along_dimaten.take_along_dim
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.
Just a small thing. Otherwise,iIf the test pass this should be good to go.
torch/_refs/__init__.py
Outdated
| ) | ||
|
|
||
| if dim is None: | ||
| return aten.gather(a.view(-1), 0, indices.view(-1)) |
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.
Now that's in refs, this should be torch.gather.
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 jobs have failed, first few of them are: trunk / linux-focal-rocm5.6-py3.8 / test (default, 3, 3, linux.rocm.gpu) Details for Dev Infra teamRaised by workflow job |
e08311c to
39e6443
Compare
39e6443 to
e08311c
Compare
e08311c to
0365253
Compare
|
@pytorchbot merge |
Merge startedYour 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 |
xref #107875
cc @gujinghui @PenghuiCheng @XiaobingSuper @jianyuh @jgong5 @mingfeima @sanchitintel @ashokei @jingxu10 @min-jean-cho @yanbing-j @Guobing-Chen @Xia-Weiwen