Skip to main content
E0002: unsupported artifact format version

What happened

The .thx artifact declares a format version (format field) that this build of thrindex-sim does not know how to read.

Why

The artifact was compiled with a newer version of THRINDEX that introduced a new artifact format. The installed thrindex-sim predates that format.

How to fix

  1. Upgrade thrindex (recommended): pip install --upgrade thrindex. Then retry.
  2. Recompile the model with the currently installed thrindex version: run thx.compile(model, "model.thx") again.
  3. If you need to run the artifact on a pinned version of thrindex, check which format that version supports with thrindex targets.

Example

Format version history