Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[E] 3: getPluginCreator could not find plugin: InstanceNormalization_TRT version: 1 when building engine with latest TRT_VERSION="10.0.0b6" #315

Open
lxe opened this issue Apr 16, 2024 · 0 comments

Comments

@lxe
Copy link

lxe commented Apr 16, 2024

When building engine with latest TRT_VERSION="10.0.0b6" (controlnet_v2 branch), I get this:

[E] 3: getPluginCreator could not find plugin: InstanceNormalization_TRT version: 1
[E] 3: getPluginCreator could not find plugin: InstanceNormalization_TRT version: 1
[E] ModelImporter.cpp:826: While parsing node number 26 [InstanceNormalization -> "/input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/InstanceNormalization_output_0"]:
[E] ModelImporter.cpp:829: --- Begin node ---
    input: "/input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/Reshape_output_0"
    input: "/input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/Constant_1_output_0"
    input: "/input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/Constant_2_output_0"
    output: "/input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/InstanceNormalization_output_0"
    name: "/input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/InstanceNormalization"
    op_type: "InstanceNormalization"
    attribute {
      name: "epsilon"
      f: 1e-05
      type: FLOAT
    }
[E] ModelImporter.cpp:832: --- End node ---
[E] ModelImporter.cpp:834: ERROR: importerUtils.cpp:1073 In function instanceNormPluginHelper:
    [8] Assertion failed: plugin != nullptr: InstanceNormalization plugin was not found in the plugin registry!
[E] In node 26 with name: /input_blocks.1/input_blocks.1.0/in_layers/in_layers.0/InstanceNormalization and operator: InstanceNormalization (instanceNormPluginHelper): UNSUPPORTED_NODE: Assertion failed: plugin != nullptr: InstanceNormalization plugin was not found in the plugin registry!
[!] Could not parse ONNX correctl

Found a workaround here: onnx/onnx-tensorrt#597 (comment), and placed it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant