Models

WeaveLayer:由编程智能体构建的通用推理框架

WeaveLayer: A General-Purpose Inference Framework Designed to Be Built by Coding Agents

Why we picked it

一个工程师指挥 coding agents 写出来的推理框架,吞吐量比 vLLM 和 SGLang 高出一大截。它展示了“AI 写代码、人管架构”的开发方式能走多远,做推理服务部署的工程师和企业值得认真看看这份设计思路。

WeaveLayer 是一个通用推理框架,由一名工程师通过指挥编程智能体(coding agents)开发,无需人类逐行审查所有变更。

Body

它支持 LLM、视觉语言、语音和视频等多种模型类型,设计理念是“AI 作为编译器、代码作为 IR”:模型只是层(Ops)的编织,运行时与具体模型解耦,大多数模型相关工作保留在各自的代码内。智能体负责编写、独立审查、调试和持续重构代码,工程师掌握方向、架构与代码风格,测试成为新的瓶颈,推理经验被蒸馏成通过盲回放验证的技能。

在 GB300 上基于 InferenceX AgentX 基准的 DeepSeek-V4.1-Flash 测试中,模型发布两个月后,WeaveLayer 在同等交互性下聚合部署的每 GPU 吞吐量中位数超过官方 vLLM 144%、超过 SGLang 70%,分离式部署下分别超出 15% 和 21%;

使用自有聚合配置时,还能在最高吞吐上再提升 80%、最高交互性上再提升 21%,且精度符合基准规则。

Original · arXiv: DeepSeek

WeaveLayer: A General-Purpose Inference Framework Designed to Be Built by Coding Agents

Traditional inference frameworks put a human reviewer on every change; existing purely agent-driven systems build a serving stack for one deployment at a time. WeaveLayer takes a path between the two: it is a general-purpose inference framework that one engineer develops by directing coding agents. It is not limited to one type of model: it serves LLM, vision-language, speech and video models, among others. No human routinely reviews its changes line by line, yet the engineer stays deeply involved, owning direction, architecture and code taste, and reviewing the modules they care about; agents write, independently review, debug and continuously refactor the code. Its development rules go with human nature instead of against it: code expands and then contracts, and users get fewer guarantees and are asked for more. In addition, testing is optimized as the new bottleneck, and inference know-how is distilled into skills tested by blind replay. The framework design serves this method: AI acts as the compiler and code is the IR; Ops are self-contained, the runtime is model-agnostic, and a model is just a weave of layers (Ops), so most work on a model stays in its own code. On DeepSeek-V4.1-Flash under InferenceX AgentX on GB300, two months after the model's release, WeaveLayer leads the official vLLM and SGLang results at equal interactivity: by a median of 144% and 70% in throughput per GPU in aggregated serving, and by 15% and 21% in disaggregated serving. With aggregated configurations of its own, WeaveLayer further extends the highest throughput by 80% and the highest interactivity by 21% beyond the best aggregated vLLM or SGLang result, at matched precision under the benchmark's rules.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Models" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include WeaveLayer, vLLM, SGLang, DeepSeek.

Primary source verification: published directly by arXiv: DeepSeek with first-party authority.

Spotted an error in the summary or translation? Tell us