TileRT ships one wheel with three backends and refuses a PyTorch that is not the one it was linked against
Tile-Based Runtime for Ultra-Low-Latency LLM Inference
At a glance
- What is it?
- A read of tile-ai/TileRT: a low latency inference runtime whose prebuilt wheel spans two torch ABIs and refuses the wrong one at load time, a Dockerfile that demands an exact transformers pin the manifest allows past, and benchmark numbers whose MTP bars depend on the acceptance length.
- Who is it for?
- TileRT is for one specific job: a single interactive session where the time to first token and the gap between tokens matter more than aggregate throughput, which is what its numbers are measured on and what its design choices follow from. Before you plan around it, accept the environment contract, because that is where the friction lives.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 62 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- tile-ai/TileRT1,908 ★ · +150
| Repository | 2026-09-11 | 2026-11-25 |
|---|---|---|
| tile-ai/TileRT | 1.8k | 1.9k |
150 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
One wheel, three backends, and a loader that checks
The install notes state the contract in the first paragraph. Version 0.1.6 ships as a pre-built binary wheel carrying three backends: two CUDA backends for DeepSeek-V3.2 and GLM-5/5.1, and one ROCm backend for GLM-5.2/5.3. Each backend is linked against an exact PyTorch ABI, and `tilert.load_backend()` refuses a PyTorch of the wrong version or the wrong flavor, CUDA against ROCm being the explicit example.
The table of build environments is introduced as hard requirements rather than lower bounds, with `transformers` and `tokenizers` named as the exceptions that are floors. On the NVIDIA side the reference machine is 8× NVIDIA B200 with a driver supporting the CUDA 13.2 runtime. On the AMD side it is 8× AMD Instinct MI350X or MI355X with ROCm 7.14.0.
The last sentence of that note is the honest one. Other combinations of Python, CUDA or ROCm, or PyTorch versions are untested and not guaranteed to work, and the instruction is to reproduce the documented environment for a supported setup.
That combination of prebuilt binaries and a refusal check is the design constraint that shapes every install instruction in this project. There is no source build path described for the backends, so the wheel is not an optimization, it is the deliverable, and a machine outside the two documented stacks gets an error at load rather than a warning.
The torch range exists because one wheel spans two ABIs
The dependency line is short and the comment above it is long:
"torch>=2.11,<2.13",The comment explains that the CUDA backends need `torch==2.11.0+cu130` from PyTorch's cu130 index, the ROCm backend needs `torch==2.12.0+rocm7.14.0`, and `tilert.load_backend` refuses a torch of the wrong version or flavor, so the matching one has to be installed first. The range from 2.11 to below 2.13 exists only because the wheel covers both.
So the version check happens at load time, not install time. Pip is satisfied by anything in the range, and the library is the thing that rejects the wrong choice. That is a defensible split when a single artifact genuinely supports two builds, and it means a failed install is really a failed import with a message from the loader.
`requirements.txt` repeats the same comment and turns it into commands, which is the most useful part of that file:
pip install --index-url https://download.pytorch.org/whl/cu130 torch==2.11.0for NVIDIA, with a warning that PyPI's default torch is a different CUDA build and will not load the cu130-linked binaries, and for AMD a note that `torch==2.12.0+rocm7.14.0` comes preinstalled in the ROCm image `ghcr.io/tile-ai/tilert-rocm-decode:0.1.6`. That file also closes by saying the recommended path remains the prebuilt Docker images.
Three install routes therefore exist with different costs: a PyPI wheel plus a hand-matched torch build, the same plus an explicit index URL, or a container that arrives with the right torch already inside it.
One file says transformers MUST be 4.46.3 and the other allows anything newer
The Dockerfile header carries the strongest warning language in the repository:
> Every dep version is pinned to the validated set. Don't bump anything without re-running the full release pipeline (build wheel → fresh container → pip install wheel → pytest on B200 GPUs). > > Especially: transformers MUST be 4.46.3. The 5.x branch is not backward compatible with TileRT's tokenizer/model loading paths.
The manifest disagrees with half of that. `transformers>=4.46.3` is a floor, and the README repeats that `transformers` and `tokenizers` are lower bounds while everything else is a hard requirement. A user who installs the wheel, upgrades transformers within its supported range and lands on a 5.x release gets precisely the incompatibility the Dockerfile warns about, and nothing at install time stops them.
The same header block also records what was validated and when: a pinned lock set resolved 2026-05-27 against torch 2.11.0+cu130 and transformers 4.46.3, on python 3.12, for manylinux 2.28.
Then it explains the gap in its own pinning. torch's own metadata transitively pins the nvidia cu13 runtime packages, with cublas 13.1.0.3, cudnn-cu13 9.19.0.56 and nccl-cu13 2.28.9 named as examples, and those are not re-pinned in the image on purpose. So the validated set is deliberately partly open: the CUDA runtime libraries float with whatever the installed torch declares, which means the image is reproducible only as far as torch's own dependency metadata is unchanged.
The image removes cmake by force and enables a repository by fallback
The base is `pytorch/manylinux2_28-builder:cuda13.2-main`, and the shell is switched to bash with the `-c` form so the multi-line commands below behave.
The system package step is worth reading closely:
RUN yum install -y --setopt=install_weak_deps=False \
epel-release yum-utils vim && \
(yum config-manager --set-enabled powertools 2>/dev/null || \
yum config-manager --set-enabled crb 2>/dev/null || true) && \
yum --enablerepo=epel install -y --setopt=install_weak_deps=False \
glog glog-devel zstd && \
rpm -e --nodeps cmake 2>/dev/null || true && \
yum clean all && rm -rf /var/cache/yum /var/tmp/* /tmp/*Four details. EPEL is enabled for the glog packages, which are named as a TileRT runtime dependency, while zstd is labelled in the comment as image transport. The powertools repository is enabled with a fallback to crb, and both attempts are allowed to fail silently, so the build proceeds either way. And `rpm -e --nodeps cmake` forcibly removes cmake from the base image with dependencies ignored, which is the way you get a newer cmake installed on top of a builder image that already ships one.
The Python environment is a conda env named tilert pinned at `python=3.12.9`, against a manifest that declares `requires-python = ">=3.11"` and classifiers for 3.11 and 3.12. So the validated build is one minor version above the floor and the older supported version is not the one exercised in CI.
The header block gives the three commands the image is meant for, a `docker build -t tileai/tilert:cu132-v0.1.4 .`, a `docker pull` of the same tag, and a `docker run --rm --gpus all` that calls `make wheel BUILD_TYPE=Release`. Note that the tag says cu132 while the torch build inside is cu130, so the image tag, the base image CUDA version and the PyTorch index are three different strings to keep straight.
Every figure is single user, and the MTP bars move with acceptance length
The positioning paragraph says what the runtime optimizes for and, just as usefully, what it does not: unlike systems built for high throughput batch processing, this one prioritizes responsiveness, named as critical for high frequency trading, interactive AI, real time decision making, long running agents and AI assisted coding.
The headline benchmark caption carries the conditions. GLM-5.2 and 5.3 on FP8 token generation on 8× AMD Instinct MI350X, with TileRT v0.1.6, greedy decoding, bf16 KV and indexer caches, output length 1K, input length from 1K to 1M. And the bars are not one series: they compare TileRT without multi token prediction, TileRT with MTP at depth 3 and an average acceptance length of 3.2, and a peak under best case MTP acceptance of 4.0. So the fastest bar is a best case, and the number to quote is the one at 3.2.
The AgentX entry states 469 tokens per second of single user generation on million token agent sessions with 8× AMD Instinct MI355X, first in single user performance, on the original FP8 weights, leading the second place NVIDIA GB300 NVL72 FP4 submission by more than 100 tokens per second. That comparison is unusually specific, since it is against a submission using half the weight precision.
The rest are narrower claims: v0.1.3 reached up to 500 tokens per second on GLM-5-FP8 and up to 600 on DeepSeek-V3.2; MTP with depth 3 reached up to 590 tokens per second under synthetic workloads; v0.1.1 recorded roughly 35 percent further reduction, a three to four times speedup over baseline, on a single node with 8× NVIDIA B200. And a collaboration with Xiaomi MiMo pushed MiMo-V2.5-Pro-UltraSpeed past 1000 tokens per second on a trillion parameter model on a single eight GPU node, described as a first without custom silicon.
The compiler techniques are described as still on their way elsewhere
The mechanism is described in three sentences and then handed to other projects.
The engine is tile-level and compiler-driven: LLM operators are decomposed into fine-grained tile-level tasks, and the runtime dynamically reschedules computation, I/O and communication across multiple devices in a highly overlapped manner. The stated purpose is to minimize idle time and improve hardware utilization.
The next paragraph is the part worth reading as an adopter. The project is described as actively evolving, and the underlying compiler techniques will be gradually shared with the community as they are integrated into TileLang and TileScale.
So what is available now is the runtime side: a PyPI wheel, prebuilt binaries for three model and hardware combinations, an optional server, and the scheduling behaviour. What produces the tiles is not in this repository, and by the project's own account it is not yet shared, with two named destinations rather than a date. Anyone whose interest is in the compiler technique itself has to wait or follow those two projects, and anyone benchmarking the runtime should keep in mind that the codegen story is the part that may still move.
What does not depend on that is the environment contract and the measurement conditions already described, since both are fixed in the wheel and the benchmark caption regardless of what the compiler grows into.
The newest release in the list predates the version the install section targets
Version bookkeeping is loose in three separate places.
The manifest declares `dynamic = ["version"]` and gives the project a description of exactly one word, `TileRT`, which is what a package index will show next to the name. The author entry is a team name with a role address rather than a person.
The release list names three tags with titles that describe features rather than numbers: v0.1.5.post2 as PD Disaggregation with vLLM prefill and TileRT decode, v0.1.4 as Faster Decoding, and v0.1.3 as GLM-5 Lands. The newest of those is dated 2026-08-06. The news log in the README, meanwhile, records a v0.1.5 release on 2026-07-14 and a v0.1.6 on 2026-09-24, and the installation section instructs users to install `tilert==0.1.6.post2`.
So the release list does not contain the version the installation section tells you to install, and it is dated a month and a half behind the news log for the same project. The last push to the repository is 2026-09-24, the same day as the news entry announcing the AgentX result.
The dependency files compound this. There are three of them: the manifest, `requirements.txt`, and `requirements-dev.txt`, while the manifest also carries a `dev` group with the same tools pinned exactly, from black 25.1.0 and flake8 7.1.2 through six flake8 plugins, mypy, bandit, pyupgrade, commitizen, codespell and a set of mdformat plugins. Every development tool is pinned to an exact version while the runtime dependencies are ranges, which is deliberate, and it means the development toolchain is the most precisely specified thing in the repository while the library it checks is the least.
Editorial conclusion
TileRT is for one specific job: a single interactive session where the time to first token and the gap between tokens matter more than aggregate throughput, which is what its numbers are measured on and what its design choices follow from. Before you plan around it, accept the environment contract, because that is where the friction lives. The wheel is prebuilt for three model and hardware combinations across two torch ABIs, the loader refuses anything else, and the documentation treats the stack as a hard requirement rather than a floor. Two things to check yourself. One file demands an exact transformers version that the other permits upgrading past, so pin it yourself rather than trusting either. And every throughput figure here is single user and greedy decoding, with the multi token prediction bars varying between an average acceptance length of 3.2 and a best case of 4.0, so quote the average rather than the peak. If you need batch throughput, or a compiler you can read, this is not the project for you, since the compiler techniques are described as still on their way to two other repositories.
Frequently asked questions
tilert vs vllm, which should I use?
This repository does not present a comparison, but it does describe running both together. Version 0.1.5 introduced prefill and decode disaggregation with vLLM handling prefill and TileRT handling decode behind an OpenAI compatible endpoint, supported on GLM-5/5.1 and DeepSeek-V3.2.
What is TileRT built for?
It is a tile-based runtime for serving large language models in low latency scenarios, aiming for millisecond level time per output token without shrinking the model. It prioritizes responsiveness over batch throughput and names high frequency trading, interactive AI, real time decision making, long running agents and AI assisted coding as the cases it targets.
What hardware does the tilert wheel support?
The v0.1.6 wheel carries three backends: two CUDA backends for DeepSeek-V3.2 and GLM-5/5.1 on 8× NVIDIA B200 with a driver supporting the CUDA 13.2 runtime, and one ROCm backend for GLM-5.2/5.3 on 8× AMD Instinct MI350X or MI355X with ROCm 7.14.0. Other combinations are untested.
How do I install the right PyTorch for tilert?
The manifest allows `torch>=2.11,<2.13` because the wheel covers two ABIs, but `tilert.load_backend()` refuses a torch of the wrong version or flavor. For NVIDIA use `pip install --index-url https://download.pytorch.org/whl/cu130 torch==2.11.0`, and for AMD use torch 2.12.0 with the ROCm 7.14.0 build.
What is multi-token prediction in tilert and how is it measured?
MTP arrived in v0.1.2-alpha.1 and reaches up to 590 tokens per second at depth 3 under synthetic workloads. The benchmark chart compares runs without MTP, with MTP at depth 3 at an average acceptance length of 3.2, and a peak under best case acceptance of 4.0, so the fastest figure depends on acceptance length.
Is TileRT's compiler open source?
The runtime is distributed on PyPI, HuggingFace and as prebuilt Docker images, but the README says the underlying compiler techniques will be gradually shared with the community as they are integrated into TileLang and TileScale. So the codegen side is described as still being on its way to those two projects.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/tile-ai-tilert)Star history chart for your README
[](https://hysenlabs.com/projects/tile-ai-tilert)Was this useful?