Skip to content

Incorrect output when using FP16 input after TensorRT conversion #1852

@zgspose

Description

@zgspose

I’m running into a strange issue.
Before converting my model to TensorRT, using FP16 for both the input and the model works fine, and the output is correct.
However, after converting the model to TensorRT, FP16 inputs produce incorrect results, while FP32 inputs work as expected.

This behavior is unexpected — is there a known reason why FP16 inputs would cause wrong outputs after TensorRT conversion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions