NVIDIA / TensorRT

NVIDIA® TensorRT™ is an SDK for high-performance deep learning inference on NVIDIA GPUs. This repository contains the open source components of TensorRT.
https://developer.nvidia.com/tensorrt
Apache License 2.0
10.68k stars 2.12k forks source link

demo/DemoDiffusion could not work: polygraphy.exception.exception.PolygraphyException: Could not deserialize engine. #2874

Closed artetaout closed 1 year ago

artetaout commented 1 year ago
jettan commented 1 year ago

It kind of looks like it built the clip and vae engines, but not the unet one... can you try to see that unet.plan has been built?

zerollzeng commented 1 year ago

[E] 1: [runtime.cpp::parsePlan::315] Error Code 1: Serialization (Serialization assertion plan->header.size == blobSize failed.)

Here is why it fails.

zerollzeng commented 1 year ago

I don't think I saw this error before, can you try load the engine with trtexec to see if it work?

ttyio commented 1 year ago

Closing since no activity for more than 3 weeks, pls reopen if you still have question, thanks!

demuxin commented 2 days ago

I had a similar problem and the reason was that the disk was full.

You can refer to it.