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.3.1
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.3.1.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lattice_contract-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.9 kB
Release files / lattice_contract-0.3.1.tar.gz
| Download URL | lattice_contract-0.3.1.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
507e6ea2379f25aca7b99b0d0c71e2d55fb31bf03bba55acd702a00190c19510
|
|
BLAKE2b-256 checksum How to use checksums |
0e2b5effdbc37f447d3a465eb4d82b42e447b358a4f3ab2c69820b4b71b3cd1c
|
| 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.3.1-py3-none-any.whl
| Download URL | lattice_contract-0.3.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b508de9b54b8b545dea890840f1b9981a5f669756339daaea0c8e23163f0b65
|
|
BLAKE2b-256 checksum How to use checksums |
d41499a8782fe4b7edf19ded109d9a2e3b10b248127c467a7a4b59f3c8ea821b
|
| 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}
|