FP16 model compilation failure with TensorRT 11.5.0.63 on 4090 RTX

Ouverte
#4,945 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 6 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
cpp

Piste de recherche

Start by reproducing with the attached model.onnx.zip using trtexec --onnx=model.onnx --saveEngine=engine.trt on TensorRT 11.5.0.63; compare the result with TensorRT 10.16.1.11 and inspect the attached failure log. The report narrows the failure to an FP16 grouped Conv in a minimal ONNX graph. Done means identifying and fixing the TensorRT compilation failure while preserving the reported FP32 and older-version behavior.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Module:ONNX

Some models with FP16 precision fail to compile from ONNX format with error like this:

[11/18/2026-21:41:19] [W] [TRT] No low-precision conv kernel available for this strongly-typed Conv/ConvTranspose. Consider keeping Conv/ConvTranspose and Q/DQ ops in FP32 (e.g. via modelopt.onnx.autocast.convert_to_f16 with op_block_list=['Conv','ConvTranspose','QuantizeLinear','DequantizeLinear']). Failing node: conv
[11/18/2026-21:41:19] [E] Error[10]: IBuilder::buildSerializedNetworkToStream: Error Code 10: Internal Error (Could not find any implementation for node conv. In computeCosts at /_src/optimizer/common/tactic/optimizer.cpp:4235)

TensorRT 10.16.1.11 compiles these models successfully. Also, FP32 works normally in TensorRT 11.5.0.63.

I reproduced the error with the simplest ONNX sample consisted of Input->Cast(FP16)->Conv(Grouped)->Cast(FP32)->Output (attachead model.onnx.zip)
Probably problem related to group Conv optimizations.

Full failure log attached: 11.5.0.63.log

I had this issue since TensorRT 11.2.1.2 (I haven't tried versions between 10.16.1.11 and 11.2.1.2), and I thought that it is the same issue as earlier reported #4838, but I can confirm that previous issue was fixed in latest TensorRT.

Environment

TensorRT Version: 11.5.0.63

NVIDIA GPU: 4090 RTX

NVIDIA Driver Version: 620.70.06

CUDA Version: 13.3

Operating System: Ubuntu 22.04

Steps To Reproduce

Commands or scripts: trtexec --onnx=model.onnx --saveEngine=engine.trt

Have you tried the latest release?: Yes

Can this model run on other frameworks? For example run ONNX model with ONNXRuntime (polygraphy run <model.onnx> --onnxrt):Yes

Langage dominant
C++
Étoiles
13.5k
Forks
2.4k
Merge moyen
6 j 21 h
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de NVIDIA/TensorRT

Toutes les issues de NVIDIA/TensorRT

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.