-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed as not planned
Labels
module: __torch_dispatch__release notes: composabilityrelease notes categoryrelease notes categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 Describe the bug
I came across this while working on #85403.
I had to implement decompositions both for both upsample_bicubic2d.default
and upsample_bicubic2d.vec
.
The second one is CompositeExplicit
and just calls the first, so it seems I should haven't had to implement it?
However, if I don't, then then default decomp is never called in the relevant tests in test/test_decomp.py
.
You can check this by commenting out the upsample_bicubic2d_vec
in torch/_decomp/decompositions.py
in the branch above and adding an assert False
to first line of upsample_bicubic2d_default
. If you then run pytest tests/test_decomp.py -vk interpolate_bicubic
you can see that the assert never triggers.
Any thoughts @ezyang, @ngimel, @jansel, @Chillee?
Versions
Metadata
Metadata
Assignees
Labels
module: __torch_dispatch__release notes: composabilityrelease notes categoryrelease notes categorytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module