Description
While loading the attached onnx, verify that all of its operators are supported parse it successfully, after the build_engine API is called and start to report a lot of verbose messages, suddenly it stop and the last verbose report is:
Timing Runner: {ForeignNode[72…Transpose_1454 + Reshape_1461]} (Myelin)
No excpetion or Python error is reported
Environment
TensorRT Version: 8.2.2.1
GPU Type: Quadro RTX 3000
Nvidia Driver Version: 471.11
CUDA Version: 11.2
CUDNN Version: 8.1.1
Operating System + Version: Windows 10
Python Version (if applicable): 3.6.8
TensorFlow Version (if applicable): NA
PyTorch Version (if applicable): NA
Baremetal or Container (if container which image + tag): Baremetal
Relevant Files
Model.onnx (778.9 KB)
Steps To Reproduce
Perform the following commands:
builder = trt.Builder(TRT_LOGGER)
network = builder.create_network(common.EXPLICIT_BATCH)
config = builder.create_builder_config()
parser = trt.OnnxParser(network, TRT_LOGGER)
model_file = 'Model.onnx'
config.max_workspace_size = common.GiB(1)
# Load the Onnx model and parse it in order to populate the TensorRT network.
with open(model_file, 'rb') as model:
if not parser.parse(model.read()):
print ('ERROR: Failed to parse the ONNX file.')
for error in range(parser.num_errors):
print (parser.get_error(error))
return None
config.profiling_verbosity = trt.ProfilingVerbosity.DETAILED
return builder.build_engine(network, config)