-
Notifications
You must be signed in to change notification settings - Fork 355
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
🐛 [Bug] Cannot compile scripted model with torch-tensorrt #1536
Comments
@Shahrullo Can you provide information on what your system config is and what version you are using? |
@narendasan Here are the config info:
|
@Shahrullo can you try latest version 1.3? |
@bowang007 Thank you very much for the response. Indeed, I'll try it with 1.3 |
Dear @bowang007, I tried with the latest
Further debuggingWhen I run with
It is giving unsupported operators error
Final tought:I successfully compile with the Script model. Aren't the |
Hey @Shahrullo , for the first bug, For the second bug, it shouldn't happen if you enable the operators fallback, please refer to this page: |
@bowang007, I set
|
Hey @Shahrullo , can you print logs and post it here ? something like: |
This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days |
Bug Description
I successfully scripted custom model but cannot compile with torch-tensorrt. The model takes two stereo images and outputs single estimated depth. Scripted model is working fine but cannot compile it. Samples from the Pytorch official are working and compiling fine but not mine. That's why there is no need to define environment.
It results the following error
Additional context
For example, the following sample data is working with the scripted model:
The text was updated successfully, but these errors were encountered: