Skip to content

Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" #5

@Jorbo19

Description

@Jorbo19

[05/25/2023-17:02:42] [TRT] [I] [MemUsageChange] Init CUDA: CPU +274, GPU +0, now: CPU 7106, GPU 1126 (MiB)
[05/25/2023-17:02:42] [TRT] [I] [MemUsageSnapshot] Begin constructing builder kernel library: CPU 7170 MiB, GPU 1126 MiB
[05/25/2023-17:02:43] [TRT] [I] [MemUsageSnapshot] End constructing builder kernel library: CPU 7233 MiB, GPU 1126 MiB
workspace: 6
[libprotobuf WARNING E:\Perforce\rboissel_devdt_windows\sw\gpgpu\MachineLearning\DIT\dev\nvmake\externals\protobuf\3.0.0\src\google\protobuf\io\coded_stream.cc:604] Reading dangerously large protocol message. If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons. To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING E:\Perforce\rboissel_devdt_windows\sw\gpgpu\MachineLearning\DIT\dev\nvmake\externals\protobuf\3.0.0\src\google\protobuf\io\coded_stream.cc:81] The total number of bytes read was 1234012060
[05/25/2023-17:02:44] [TRT] [I] ----------------------------------------------------------------
[05/25/2023-17:02:44] [TRT] [I] Input filename: onnx\vit_l_embedding.onnx
[05/25/2023-17:02:44] [TRT] [I] ONNX IR version: 0.0.7
[05/25/2023-17:02:44] [TRT] [I] Opset version: 13
[05/25/2023-17:02:44] [TRT] [I] Producer name: pytorch
[05/25/2023-17:02:44] [TRT] [I] Producer version: 2.0.1
[05/25/2023-17:02:44] [TRT] [I] Domain:
[05/25/2023-17:02:44] [TRT] [I] Model version: 0
[05/25/2023-17:02:44] [TRT] [I] Doc string:
[05/25/2023-17:02:44] [TRT] [I] ----------------------------------------------------------------
[libprotobuf WARNING E:\Perforce\rboissel_devdt_windows\sw\gpgpu\MachineLearning\DIT\dev\nvmake\externals\protobuf\3.0.0\src\google\protobuf\io\coded_stream.cc:604] Reading dangerously large protocol message. If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons. To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING E:\Perforce\rboissel_devdt_windows\sw\gpgpu\MachineLearning\DIT\dev\nvmake\externals\protobuf\3.0.0\src\google\protobuf\io\coded_stream.cc:81] The total number of bytes read was 1234012060
[05/25/2023-17:02:47] [TRT] [W] onnx2trt_utils.cpp:366: Your ONNX model has been generated with INT64 weights, while TensorRT does not natively support INT64. Attempting to cast down to INT32.
[05/25/2023-17:02:47] [TRT] [I] No importer registered for op: Mod. Attempting to import as plugin.
[05/25/2023-17:02:47] [TRT] [I] Searching for plugin: Mod, plugin_version: 1, plugin_namespace:
[05/25/2023-17:02:47] [TRT] [E] ModelImporter.cpp:773: While parsing node number 16 [Mod -> "/blocks.0/Mod_output_0"]:
[05/25/2023-17:02:47] [TRT] [E] ModelImporter.cpp:774: --- Begin node ---
[05/25/2023-17:02:47] [TRT] [E] ModelImporter.cpp:775: input: "/blocks.0/Constant_output_0"
input: "/blocks.0/Constant_1_output_0"
output: "/blocks.0/Mod_output_0"
name: "/blocks.0/Mod"
op_type: "Mod"
attribute {
name: "fmod"
i: 0
type: INT
}

[05/25/2023-17:02:47] [TRT] [E] ModelImporter.cpp:776: --- End node ---
[05/25/2023-17:02:47] [TRT] [E] ModelImporter.cpp:779: ERROR: builtin_op_importers.cpp:4870 In function importFallbackPluginImporter:
[8] Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"
Traceback (most recent call last):
File "E:/pose/segment-anything/notebooks/demo.py", line 432, in
export_engine_image_encoder()
File "E:/pose/segment-anything/notebooks/demo.py", line 256, in export_engine_image_encoder
raise RuntimeError(f'failed to load ONNX file: {onnx}')
RuntimeError: failed to load ONNX file: onnx\vit_l_embedding.onnx

Process finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions