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

can not "polygraphy run camera.test.onnx " with pytorch-quantization #3788

Closed
XuechenCao opened this issue Apr 9, 2024 · 3 comments
Closed
Assignees
Labels
triaged Issue has been triaged by maintainers

Comments

@XuechenCao
Copy link

Description

can not polygraphy run camera.test.onnx with pytorch-quantization
[E] 2: Assertion static_cast<size_t>(c) < mSet.size() failed.
[E] 2: [cgraph.h::assertIsValidSubscript::161] Error Code 2: Internal Error (Assertion static_cast<size_t>(c) < mSet.size() failed. )
[!] Invalid Engine. Please ensure the engine was built correctly
[E] FAILED | Runtime: 128.925s | Command: /root/miniconda3/bin/polygraphy run camera.test.onnx --trt --validate --trt-outputs mark all --save-results=trt_out.json --int8 --fp16

Environment

TensorRT Version:8.6

NVIDIA GPU:4090

NVIDIA Driver Version: 535.104.05

CUDA Version:12.2

CUDNN Version:

@zerollzeng
Copy link
Collaborator

Does it work if you don't specify --trt-outputs mark all?

@zerollzeng zerollzeng self-assigned this Apr 12, 2024
@zerollzeng zerollzeng added the triaged Issue has been triaged by maintainers label Apr 12, 2024
@ttyio
Copy link
Collaborator

ttyio commented May 7, 2024

closing since no activity for more than 3 weeks per our policy, thanks all!

@ttyio ttyio closed this as completed May 7, 2024
@J-xinyu
Copy link

J-xinyu commented Dec 17, 2024

I encountered the same problem when I used --trt-outputs mark all for my QDQ model,but it work if i don't specify --trt-outputs mark all, have any the effective solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

4 participants