tynx
The ONNX runtime that trains. Python bindings for Tynx, a lightweight neural network runtime built on Burn.
Tynx loads ONNX models at runtime with no code generation step, runs on CPU and GPU through Burn backends, and is growing into a full eager training library with a PyTorch-shaped API.
This is an early alpha. What works in this release:
- eager tensors with autograd: arithmetic, matmul, activations, reductions,
backward(),.grad,no_grad(); Parametervalues for building trainable modules;- loading ONNX models and inspecting their inputs and outputs.
Model execution from Python, NumPy interop, layers, and optimizers land in upcoming releases. See the repository for the roadmap, benchmarks, and the Rust API.
import tynx
x = tynx.Tensor([[1.0, 2.0], [3.0, 4.0]], requires_grad=True)
loss = (x @ x).sum()
loss.backward()
print(x.grad.tolist())
session = tynx.Session("model.onnx")
print(session.inputs, session.outputs)
License
MIT or Apache-2.0, at your option.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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 tynx-0.1.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: tynx-0.1.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 9.9 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9385506270c4e530dcd15f9d56769d83ae02f9108d642bad36344d5dab4ee72b
|
|
| MD5 |
09d67c977f2019085c80d93d92a3a4d4
|
|
| BLAKE2b-256 |
8d950305e556030b393fa031bb99aa65f81cd6f801e6335a8c4a14d75f0b41bc
|
Provenance
The following attestation bundles were made for tynx-0.1.0-cp39-abi3-win_amd64.whl:
Publisher:
release.yml on blaind/tynx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tynx-0.1.0-cp39-abi3-win_amd64.whl -
Subject digest:
9385506270c4e530dcd15f9d56769d83ae02f9108d642bad36344d5dab4ee72b - Sigstore transparency entry: 2217797559
- Sigstore integration time:
-
Permalink:
blaind/tynx@8e0039a6f8690ad450cb43116eedda044c2f47fa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/blaind
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8e0039a6f8690ad450cb43116eedda044c2f47fa -
Trigger Event:
push
-
Statement type:
File details
Details for the file tynx-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: tynx-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 8.9 MB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dbf75276d436f5daad4d17469f880261e4adb700f55de739bdecad345513359
|
|
| MD5 |
ebe159436d8d40eb17000bf1e2d5d02f
|
|
| BLAKE2b-256 |
0abc6539f0b0ae98a8be4b059e1a467c25e2b79cc750bd126cc1bc68774c5df0
|
Provenance
The following attestation bundles were made for tynx-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on blaind/tynx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tynx-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
7dbf75276d436f5daad4d17469f880261e4adb700f55de739bdecad345513359 - Sigstore transparency entry: 2217798313
- Sigstore integration time:
-
Permalink:
blaind/tynx@8e0039a6f8690ad450cb43116eedda044c2f47fa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/blaind
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8e0039a6f8690ad450cb43116eedda044c2f47fa -
Trigger Event:
push
-
Statement type:
File details
Details for the file tynx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: tynx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 7.9 MB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84cbf490a949ac95b94753d608a7ce7d7b8de95db413ec973b8816a11d9221b6
|
|
| MD5 |
cfc259fb2bafc2c34b055660ed844b7e
|
|
| BLAKE2b-256 |
53aa0e35605372ced9d89c2626680a884f427ec553d35327a0db7b7089b8e436
|
Provenance
The following attestation bundles were made for tynx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on blaind/tynx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tynx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
84cbf490a949ac95b94753d608a7ce7d7b8de95db413ec973b8816a11d9221b6 - Sigstore transparency entry: 2217799128
- Sigstore integration time:
-
Permalink:
blaind/tynx@8e0039a6f8690ad450cb43116eedda044c2f47fa -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/blaind
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8e0039a6f8690ad450cb43116eedda044c2f47fa -
Trigger Event:
push
-
Statement type: