-
Notifications
You must be signed in to change notification settings - Fork 352
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
feat: Automatically generating converters for QDP plugins #3321
Conversation
1e948de
to
ad9ae9a
Compare
ad9ae9a
to
c99569e
Compare
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
c99569e
to
dfa9168
Compare
QDP was added in 10.6 which breaks support for 10.3-10.5 |
with torchtrt.logging.errors(): | ||
model_trt = torchtrt.compile(my_model, inputs=[m, n], debug=True, min_block_size=1) | ||
for i in range(300): | ||
res = model_trt(m, n) | ||
print(res) |
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.
remove debug = True ? Consider adding a small part of dryrun log which shows this graph is fully supported now (no graph breaks) as comments for illustration.
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.
Will address this post branch cut
|
||
import numpy as np | ||
|
||
# Seems like a bug in TensorRT |
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.
what is the bug here ?
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.
You need to import from tensorrt_bindings and cant import from tensorrt
Description
Automatically generate converters for QDP plugins + example
Fixes # (issue)
Type of change
Please delete options that are not relevant and/or add your own.
Checklist: