Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.0.23 instead.
Reason given by maintainers: Concurrent multi-GreenContext cuDNN backend execution plan data race causing silent all-zero outputs; upgrade to 0.0.23

tilefish

English | 简体中文

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, reduce to an index, broadcast along any axis and may use IEEE f32 math (math="ieee") and tanh; im2col1d and col2im1d are generated ops for 1-D convolutions; an extern may be a Gluon kernel, have one implementation per architecture, take TMA tensor descriptors (TensorDesc) and be warp-specialised; a pinned GEMM takes bf16, f16 or f32 operands, an f32 result, the layouts TN, NN, TT and NT and an SM partition, and its algorithm is chosen as torch chooses it or imported; a pinned cuDNN forward convolution (cudnn.conv_fwd) is a library op too; no build makes an IEEE f32 dot into TF32 tensor-core MMAs; 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.

What tilefish is and is not, and how features are added from 0.0.13 on, is in docs/en/scope.md.

Install

pip install tilefish                  # types, tracing, lowering, compile specs: pure Python, no dependencies
pip install "tilefish[gpu]"           # torch, Triton and cuda-python: build, jit, replay, plans
pip install "tilefish[sass]"          # CUDA 13's nvdisasm, for tilefish-explain and SASS assertions on sm_103

Documentation

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Metadata

Release files for tilefish 0.0.22

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.22
File Size Uploaded Provenance Actions
tilefish-0.0.22.tar.gz 1.2 MB With provenance Details for tilefish-0.0.22.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tilefish 0.0.22
File Interpreter ABI Platform Actions
tilefish-0.0.22-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for tilefish-0.0.22-cp310-abi3-manylinux_2_28_x86_64.whl
tilefish-0.0.22-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for tilefish-0.0.22-cp310-abi3-manylinux_2_28_aarch64.whl
tilefish-0.0.22-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for tilefish-0.0.22-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 7.5 MB

Release files / tilefish-0.0.22.tar.gz

Download URL tilefish-0.0.22.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1a9533b3a28ebf93d4d44cb3ce45f093495d9baa7a0ba9fb20015635cde7d4fa
BLAKE2b-256 checksum
How to use checksums
50cf2810f02201c110628b60fee7691587efffb1f8f90fde8dba90cec8a15dc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / tilefish-0.0.22-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL tilefish-0.0.22-cp310-abi3-manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
da1c582377c5f5fb2ff18175e96ede404a0c5014b597209afd8e141e9f794d14
BLAKE2b-256 checksum
How to use checksums
9cea226f86b1059531373a840b585c7a17591227a834ac92bd329a3f7e81406c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / tilefish-0.0.22-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL tilefish-0.0.22-cp310-abi3-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
30e6b1d9f9fd3a94b7b7a35950151298fec6dc51b66569a67ba6316c0eba2720
BLAKE2b-256 checksum
How to use checksums
e44babd0b0131d08d6b65714710803dd3950f282e726cdc7057e09f37f9d0c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / tilefish-0.0.22-cp310-abi3-macosx_11_0_arm64.whl

Download URL tilefish-0.0.22-cp310-abi3-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
531e7ea3178492f7fb4c0935eee1736fb23b90b813055f096eba342e0f75e087
BLAKE2b-256 checksum
How to use checksums
227da245eb18845747295ffe0ced0f11ceeae4172caee5eaac64ec2ea8b06402
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Security for tilefish 0.0.22

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for tilefish-0.0.22.tar.gz

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 Dec 1, 2026.

Transparency log

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