Skip to content

Version mismatch while running engine files #194

Description

@abd-gang

Hi

I am using tensorrt-edgellm for quantising the Cosmos reason 2 model into fp8.

Once done with quantization, I am running in a different docker and getting this error -


[08/25/2026-14:46:02] [TRT] [E] IRuntime::deserializeCudaEngine: Error Code 1: Serialization (Serialization assertion stdVersionRead == kSERI
ALIZATION VERSION failed.Version tag does not match. Note: Current Version: 243, Serialized Engine Version: 240 In stdArchiveReaderInitCommon
at /src/runtime/deserialization/stdArchiveReader.cpp:49)
,2026-08-25 14:46:02,935][
main_ _][ERROR] - [rank: 0] Hybrid evaluation failed: 'NoneType' object has no attribute "create execution context


I thought this is the tensorrt version issue so I used the same tensorrt==11.2.1.2 but still gor the issue.

Here are the key points -

  1. Engine for cosmos reason 2 is built using tensorrt-edgellm
  2. I am trying to run in a different docker with no tensorrt-edgellm but only tensorrt
  3. Both the docker has same tensorrt version.

Question -

  1. Is it possible to build engine using tensorrtedgellm and run it separately using just tensorrt on the same platform?
  2. What does the error says exactly? Which version of tensorrt corresponds to engine version 240 amd 243.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions