Skip to content

How to make stable TensorRT fp16 inference? #246

@JohnHerry

Description

@JohnHerry

Execuse me, I am tring a dit based model on speech(audio) generation. the result is good when inference with fp32 weights and activations, but when inference with fp16, most value are overflow; while with bf16, the generated samples are poluted with noises. So is there any exeperice on DiT-based models quantition after training? with the pytorch->onnx->tensorrt pipeline, thanks.

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