跳到正文
原文
Together AI Blog·· 17 天前精选AI 评分72

Together AI 复盘从 megakernel 到 Together Compiler 的路线

Last year we built megakernels. This year we deleted them: The road to Together Compiler

AI 导读

Together AI 回顾了自家推理优化路线的转变:去年发布的 megakernel 在 Llama 1B 上达到 990 TPS,但最终只支持一个模型、一个 batch size 和一个客户。

推荐理由

Together AI 复盘了从 megakernel 转向 agent 驱动编译器的过程,并给出各阶段实测数字与取舍。

社媒成稿工作台 · 一键复制

飞书同步推送 · 含数据/日期/出处/启发
核心数据发布日期信源出处独立开发启发
1386
Together AI 复盘从 megakernel 到 Together Compiler 的路线

📊 核心数据与事实(2026-11-16):
Together AI 回顾了自家推理优化路线的转变:去年发布的 megakernel 在 Llama 1B 上达到 990 TPS,但最终只支持一个模型、一个 batch size 和一个客户。
• 原文实测切片:Kernel Live inference (µs) Inductor benchmark (µs) Overhead Block-mask slice (KV indices) 1.22 1.92 +57.9% Block-mask slice (block counts) 1.34 2.05 +52.4% Fused QKV split / V-cache write 1.15 1.66 +44.5% Embedding lookup / normalization 1.40…
• 原文实测切片:Random inputs overestimate MoE grouped-GEMM latency by 4–21% on GLM 5.3 These discrepancies lead to faulty compiler decisions.
• 原文实测切片:Kernel 1 Kernel 2 Operations Elementwise Indexing/slicing Grid (6, 1, 1) (8, 32, 1) Threads per CTA 128 64 Registers per thread 35 96 Total CTAs 6 256 Launch configurations of two consecutive unfused kernels in Llama 1B decode As Inductor…

💡 对独立开发者的启发:
1/ Together AI 复盘了从 megakernel 转向 agent 驱动编译器的过程,并给出各阶段实测数字与取舍。
2/ 任何一次上线流量都会自然衰减;在动手写第二个工具之前,先给第一个产品建好可持续获客漏斗(SEO 长尾词、Reddit 真实复盘、社媒切片)。
3/ 把 80% 精力放分发和落地页首屏转化上:先靠单点高痛点工具跑出稳定现金流,再谈矩阵放大。

📅 日期:2026-11-16(北京时间)
📰 信息源出处:Together AI Blog(together.ai)
🔗 原文:https://www.together.ai/blog/road-to-together-compiler
📡 归档:https://billionare.me/items/sive7y227jkv0a21011kzekx8
去 X 发推
每天 08:00 邮件 / 08:30 飞书准点推送一手高信噪比情报与拆解免费订阅简报

来源:Together AI Blog · together.ai