-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i use torch2trt with bert model——AttributeError: 'Tensor' object has no attribute '_trt' #628
Comments
Warning: Encountered known unsupported method torch.Tensor.hash |
The error occurs because You will have to do one of the following:
|
I am facing similar error with bert model. Working on this example.
tensorrt=6.0.1.8 |
which operators can |
|
Coming back to this topic, are all the devices (such as input tensors, model) on the same gpu device or on multiple devices?
|
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?
The text was updated successfully, but these errors were encountered: