Together AI Releases Together Compiler: Agents Make Inference Up to 2.6x Faster

2026年11月5日 08:02
站內 AI 整理稿

Together AI has introduced Together Compiler (TKCC), an agent-driven system that keeps re-optimizing inference as production traffic changes.Together Compiler already runs on several of Together’s serverless endpoints.

The core claim for developers: an engine tuned once goes stale, so tuning should never stop.TL;DR System: It is an optimization system, tested on Kimi K3, GLM 5.3, MiniMax M3.1 Flash, DeepSeek v4.1 Flash and Llama 1B.Runs on: NVIDIA B200, B300, GB300, H100, AMD MI355X and AWS Trainium2.

Each run used at most 2 nodes per model.Performance: Up to 2.6x higher TPS than the best published InferenceX configurations, in under 24 hours per setting.Best: 1,111 P90 TPS per user on MiniMax M3.1 Flash (B200, batch size 1), 1.8x over the 633 TPS baseline.Worst: GLM 5.

3 on MI355X moved only from 463 to 480 TPS (about 4%).What is Together Compiler?Together Compiler is a continual compilation loop from Together AI that uses coding agents to rewrite a model’s forward pass.It takes a server launch command, a traffic profile and a hardware configuration.

Agents propose faster forward passes, and a persistent engine measures each one.The winning code ships into the serving engine.When traffic drifts, the loop runs again.Why does inference need continual compilation?Together AI team reports that its traffic shape never sits still.

Prompt lengths in one country ran about 97K tokens versus 70K elsewhere.One customer’s P90 input length grew from 18K to 33K tokens in 3 days.Kernels tuned on random data can also mislead.Random inputs activated 13 to 38% more MoE experts than real traffic.

One agent-written top-k kernel took 20 µs on random data.On real data at 70K context, it took up to 62 ms.How does the persistent engine work?Most agent loops restart vLLM, SGLang or TensorRT-LLM for every experiment.The research team measures 761 seconds of cold startup for MiniMax M3.

1 Flash on TensorRT-LLM.Together Compiler starts the engine once.Agents submit a candidate forward pass over RPC.The server swaps the forward function pointer and re-captures CUDA graphs.Two measurement tiers balance speed and fidelity.A fast tier serves 12 layers for quick screening.

A slow tier serves 60 layers to confirm gains on real distributions.Two tiers tested 8.1x more candidates than one slow tier (1,354 vs 168).They also found a solution 7.2% faster.Together AI team reports 252x higher agent experiment throughput than an engine-restart baseline.

How does it choose a parallelism layout?A cost model ranks tensor, expert, data and context parallel layouts before agents start.It mixes spec-sheet numbers, microbenchmarks and measured forward passes.It also uses measured MoE expert imbalance and uneven request lengths.

On Kimi K3, it found a production layout with up to 24% higher TPS.What did agents need from human experts?An expert-curated knowledge base produced 25 to 31% lower speedup after 12 hours.Naive agents told to make the forward pass “as fast as possible” beat expert strategies.

The ensemble scores were 6.2x versus 4.9x after 10 trials.Custom logging structures ate up to 43% of tool calls.Together AI now gives agents raw engine source code, not an intermediate representation.Benchmarks: how fast is Together Compiler?

On SemiAnalysis InferenceX‘s AgentX workload, Together Compiler beat the best open configurations by up to 2.6x TPS.Each setting ran under 24 hours on at most 2 nodes.Batch size 1, P90 TPS per user (Together Compiler vs InferenceX best, self-reported): MiniMax M3.

1 Flash (B200): 1,111 vs 633 DeepSeek v4.1 Flash (GB300): 1,205 vs 943 GLM 5.3 (B200): 417 vs 329 Kimi K3 (GB300): 450 vs 423 GLM 5.3 (MI355X): 480 vs 463 For MiniMax, the cost model picked TP8 over the baseline’s TP4.That halves each GPU’s weight traffic in memory-bound decode.

On Llama 1B at batch size 1, it beat Hazy Research megakernels, Mirage and CUDA-graph baselines by up to 1.7x.Beyond LLMs, it sped up 8 scientific models by 1.5x to 6.4x with bit-exact outputs.Claude Code with /goal reached 1.2x to 4.4x and failed on AIFS-ENS 2.0.

Auto-play Time before a candidate can be measured (MiniMax M3.1 Flash, TensorRT-LLM, paper Table 1)

Cold engine start (status quo) 761 s

Hot reload, slow tier (60 layers) 45 s

Hot reload, fast tier (12 layers) 17 s

252x

more agent experiments than an engine-restart baseline 8.1x

more candidates with 2 tiers vs 1 slow tier (1,354 vs 168) 7.2%

faster final solution from the two-tier setup 11x

lower idle time per agent P90 TPS per user, batch size 1Llama 1B, batch size 1 (B200) Self-reported by Together AI. InferenceX baselines as of Oct 27, 2026. Under 24 hours, at most 2 nodes per model. Knowledge base +

An expert-curated knowledge base gave 25 to 31% lower speedup after 12 hours. Agents wasted time searching it. Expert strategies +

Naive agents ("make it as fast as possible") beat expert-assigned strategies: 6.2x vs 4.9x after 10 trials. Custom logging +

Human-designed research logs consumed up to 43% of tool calls per trial. No intermediate representation +

Raw engine source let agents rewrite Kimi K3's MLA metadata kernel for a 1.7 to 2.5x kernel speedup.

Related

相關文章

蓋茨炮轟白宮 AI 監管僵局:生物武器風險或超新冠

他稱 AI 模型展現出的能力"驚人",無論造福還是作惡的潛力都"不容低估"。最讓他警惕的,是惡意行為者借 AI 製造生物武器、或撕開各領域網絡安全缺口——而部分"開放"模型本就免費可用,其安全護欄與監控還能被直接卸掉。他直言,一旦 AI 捲入生物安全事件,損害規模"可能比新冠嚴重得多"。

7 小時前6700

月之暗面開放 2.8 萬億參數 Kimi K3.1 Pro 權重,強勢登頂 Agent Arena 開源榜

隨著此次權重的正式開源,該模型在由 Arena 運營的智能體排行榜 Agent Arena 中表現亮眼,一舉奪得開放權重模型的第一名,在全部參評模型中位列第13位,並在工作、編程與聊天三大核心類別中均穩居開放模型首位。基於真實長週期會話的嚴苛評測與傳統的成對盲測不同,Agent Arena 擁有獨特的評測方式。

8 小時前5900
雷峰網模型更新

360亮相北大AI+X青年人才實踐發展論壇,聯合發佈“AI原生人才標準”

近日,青年人才能力數字服務平臺與北大青年AI+創新勞動實踐平臺發佈暨AI+X青年人才實踐發展論壇隆重舉辦。本次會議由中國技術交易所、北京大學信息科學技術學院聯合主辦,錨定AI時代青年人才培育、產教深度協同等創新方向,匯聚職上青雲等共建夥伴、高校科研力量與產業生態資源,共尋智能浪潮下青年人才發展的創新範式。其中,360集團作為承辦企業受邀參會,360集團副總裁卜思南以《智能體時代,培養AI原生人才》為題發表主旨演講,深度解讀了智能體變革浪潮下的AI原生人才評價邏輯,探尋產教協同賦能新質生產力的實踐路徑。

8 小時前

Meta收購AI編碼初創公司Conductor,加碼智能體編程賽道

該消息最初由Axios報道,Conductor創始人兼CEO Charlie Holtz同步在博客中宣佈這一進展,並表示公司將於“明年年初”為客戶帶來“一些新東西”。Meta向TechCrunch證實了此次收購,但拒絕透露交易細節。Holtz還提到,期待與Meta首席人工智能官Alexander Wang及超級智能實驗室產品負責人Nat Friedman合作,稱MSL“是所有實驗室中人才密度最高的”。

9 小時前4900