{"type":"post","id":"don-t-write-kernels-derive-them-aee769","slug":"don-t-write-kernels-derive-them-aee769","title":"Don't Write Kernels, Derive Them","description":"Municipal Robotics presents Tang, a research compiler that derives GPU kernels from a compact tensor intermediate representation instead of requiring a hand-written kernel for each operator, fusion, and chip.","retrieval_nugget":"Municipal Robotics presents Tang, a research compiler that derives GPU kernels from a compact tensor intermediate representation instead of requiring a hand-written kernel for each operator, fusion, and chip. Its results show both the promise and the boundary of that approach: some workloads approach or beat hand-tuned systems, while others remain materially slower or fail an accuracy gate.","published_at":"2026-11-12","updated_at":"2026-11-12","record_date":"2026-11-12","date_kind":"published_at","topics":["compute","ai-infrastructure"],"entities":["Municipal Robotics","Tang","Qwen3-8B","PyTorch","FlashAttention-2","llama.cpp","vLLM"],"related_patterns":["harness-architecture-outlives-model-choice"],"novelty_label":"new_fact","what_changed":"Tang describes a tensor-IR compiler that derives kernels across several GPU and graphics backends, with measured transformer and Qwen3-8B performance and explicit cases where derived attention is slower.","prior_refs":["https://newruntime.com/posts/forgekernel-self-evolving-kernels-catching-and-surpassing-experts-30654b/","https://newruntime.com/posts/how-we-built-tlx-a-hardware-native-gpu-31371f/"],"source_url":"https://muni.works/research/tang","source_urls":["https://muni.works/research/tang"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:don-t-write-kernels-derive-them-aee769","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/don-t-write-kernels-derive-them-aee769/","markdown":"https://newruntime.com/posts/don-t-write-kernels-derive-them-aee769.md","json":"https://newruntime.com/posts/don-t-write-kernels-derive-them-aee769.json"},"markdown_url":"https://newruntime.com/posts/don-t-write-kernels-derive-them-aee769.md","next_reads":[{"type":"topic","path":"/topics/compute/","url":"https://newruntime.com/topics/compute/","title":"Compute","reason":"Explore the compute topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/compute.md","json_url":"https://newruntime.com/topics/compute.json"},{"type":"topic","path":"/topics/ai-infrastructure/","url":"https://newruntime.com/topics/ai-infrastructure/","title":"Ai Infrastructure","reason":"Explore the ai-infrastructure topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/ai-infrastructure.md","json_url":"https://newruntime.com/topics/ai-infrastructure.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
