NVIDIA / NVIDIA/TensorRT

quantified ONNX int8 model transform to engine?

Open
#4,542 4 comments 0 reactions 1 assignee View on GitHub

@kevinch-nv is already working on this.

Since Aug 14, 2025.

Module:Quantization triaged
Dominant language
C++
Stars
13.4k
Forks
2.4k
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Description

Hey,guys! I met a problem when i trying to using a quantified ONNX int8 model to transform to engine file.I don't even know that how to solve.I have already tried searching similar issue or questions.There is my error information:

Image

Here is my yolov8n_int8 onnx graph and next is the code export with onnx :
Image

Image

Environment

python version: 3.11.9
tensorrt version:10.6.0
onnxruntime version:1.20.0
GPU: rtx3090

Maybe there's something wrong with the way I quantify?Anyway,thanks for your reply!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.