Skip to main content

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.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lattice-contract 0.5.0
File Size Uploaded
lattice_contract-0.5.0.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lattice-contract 0.5.0
File Interpreter ABI Platform
lattice_contract-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / lattice_contract-0.5.0.tar.gz

Download URL lattice_contract-0.5.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6ce60ccf077501721f6a7b56669c3f210eb4603472e972b70a108f672614827c
BLAKE2b-256 checksum
How to use checksums
c0761f4c1544bc04d16865e561ec871ae1d31b00b0b0eb6dd378b8cc21c3bc7d
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.5.0-py3-none-any.whl

Download URL lattice_contract-0.5.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
363cb8b7c9294fccdbac9f17cd93eba49e632a8c1ec94d11e706f7c30fd8f77f
BLAKE2b-256 checksum
How to use checksums
02578a7bf1927b8c70a59e29fac69a3fe4d58e12d995dba6b1c56a36b0470006
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 history Release notifications | RSS feed

0.6.3

2 release files

0.6.1

2 release files

0.6.0

2 release files

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page