-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[Relay][Pytorch] Add aten::new_ones, aten::new_full, aten::fill_, aten::pad, aten::reshape_as and atem::empty_like #11896
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
masahi
left a comment
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.
Please add tests. If verify_model cannot be used, we can always manually compile, set input, and run.
|
@masahi Tests are added. Should be good to take another look. |
|
@tvm-bot rerun |
|
@masahi It is possible that tests for |
|
Did they ever fail in your local testing? |
|
@masahi Local testing no. But there is one CI failure: This is the stacktrace: looks like those two tensors should pass the |
|
it's since failed a few times on |
…n::pad, aten::reshape_as and atem::empty_like (apache#11896) * add new ops * fix pad * fix pad * remove pad * fix CI * remove doc * fix fill_ * add tests
…n::pad, aten::reshape_as and atem::empty_like (apache#11896) * add new ops * fix pad * fix pad * remove pad * fix CI * remove doc * fix fill_ * add tests
…n::pad, aten::reshape_as and atem::empty_like (apache#11896) * add new ops * fix pad * fix pad * remove pad * fix CI * remove doc * fix fill_ * add tests
This PR intends to add the following five ops for the pytorch frontend:
- aten::pad(This op is relocated to [PyTorch] [Relay] Add aten::pad #11922 )Note that arguments to the above ops will be changed by relay at runtime so
verify_modelwon't work on them.cc: @masahi @junrushao1994 @zxybazh