pytorch / pytorch/TensorRT

✨[Feature] Is there a plan to support to convert quantized PT2 to trt ?

Open
#3,471 3 comments 0 reactions 1 assignee View on GitHub

@micwill755 is already working on this.

Since Jul 30, 2026.

feature request story: Quantization & Precision
Dominant language
Python
Stars
3k
Forks
410
Avg merge
3d 18h
Merged PRs (30d)
78

Description

when i use torch-tensorrt 2.4.0 to convert a quantized PT2 to trt, i got this error blow.

Image

I wonder whether it will support in ther future? Or, i am able to do this based on the current version (maybe through converting the torch.ops.quantized_decomposed.dequantize_per_tensor.default operator to other quantization operator? ).

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.