Skip to main content

Backend-neutral sparse lattice artifact contract

Project description

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, operation-contract annotations, and the canonical built-in semantic op registry. Built-ins are exported as contract objects such as SPARSE_CONV3D, FEATURE_LINEAR, and POOL_GLOBAL_AVG; backend packages bind implementations to those objects instead of independently maintaining op-name and schema strings.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lattice_contract-0.2.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lattice_contract-0.2.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file lattice_contract-0.2.2.tar.gz.

File metadata

  • Download URL: lattice_contract-0.2.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for lattice_contract-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e9191dfc7a9b8c1a38e438ff45334e65e0173da27801f6a9253a486dd249d11d
MD5 381f56a963912ebcf41a23ef01aef0d4
BLAKE2b-256 6066ef32f42caf2fc92c6610ce347ca6bf85e19da95ac76bf99559e501b5b864

See more details on using hashes here.

File details

Details for the file lattice_contract-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: lattice_contract-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for lattice_contract-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f579f01c838fc31aa8991310904e19a59f9e9fdf43e141515ab590a02e6062c7
MD5 625ad2d155b39d7172ccef2d859a4aa5
BLAKE2b-256 db2f0e349ec53346f0470a15c9bd54b49efba18b00e6c044ab764b934c8981c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page