AnalysisDec 3, 20266 min read7 sources

Tinygrad moved its AMD LLM kernels into slopkernels, an optional generator, with fast self-reported results

Between November 24 and December 1, 2026, about a dozen pull requests built slopkernels, an offline generator of templated UIR kernels for AMD RDNA3, RDNA4 and CDNA. The speedups so far appear in commit messages and comments only, with no public reproducible runs.

In one minute

Between November 24 and December 1, 2026, about a dozen pull requests built slopkernels, an offline generator of templated UIR kernels for AMD RDNA3, RDNA4 and CDNA.

tinygrad is George Hotz's small deep-learning framework. Its LLM runtime (tinygrad.llm) used to keep hand-built kernels inside the core, under tinygrad/llm/kernels. In late November 2026 that code moved out of the core into a top-level slopkernels directory. The new package is an optional generator that writes AMD GPU kernels as UIR, tinygrad's intermediate representation, ahead of time. The core uses these kernels if they are present.

This matters to builders for two reasons. First, it is a concrete attempt to get competitive LLM inference on consumer AMD Radeon cards without HIP or ROCm kernel libraries. Second, the design is unusual. The fast kernels live outside the core's strict line limits, behind a narrow API with a size cap, so the core stays small while the kernels can grow. The name and the fast pace of changes also show that this code is meant to churn.

What we checked

  • Which commit added slopkernels, and what benchmarks and supported AMD workloads does it document? partly confirmed. slopkernels arrived on November 24, 2026 in PR #19556, 'Merge slopkernels into tinygrad'. PR #19547, merged the same day, removed tinygrad/llm/kernels. Later PRs cover RDNA3/RDNA4 quant GEMM/GEMV, MoE, flash attention, Gated DeltaNet and mHC kernels, and report speedups on RX 7900 XTX, RX 9060 XT and RX 9070 XT. The numbers sit in commit messages and comments, which give no precision and no public run logs. [5][6][2][4][7][3]
  • Has slopkernels been reverted or removed from master since it landed? refuted. The commit history shows one revert, of v2 on November 25. v3 replaced it the same day. Commits to the directory continued through December 1, 2026, and the README is live on master. [3][1]

What we found

  • The README defines the scope as AMD only, covering RDNA3, RDNA4 and CDNA. slopkernels runs offline and generates templated UIR. It must not contain dispatch logic or runtime helpers, and the total generated UIR must stay under 1 MB. No NVIDIA or other backends are in scope. [1]
  • The first speed figures came with 'slopkernels v2' (PR #19587). A collaborator comment there reports a 1.42x geomean speedup over master on RX 7900 XTX, with 26 of 26 ops faster, and 1.52x on RX 9060 XT, across 26 CI ops. The comment names neither the ops nor the precision. The commit history shows that v2 was reverted the same day (PR #19588) and replaced by v3 (PR #19604), so those exact numbers describe code that is no longer on master. [2][3]
  • The v4 commits (PR #19612, November 26) combine five quant kernel families into one qtype template, cutting 160 files to 20. They also claim wins over a baseline called 'Strata' on all 53 ops, measured on RX 9070 XT and RX 7900 XTX. Further commit messages list dense GEMM up to 136.8 TF and 258 TF for FP8 GEMM on RDNA4. The PR never says what Strata is, and these are commit-message claims with no public run attached. [4]
  • To check whether anything had reversed the move, we looked for a revert or removal of slopkernels on master. The commit history shows only the v2 revert. Work continued through November 30, including PR #19665, which optimizes RDNA3/RDNA4 quant GEMM, MoE, flash attention, GDN and mHC kernels. On December 1 there was a compile change. [3]

What it means

If you run LLM inference on AMD Radeon RDNA3 or RDNA4 cards, slopkernels is worth trying with tinygrad.llm. The repository supports the story's description: Python UOp builders that emit templated UIR for AMD, aimed at quantized GEMM/GEMV, MoE, flash attention and Gated DeltaNet. Treat the speedups (1.42x and 1.52x geomean in v2, the '53/53 vs Strata' claim in v4, 136.8 TF dense GEMM) as the project's own numbers. They give no precision for most ops, use an undefined baseline, and have no public GPU run logs. Measure on your own card and model before relying on them.

The architecture matters as much as the numbers. Kernels are generated offline, the core does not depend on them, and the size cap is enforced, so tinygrad can grow fast kernels without bloating its core. Expect the API and the file layout to keep changing: v2 was reverted within a day, and v4 restructured the files. Pin a commit if you build on it.

Competing readings

  • slopkernels is a lasting, actively developed optional AMD kernel library for tinygrad.llm, and its speedups are real, if self-reported (likely, about 70%). What would tell it apart: The core kernels were removed in favor of slopkernels, and commits continued through December 1 [6][3]; The README sets permanent rules: AMD scope and a 1 MB cap [1].
  • slopkernels is a short-lived experiment that will be folded back into the core or dropped, much as v2 was reverted within a day (very unlikely, about 15%). What would tell it apart: v2 was reverted the same day and replaced by v3, and the layout keeps changing [3][4].
  • The headline speedups are much smaller for real end users than reported, because the baselines are tinygrad's own master or an undefined 'Strata', and there are no public GPU logs (unlikely, about 35%). What would tell it apart: The benchmarks compare against master or Strata, and GitHub runs only Mock AMD tests [2][7][5].

Base rate

The New Runtime archive could not be queried for comparable cases (canceling statement due to statement timeout), so it gives 0 cases: no base rate. The archive has too few comparable cases (0 cases, 0 matches) to give a base rate, so this analysis rests only on the repository evidence.

What would change this view

  • A commit that removes the slopkernels directory from master or moves its kernels back under tinygrad/llm (deprecation signal): The separate optional-library design was abandoned.
  • Independent benchmarks against llama.cpp ROCm/Vulkan on the same RDNA3/RDNA4 cards that show no gain (signal): The self-reported speedups don't carry over to real deployments.

Still open

  • What is 'Strata', the baseline in the v4 benchmark claims, and how fair a comparison is it?
  • At what precision and shapes were the 26-op and 53-op speedups measured, and will GPU benchmark logs be published?
  • Is CDNA (e.g. MI300X), which the README lists, actually covered by benchmarks, or only RDNA3/RDNA4 so far?
  • How much of the code was written by AI models? The name hints at it, but the repository pages do not document it.

How this was made

Method
An AI research agent with web search tested the story's research hypotheses against primary sources and wrote the report.
Written by
claude-opus-5-5 (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
Its factual claims were checked against the cited pages.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/tinygrad/tinygrad/tree/master/slopkernels
  2. 2github.com/tinygrad/tinygrad/pull/19587
  3. 3github.com/tinygrad/tinygrad/commits/master/slopkernels
  4. 4github.com/tinygrad/tinygrad/pull/19612
  5. 5github.com/tinygrad/tinygrad/pull/19556
  6. 6github.com/tinygrad/tinygrad/pull/19547
  7. 7github.com/tinygrad/tinygrad/pull/19650
All Analysis

Next reads

Read next

Open the graph
  1. 01archiveAnalysisOpen the latest authorial analysis.
  2. 02sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract