Skip to main content

Reliable productivity primitives for the JAX ecosystem

Project description

Tinax

Tinax is a small, typed library of explicit productivity primitives for JAX, Flax NNX, Optax, Orbax, Grain, Chex, and Safetensors workflows.

It provides stable policies for array and RNG ownership, bounded diagnostics, NNX graph copies, explicit stdlib application boundaries, deterministic input pipelines, complete checkpoints, sharding, and weight interchange. Tested ecosystem recipes live under examples/ without stable API guarantees.

Requirements

  • Python 3.12, 3.13, or 3.14

Install

pip install tinax

Install a JAX accelerator distribution when needed:

pip install "tinax[gpu]"
pip install "tinax[tpu]"

See the installation guide for platform and accelerator details.

Quick Start

import numpy as np

from tinax.arrays import from_numpy, inspect_array, to_numpy

host = np.arange(8, dtype=np.float32)
device = from_numpy(host, copy=True)
info = inspect_array(device)
round_trip = to_numpy(device, writable=False)

Importing tinax alone is inert. Import the domain that owns the behavior you need.

Documentation

License

Apache-2.0. See LICENSE.

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

tinax-0.1.1.tar.gz (157.1 kB view details)

Uploaded Source

Built Distribution

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

tinax-0.1.1-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file tinax-0.1.1.tar.gz.

File metadata

  • Download URL: tinax-0.1.1.tar.gz
  • Upload date:
  • Size: 157.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tinax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0fa13e85060b3f9587beaf5627ee2a134dd452c70ec86c56e7aad15c9de7bef6
MD5 c4a0c8b1108d9810ea4888539625f85f
BLAKE2b-256 7df47b3bd01f81f0f0e2d76295dd168026bfb60742d5e0e6a4241f4c9dd70404

See more details on using hashes here.

Provenance

The following attestation bundles were made for tinax-0.1.1.tar.gz:

Publisher: release.yml on machine-moon/tinax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tinax-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tinax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tinax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18ea8d2cd06f73dda44d14ae2b59f9df825c9a2a692021cd55fadf77bd09b69c
MD5 3dcb95cd94725b4f059182b99af9f507
BLAKE2b-256 541ca29d16e91f5f6ebc1f15326794afd385ae0ebbc83f595d1087a012504fa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for tinax-0.1.1-py3-none-any.whl:

Publisher: release.yml on machine-moon/tinax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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