Skip to main content

torchref-kernels

Prebuilt CPU kernels for TorchRef, written in Rust.

The wheels link neither libtorch nor a specific CPython version (abi3), so one wheel per platform works with every torch and Python version TorchRef supports, and nothing is compiled when TorchRef is imported. On x86-64 each kernel is built for several microarchitecture levels and the best one for the running CPU is chosen on first use.

This package is an implementation detail of TorchRef and is installed with it; its entry points take raw tensor pointers and are not a public API.

Development

pip install -e ./kernels          # or: maturin develop --release -m kernels/Cargo.toml
cargo test --manifest-path kernels/Cargo.toml

Rust changes are picked up only after rebuilding. torchref_kernels.build_info() reports the build profile, the selected CPU variant and a hash of the sources it was built from.

Metadata

Release files for torchref-kernels 0.1.0

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

Source distribution (sdist)

Source distribution for torchref-kernels 0.1.0
File Size Uploaded
torchref_kernels-0.1.0.tar.gz 22.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for torchref-kernels 0.1.0
File
torchref_kernels-0.1.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
torchref_kernels-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
torchref_kernels-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
torchref_kernels-0.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 1.3 MB

Release files / torchref_kernels-0.1.0.tar.gz

Download URL torchref_kernels-0.1.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a40f3042cd8abee7613f89de40a0c056882befa80d829c27d9f5c3cb29250cdb
BLAKE2b-256 checksum
How to use checksums
b823c4fd3b38de41b6e1f1f579129397ac0936d236303e2355a13d20b34b8ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Release files / torchref_kernels-0.1.0-cp310-abi3-win_amd64.whl

Download URL torchref_kernels-0.1.0-cp310-abi3-win_amd64.whl
Size 264.2 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
aca9266eed59cc0538f31d777addfde2b1c671acd158dfd37cd0b3d07c62e70a
BLAKE2b-256 checksum
How to use checksums
6519164d97a104f68b076afb372c09aeebf13666abdd251695164397a8e15a57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Release files / torchref_kernels-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL torchref_kernels-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 381.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
eb10ec9a49962e06c63e978f3bff5afc06baa8445fda9a95ab7a724a40bb219a
BLAKE2b-256 checksum
How to use checksums
3da2573fedfc150a5f790775ab05af8e8788936e2ac24058fe3835cf6960db6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Release files / torchref_kernels-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL torchref_kernels-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 321.7 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
810671a28cef0b1043974a4a50549712e4239798e9d9767cefb6c342c66692df
BLAKE2b-256 checksum
How to use checksums
f5a8a72b4882c921d2f683031bed167335502dcab52334f3cc53cb11dc2a963f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Release files / torchref_kernels-0.1.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL torchref_kernels-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 292.1 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d4f4b5a53ec108043b01b316a5d345611e7368ae281cb3a2dfe488a9576bf0f5
BLAKE2b-256 checksum
How to use checksums
f563592371fca616960e897370f1cbeaee2f3d90f657981be5b2afb3f4f931e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

5 release files

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