Skip to main content

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();
  • Parameter values 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

tynx-0.1.0-cp39-abi3-win_amd64.whl (9.9 MB view details)

Uploaded CPython 3.9+Windows x86-64

tynx-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl (8.9 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64

tynx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl (7.9 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

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

Hashes for tynx-0.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9385506270c4e530dcd15f9d56769d83ae02f9108d642bad36344d5dab4ee72b
MD5 09d67c977f2019085c80d93d92a3a4d4
BLAKE2b-256 8d950305e556030b393fa031bb99aa65f81cd6f801e6335a8c4a14d75f0b41bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for tynx-0.1.0-cp39-abi3-win_amd64.whl:

Publisher: release.yml on blaind/tynx

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

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

Hashes for tynx-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7dbf75276d436f5daad4d17469f880261e4adb700f55de739bdecad345513359
MD5 ebe159436d8d40eb17000bf1e2d5d02f
BLAKE2b-256 0abc6539f0b0ae98a8be4b059e1a467c25e2b79cc750bd126cc1bc68774c5df0

See more details on using hashes here.

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

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

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

Hashes for tynx-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 84cbf490a949ac95b94753d608a7ce7d7b8de95db413ec973b8816a11d9221b6
MD5 cfc259fb2bafc2c34b055660ed844b7e
BLAKE2b-256 53aa0e35605372ced9d89c2626680a884f427ec553d35327a0db7b7089b8e436

See more details on using hashes here.

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

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

Release history Release notifications | RSS feed

0.2.0

4 files

This release

0.1.0 This release

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page