-
Notifications
You must be signed in to change notification settings - Fork 359
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
chore: remove aten.full decomposition #2954
Conversation
We should have a converter for |
I think the previous comment got deleted. I had another question-
Regarding the decomposition, don't know, may be we could create a converter, but a decomposition would come first in my head when I think of aten.full. Why would a converter be preferred? Would it lead to the same errors you mentioned in the PR description if we did decomposition from torch-tensorrt side? |
From my understanding, |
Ok I can implement a converter for |
@apbose |
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
Description
aten.full is being decomposed into aten.full_like + additional operators as follows
I'm not sure if this is needed. There's additional failures due to this because
_to_copy
has capability validators which get invalidated and you see "Conversion for _to_copy node" is not supported errors.In torch decompositions, seems like they have removed it https://github.com/pytorch/pytorch/blob/main/torch/_decomp/__init__.py
Type of change
Checklist: