lattice-contract
lattice-contract is the backend-neutral artifact contract package used by
mlx-lattice and future training-side exporters.
The forward contract is MLIR-first. Dialect declarations live in one annotated Python schema and generate the textual MLIR builder surface at import time, so exporters do not hand-maintain op-name and attribute-name maps.
It intentionally does not import MLX, Torch, native extensions, or backend
runtime objects. The exchange target is graph.mlir + weights.safetensors;
shallow package metadata can be added later, but graph semantics belong in
MLIR.
The package exports the artifact ABI constants used by builders and importers:
CURRENT_DIALECT_VERSION, DIALECT_SCHEMA_DIGEST, ARTIFACT_GRAPH_FILE,
and ARTIFACT_WEIGHT_FILE.
Metadata
Release files for lattice-contract 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lattice_contract-0.4.0.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lattice_contract-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / lattice_contract-0.4.0.tar.gz
| Download URL | lattice_contract-0.4.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
954f77c1459186b9fd6107e8135d4c58e5dc03ff89a9133e3b17656587cc1509
|
|
BLAKE2b-256 checksum How to use checksums |
afe934d0557fb7cb2946dc232ca47db35363a8be9a106feafae364cf353ffbee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / lattice_contract-0.4.0-py3-none-any.whl
| Download URL | lattice_contract-0.4.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79954905c031b3e6bfd16e59f8ae6418740102b93259c06e515e04842ed84ded
|
|
BLAKE2b-256 checksum How to use checksums |
f28292dd44ed1e51f910cee65c1428b6aadf3b696c807bd97f79911a62fdf144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|