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, 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, 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.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.
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.2.0.tar.gz.
File metadata
- Download URL: tinax-0.2.0.tar.gz
- Upload date:
- Size: 181.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ce614e7a7adc298048487f4c21f54270a3fd480fabde07ac3768e4e0fdf6aa8
|
|
| MD5 |
8636aa0723fdd98d8a89e0e710597706
|
|
| BLAKE2b-256 |
d645e3f2314ca3ff6b3b16342ab79ee4608ef964fa64230215cfba91e1f83456
|
Provenance
The following attestation bundles were made for tinax-0.2.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.2.0.tar.gz -
Subject digest:
2ce614e7a7adc298048487f4c21f54270a3fd480fabde07ac3768e4e0fdf6aa8 - Sigstore transparency entry: 2196006882
- Sigstore integration time:
-
Permalink:
machine-moon/tinax@bd58d52e48f277a0b8edb29323ca27a009c02d0c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/machine-moon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bd58d52e48f277a0b8edb29323ca27a009c02d0c -
Trigger Event:
push
-
Statement type:
File details
Details for the file tinax-0.2.0-py3-none-any.whl.
File metadata
- Download URL: tinax-0.2.0-py3-none-any.whl
- Upload date:
- Size: 63.4 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 |
70f24711dd5a0249c2976016340de1f4689c7ff0a0051670985391bc9896ee95
|
|
| MD5 |
f23c0e6ef61b0ae0e441bc4bdcea906a
|
|
| BLAKE2b-256 |
83d1bfc1f73580b2f6206552732ea53faf885bcaf9af11914f08196569984f4e
|
Provenance
The following attestation bundles were made for tinax-0.2.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.2.0-py3-none-any.whl -
Subject digest:
70f24711dd5a0249c2976016340de1f4689c7ff0a0051670985391bc9896ee95 - Sigstore transparency entry: 2196007095
- Sigstore integration time:
-
Permalink:
machine-moon/tinax@bd58d52e48f277a0b8edb29323ca27a009c02d0c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/machine-moon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bd58d52e48f277a0b8edb29323ca27a009c02d0c -
Trigger Event:
push
-
Statement type: