E0201: backend could not parse artifact
What happened
A registered hardware backend attempted to load a .thx artifact and failed. The artifact JSON could not be parsed or the backend could not resolve its structure into a runnable model.
Why
Possible causes:
- The artifact was compiled for a different target (e.g.
sim artifact passed to a hardware backend that requires target-specific fields)
- The artifact is corrupt (see E0008, E0009)
- The backend implements an older API that does not support the current artifact format version
How to fix
- Recompile for the correct target:
thx.compile(model, "model.thx", target="loihi2").
- Verify the artifact is valid:
thrindex doctor --check model.thx.
- Check backend compatibility: ensure the backend driver version matches the artifact format version.
Example