Skip to content

Stable Diffusion BUG #2560

@triple-Mu

Description

@triple-Mu

Description

When I execute LD_PRELOAD=/workspace/project/TensorRT/build/out/libnvinfer_plugin.so python3 demo-diffusion.py "a beautiful photograph of Mt. Fuji during cherry blossom" --hf-token=$HF_TOKEN -v, I am not able to successfully run the given example.

[E] 9: [pluginV2Builder.cpp::reportPluginError::23] Error Code 9: Internal Error (fMHA_0: could not find any supported formats consistent with input/output data types)
[E] 2: [builder.cpp::buildSerializedNetwork::751] Error Code 2: Internal Error (Assertion engine != nullptr failed. )
[!] Invalid Engine. Please ensure the engine was built correctly

https://github.com/NVIDIA/TensorRT/tree/release/8.5/demo/Diffusion

Environment

TensorRT Version: 8.5.2.2
NVIDIA GPU: v100
NVIDIA Driver Version:470.82.01
CUDA Version: 11.4
CUDNN Version: 8.4
Operating System: ubuntu
Python Version (if applicable):
Tensorflow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if so, version):

Relevant Files

Steps To Reproduce

Metadata

Metadata

Assignees

Labels

triagedIssue has been triaged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions