Lucid3.0
DocsAPI ReferenceChangelog
Tensorlucid.Tensor88
Tensor Creation23
Tensor Operations158
Autogradlucid.autograd18
Distributionslucid.distributions57
Einopslucid.einops4
FFTlucid.fft22
Functional Transformslucid.func9
Linear Algebralucid.linalg39
Mixed Precisionlucid.amp1
Neural Networkslucid.nn168
Optimizerslucid.optim29
Profilerlucid.profiler6
Serializationlucid.serialization6
savefloadfsave_shardedfload_shardedfsave_safetensorsfload_safetensorsf
Signallucid.signal12
Special Functionslucid.special38
module

serialization

6 members
lucid.serialization

lucid.serialization: save and load tensors and modules.

Functions

fnsave→ None

Serialise `obj` to a Lucid-format checkpoint file.

fnload→ object

Load an object saved by `save` or `save_safetensors`.

fnsave_sharded→ None

Save `obj` as a sharded, self-describing checkpoint directory.

fnload_sharded→ OrderedDict or object

Load a sharded checkpoint directory written by `save_sharded`.

fnsave_safetensors→ None

Save a flat state dict as a SafeTensors file.

fnload_safetensors→ dict of str to Tensor

Load a SafeTensors file into a flat state dict.

Lucid3.0

Production-grade ML framework for Apple Silicon. MLX + Accelerate native backend.

Documentation

  • Quickstart
  • Installation
  • Autograd
  • Metal Device

API Reference

  • lucid.Tensor
  • lucid.nn
  • lucid.optim
  • lucid.autograd

Resources

  • GitHub(opens in new tab)
  • Changelog

© 2026 Lucid. Built for Apple Silicon.

Python 3.14+ · macOS arm64