Skip to content

[BUG] BuilderFlag.FP16 AttributeError with TensorRT 11.x #25

Description

@ClearPlume

tensorrt is unpinned in requirements.txt, so pip installs the latest 11.x.

TensorRT 11 removed BuilderFlag.FP16 (and all weak-typing precision flags), which breaks LoadRifeTensorrtModel:

AttributeError: type object 'tensorrt_bindings.tensorrt.BuilderFlag' has no attribute 'FP16'

Workaround: pip install "tensorrt<11"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions