Open johnzlli opened 9 months ago
This PR might be helpful for type issues: https://github.com/pytorch/TensorRT/pull/2469 However, I would recommend using Dynamo path since which is being actively supported right now. Thanks!
This PR might be helpful for type issues: #2469 However, I would recommend using Dynamo path since which is being actively supported right now. Thanks!
Thanks for your reply! It seems that this PR do not fix the issues and the bug is still active.
Bug Description
When running the compiled LSTM model for half dtype with torch-tensorrt, I get this errors:
RuntimeError: Input and parameter tensors are not the same dtype, found input tensor with Float and parameter tensor with Half
Here is the test code:
Expected behavior
Environment
conda
,pip
,libtorch
, source):Additional context