[BUG]: ModuleNotFoundError: No module named 'tensorrt' when using morpheus tools in nlp-si-detection example #1979
Labels
bug
Something isn't working
external
This issue was filed by someone outside of the Morpheus team
Needs Triage
Need team to review and classify
Version
24.10-release
Which installation method(s) does this occur on?
Source
Describe the bug.
when running the
sid-minibert-trt
model I am trying to create themodel.plan
for thesid-minibert-onnx
modelbased on the README.md instruction here. using the command below from within the release container: it says morpheus not found.morpheus tools onnx-to-trt --input_model ../../sid-minibert-onnx/1/model.onnx --output_model ./model.plan --batches 1 8 --batches 1 16 --batches 1 32 --seq_length 256 --max_workspace_size 16000
Minimum reproducible example
(morpheus) root@tme-vrl135-2:/workspace/models/triton-model-repo/sid-minibert-trt/1# morpheus tools onnx-to-trt --input_model ../../sid-minibert-onnx/1/sid-minibert.onnx --output_model ./sid-minibert-trt_b1-8_b1-16_b1-32.engine --batches 1 8 --batches 1 16 --batches 1 32 --seq_length 256 --max_workspace_size 16000
Usage: morpheus tools onnx-to-trt [OPTIONS]
Try 'morpheus tools onnx-to-trt --help' for help.
changed this path: '../../sid-minibert-onnx/1/sid-minibert.onnx to '../../sid-minibert-onnx/1/model.onnx now the error is a module issue
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: