Skip to main content

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, trace-budgeted compilation and batching, hardened autodiff, bounded debug observation, NNX graph copies, explicit stdlib application boundaries, deterministic input pipelines, complete checkpoints, multi-device parallelism, weight interchange, validated metrics, a Weights & Biases run lifecycle, one explicit training loop, and headless explicit-lifecycle plotting. 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. Extra names match JAX's own extras:

pip install "tinax[cuda12]"        # NVIDIA CUDA 12, bundled pip wheels
pip install "tinax[cuda13]"        # NVIDIA CUDA 13, bundled pip wheels
pip install "tinax[cuda12-local]"  # NVIDIA CUDA 12, self-installed CUDA
pip install "tinax[cuda13-local]"  # NVIDIA CUDA 13, self-installed CUDA
pip install "tinax[rocm7-local]"   # AMD ROCm 7
pip install "tinax[tpu]"           # Google Cloud TPU
pip install "tinax[oneapi]"        # Intel GPU through oneAPI

See the installation guide for platform support, tinax[cpu], and accelerator details.

Quick Start

import numpy as np

from tinax.array 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 module that owns the behavior you need.

Documentation

License

Apache-2.0. See LICENSE.

Metadata

Release files for tinax 0.2.1

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

Source distribution (sdist)

Source distribution for tinax 0.2.1
File Size Uploaded Provenance Actions
tinax-0.2.1.tar.gz 320.5 kB With provenance Details for tinax-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinax 0.2.1
File Interpreter ABI Platform Actions
tinax-0.2.1-py3-none-any.whl Python 3 none any Details for tinax-0.2.1-py3-none-any.whl

Total release size: 402.8 kB

Release files / tinax-0.2.1.tar.gz

Download URL tinax-0.2.1.tar.gz
Size 320.5 kB
Tags Source
SHA-256 checksum
How to use checksums
353b638158d46608ccd732577c83c4abc740ebc803b1669466cb67fabffdc39e
BLAKE2b-256 checksum
How to use checksums
fa886890af4b680dd97e2548ad3422e9e4390950955c0b0c4443f6b8163063f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / tinax-0.2.1-py3-none-any.whl

Download URL tinax-0.2.1-py3-none-any.whl
Size 82.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ab1eb9f62ec435af202d290781db7b6fae5ebb6e6686994eb0be0d46b9414d2
BLAKE2b-256 checksum
How to use checksums
297683316a789a34bacd3097e0b6c868f092a21d0331ec57adb7701c3e24d4f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for tinax 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tinax-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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