-
Notifications
You must be signed in to change notification settings - Fork 346
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
Cannot convert TF-Text Tokenizer to TensorRT #486
Comments
Hi @dshahrokhian - thanks for this report. This seems like a limitation of TensorRT when it comes to converting lookup tables (or other objects that require DT_RESOURCE tensors.) Do you know if TensorRT has a way to support these types of objects? |
Hey @markomernick thanks for the response. I am not sure, but given the traceback I assumed that this had more to do with TF-TRT than with TensorRT. Will create an issue on their page too and reference it. |
@sanjoy can you help take a look at this issue? |
CC @bixia1 |
System information
Describe the current behavior
Whenever I try to convert a model containing the tokenizer as subgraph, I get an error.
Describe the expected behavior
It should just convert it.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1_S37VihkTZ1B0HgjW8D7DMZcI8nwz2Bk
Other info / logs
The text was updated successfully, but these errors were encountered: