I got warning when converting from .onnx to engine
[06/13/2023-07:58:32] [TRT] [I] Some tactics do not have sufficient workspace memory to run. Increasing workspace size will enable more tactics, please check verbose output for requested sizes.
Hi,
Request you to share the ONNX model and the script if not shared already so that we can assist you better.
Alongside you can try few things:
validating your model with the below snippet
check_model.py
import sys
import onnx
filename = yourONNXmodel
model = onnx.load(filename)
onnx.checker.check_model(model).
2) Try running your model with trtexec command.
In case you are still facing issue, request you to share the trtexec “”–verbose"" log for further debugging
Thanks!
@AakankshaS Thanks. Please focus on my question. But my questions is about how to set workspace in Tensorrt Python API. And I want to confirm that, my above setting is correct or not?
@spolisetty Please help me with your guide. Thank you so much.