Skip to main content

tilefish

A typed tensor language for GPU inference: shapes, dtypes, layouts and quantization formats in the type, one build into GPU binaries, and generated Python, C++ and Rust hosts.

Status: early preview. This release type-checks: tensor types and block-scaled formats (MXFP8, MXFP4, NVFP4), extern / library / kernel / graph declarations, tracing into a typed IR, and Triton ahead-of-time compile specs for extern kernels. Pure Python, no dependencies. A @kernel also lowers to Triton source (tilefish.lower), and with the gpu extra (pip install "tilefish[gpu]": torch, Triton, cuda-python) a spec builds into a cubin (tilefish.aot.build), a manifest directory holds the cubins (tilefish.runtime.export), and a kernel runs in jit (built through its spec, in memory), replay (the manifest's cubins, checked against its digests; a stale binary is refused, and it needs a trust anchor: the manifest's pinned digest, or an explicit trust_directory=True) and reference mode (tilefish.run). A binary is identified by the Triton IR it compiles. A library GEMM runs a pinned cuBLASLt algorithm, and a @tilefish.graph compiles into a launch plan over one arena (tilefish.plan, written to plan.json by the export) that runs in the same three modes and captures in a CUDA graph (tilefish.capture). Lowered kernels also compare, select, gather and scatter rows and reduce to an index; an extern may be a Gluon kernel or have one implementation per architecture; a GEMM's algorithm is chosen as torch chooses it or imported; plans exported together share one manifest and can share one arena. The tilefish crate on crates.io runs the same manifest and plan from Rust, and tilefish.hosts.rust.emit generates typed Rust launchers for it. The API will change.

The design and the roadmap are at https://github.com/Kilerd/tilefish.

Metadata

Release files for tilefish 0.0.5

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

Source distribution (sdist)

Source distribution for tilefish 0.0.5
File Size Uploaded Provenance Actions
tilefish-0.0.5.tar.gz 343.7 kB Without provenance Details for tilefish-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tilefish 0.0.5
File Interpreter ABI Platform Actions
tilefish-0.0.5-py3-none-any.whl Python 3 none any Details for tilefish-0.0.5-py3-none-any.whl

Total release size: 706.4 kB

Release files / tilefish-0.0.5.tar.gz

Download URL tilefish-0.0.5.tar.gz
Size 343.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3da17b5d7e9ac3d87cfea1ffdcea6ed30e7f40ecefefbbcd3a159880626f6aa8
BLAKE2b-256 checksum
How to use checksums
870613d9e3eb3496a4b72d849c93dd790445e0fc5c72a2f7fda166c5a79dac17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / tilefish-0.0.5-py3-none-any.whl

Download URL tilefish-0.0.5-py3-none-any.whl
Size 362.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60a07e715853b93677a60be9638e38743b263f8c71d27dc5127bef5d95485a32
BLAKE2b-256 checksum
How to use checksums
e2ad26ca9b878b6edc505ffe32d4020f696c9b426e1757f532bdbc6f48af04bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for tilefish 0.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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