Skip to content
module

serialization

7 members
lucid.serialization

lucid.serialization: save and load tensors and modules.

The wire format goes through the engine's to_bytes / from_bytes contract — no numpy round-trip, so checkpoints can be loaded in a numpy-free environment. Format version 3 records the dtype as the canonical Lucid name ("float32", "int64", …) instead of the numpy str(arr.dtype) it used in v1/v2.

Classes

Functions