Skip to content

AttributeError: module 'polygraphy.backend.trt.util' has no attribute 'get_bindings_per_profile' #77

@hhwang98

Description

@hhwang98

when i use tensorrt , like
stream = accelerate_with_tensorrt(
stream, "engines", max_batch_size=2,
)
or set acceleration: Literal["none", "xformers", "tensorrt"] = "tensorrt", in examples/optimal-performance/single.py

i fix some bug mentioned in #19 ,finally,i get bug:AttributeError: module 'polygraphy.backend.trt.util' has no attribute 'get_bindings_per_profile'
from https://docs.nvidia.com/deeplearning/tensorrt/polygraphy/docs/_modules/polygraphy/backend/trt/util.html, it seem polygraphy.backend.trt.util has no attribute 'get_bindings_per_profile.

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