Skip to content

Instantly share code, notes, and snippets.

View randomvariable's full-sized avatar
⬇️
Downstream. I may be slow to respond.

Naadir Jeewa randomvariable

⬇️
Downstream. I may be slow to respond.
View GitHub Profile
@randomvariable
randomvariable / 01-cake-consumer-blackwell-review-and-reproduction-design.md
Last active October 13, 2026 15:30
CAKE on SM120/SM121: evidence review, b12x replacement map, and independent reproduction design

CAKE on Consumer Blackwell: Evidence, Kernel Replacement Map, and Reproduction Design

Date: 2026-10-13. Status: research and proposed design, not an implemented compiler or a qualified kernel cutover.

Executive decision

CAKE's compiler-agent methodology applies to SM120 and SM121. Public FlashInfer contributions already demonstrate consumer-specific generated schedules. Datacenter Blackwell kernels cannot be enabled by changing an architecture string: consumer hardware has warp mma.sync and register accumulators, but lacks tcgen05, tensor memory (TMEM), WGMMA, and two-CTA MMA.

Use family-targeted sm_120f objects where all required instructions are family-supported. Keep operator admission and performance tuning separate from cubin compatibility. An instruction-compatible GB10 is not automatically qualified for an RTX-tuned operator.

@randomvariable
randomvariable / deepinfer.md
Created October 20, 2026 10:42
What is DeepInfer and what it means for local AI

DeepInfer for local AI vs vLLM

2026-10-20

Short answer

DeepInfer is not a local-AI engine and was never meant to be one. It runs one model (DeepSeek-V4.1-Flash, 552B + 196B Engram, ~476 GiB on disk) on two chips (NVIDIA SM100, Huawei Ascend 950), and its economics only appear at 64 GPUs per decode instance. Nothing in the release lowers the hardware floor for running DeepSeek locally; that floor is set by the model, not the engine.

If you run models locally, the release matters in two indirect ways. It is the reference implementation of V4.1-Flash, so the engines you actually use (vLLM, llama.cpp, SGLang) will copy its kernels and tricks over the next few months. And it documents, with production numbers, which optimisations pay off and which are datacentre-only, which is useful when deciding what to turn on.