Skip to content

How can i use torch2trt with bert model——AttributeError: 'Tensor' object has no attribute '_trt' #628

@sunM123

Description

@sunM123

when i use bert model trained by pytorch , i have trouble like " has no attribute '_trt'", how can i change the model to trt type?

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