The size of tensorrt's engine is different

When I used engine->serialize() to save the tensorrt’s engine,I found the file’s size is different.That’s right?

can you clarify what you mean by “file size is different”? different compared to?

I used the command “giexec --deploy=resnet_50_deploy.prototxt --output=fc1000 --engine=resnet_50_deploy.tensorrt” to evaluate the resnet50,but I found the size of “resnet_50_deploy.tensorrt” is different when I run the command every time.


It is expected that the same engine rebuilt may have different serialization sizes (due to variability in layer timings, etc).

NVIDIA Enterprise Support