Metadata-Version: 2.4
Name: lattice-contract
Version: 0.2.1
Summary: Backend-neutral sparse lattice artifact contract
Author-email: "Z.Y. Lin" <me@iki.moe>
License-Expression: MIT
Keywords: ir,lattice,model-artifact,sparse
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# lattice-contract

`lattice-contract` is the backend-neutral artifact contract package used by
`mlx-lattice`.

It contains the sparse model manifest dataclasses, validation helpers, value
type names, and operation-contract annotations. It intentionally does not
import MLX, Torch, native extensions, or backend runtime objects.

This package exists so training-side and deployment-side tools can share the
same sparse graph contract while keeping their execution stacks independent.
