-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Relax][PyTorch] Add support for torch.export.ExportedProgram
in Relax PyTorch Frontend
#17396
Conversation
torch.export.ExportedProgram
in Relax PyTorch Frontend
5d1261d
to
3d14562
Compare
It seems like the CI is using the old docker image |
3d14562
to
9338734
Compare
Looks like it's still using old docker image. |
Ah, https://github.com/apache/tvm/blob/main/ci/jenkins/unity_jenkinsfile.groovy#L35 needs to be manually updated for this file |
9338734
to
6cdfbab
Compare
@tvm-bot rerun |
overall LGTM, just a minor namimg nit. Thanks @mshr-h ! |
Part of #17346
To keep the PR small, this implementation only supports the Core ATen operators used in AlexNet. I'll add more support after the PR is merged.
I ran the AlexNet model from Torchvision and confirmed that the inference outputs from PyTorch and Relax match.
Here's a repro.
test_alexnet.py