-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Feature RequestRequest for new functionalityRequest for new functionalityModule:SamplesIssues when using TensorRT samples under the samples/ directory, including usage with trtexecIssues when using TensorRT samples under the samples/ directory, including usage with trtexectriagedIssue has been triaged by maintainersIssue has been triaged by maintainers
Description
Description
When running trtexec with the --saveEngine
flag pointing to an invalid or unwritable path, the tool proceeds to parse the ONNX model and build the engine. However, it only fails at the very end when attempting to serialize the engine, wasting time and resources.
This issue is created to introduce the following pull request: #4449
Environment
This issue should occur regardless of the system configuration.
Steps To Reproduce
trtexec --onnx=model.onnx --saveEngine=/invalid_path/engine.trt
Metadata
Metadata
Assignees
Labels
Feature RequestRequest for new functionalityRequest for new functionalityModule:SamplesIssues when using TensorRT samples under the samples/ directory, including usage with trtexecIssues when using TensorRT samples under the samples/ directory, including usage with trtexectriagedIssue has been triaged by maintainersIssue has been triaged by maintainers