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
- CPython 3.14 with the standard GIL-enabled build
- glibc Linux x86-64/AArch64, Windows x86-64, or Apple Silicon macOS
- The exact JAX ecosystem versions declared by Tinax
Grain 0.2.18 does not provide a cp314t wheel, so free-threaded CPython is not supported.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinax-0.1.0.tar.gz.
File metadata
- Download URL: tinax-0.1.0.tar.gz
- Upload date:
- Size: 129.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
396a51184aed405ce0a685d23f7aefeb25dd5b7d145da84b8cb2888425f6201b
|
|
| MD5 |
759665d677b087e78585a5da3a7c6ca6
|
|
| BLAKE2b-256 |
062611ac188a91bad3cf10eeb46430020fe40903cc834fabab3f89e3a5865307
|
Provenance
The following attestation bundles were made for tinax-0.1.0.tar.gz:
Publisher:
release.yml on machine-moon/tinax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinax-0.1.0.tar.gz -
Subject digest:
396a51184aed405ce0a685d23f7aefeb25dd5b7d145da84b8cb2888425f6201b - Sigstore transparency entry: 2193492975
- Sigstore integration time:
-
Permalink:
machine-moon/tinax@988d7330b8d884aa958d9f615e67a0f58d3ac4da -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/machine-moon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@988d7330b8d884aa958d9f615e67a0f58d3ac4da -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinax-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tinax-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a110b07eb84dab2f165b7ceda94c3f3febdc4d85117331be468bf2cd9262bbe9
|
|
| MD5 |
3e328a90d80b4e4d50d9df442f7242b5
|
|
| BLAKE2b-256 |
59a983a686dacd55d6830ee0915c514718bd0d7b34282a04034e66d4c772c400
|
Provenance
The following attestation bundles were made for tinax-0.1.0-py3-none-any.whl:
Publisher:
release.yml on machine-moon/tinax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tinax-0.1.0-py3-none-any.whl -
Subject digest:
a110b07eb84dab2f165b7ceda94c3f3febdc4d85117331be468bf2cd9262bbe9 - Sigstore transparency entry: 2193492983
- Sigstore integration time:
-
Permalink:
machine-moon/tinax@988d7330b8d884aa958d9f615e67a0f58d3ac4da -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/machine-moon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@988d7330b8d884aa958d9f615e67a0f58d3ac4da -
Trigger Event:
push
-
Statement type: