Skip to content
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

Match pattern failed when building TRT engine #74

Open
CaptainRui1000 opened this issue Sep 13, 2024 · 1 comment
Open

Match pattern failed when building TRT engine #74

CaptainRui1000 opened this issue Sep 13, 2024 · 1 comment
Assignees

Comments

@CaptainRui1000
Copy link

error info:
Image

model structure:
Image

model onnx:
https://drive.google.com/file/d/1gP568tWTZXISpwbB7r76xXwudR61_z0k/view?usp=sharing

I used the recommended function and default parameters to ptq
Image

@riyadshairi979 riyadshairi979 self-assigned this Sep 18, 2024
@riyadshairi979
Copy link
Collaborator

riyadshairi979 commented Sep 18, 2024

Pass high_precision_dtype="fp32" and --op_types_to_quantize=["Conv"] to quantize() function. Then compilation with trtexec should work.

But I see that trtexec --onnx=LightStereo-S-KITTI.preprocessed.onnx --best gives the best runtime of 4.1084 ms, while modelopt quantized output ONNX with above parameters gives 5.04126 ms. We are working on this gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants