Ostinato: Fast CPU-GPU MoE Inference for Local Agents via Resident Experts in Every Forward Pass
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks also fits: Multimodal and embodied agents
also in 1 more
Abstract (arXiv)
Language-model agents increasingly run on local workstations with consumer GPUs, where quantized mixture-of-experts (MoE) models split routed experts between GPU and host memory. Prefix-cached agent sessions alternate single-token decode with short tool-return prefills, typically up to a few hundred tokens. Short tool turns touch more experts than consumer GPUs can hold, yet direct roughly 85% of DeepSeek-V4-Flash's routes to a static GPU pool while leaving 3.3-5.5 tokens per cold expert. Widely used local engines such as llama.cpp and KTransformers either copy tens of gigabytes over PCIe per turn, compute every route on the CPU while idling resident GPU experts, or budget GPU memory by whole layers and uniform per-layer quotas. We present Ostinato, a CPU-GPU MoE engine that reuses one static cross-layer GPU pool in place across every forward pass. During decode and short tool turns, Ostinato computes resident routes on the GPUs and sparse cold routes on the CPU, so short turns copy no expert weights; on long prefills, it deduplicates cold uploads; and for multi-GPU decode, all-zero expert slots with device-side synchronization capture each GPU's decode step in one CUDA graph. Across held-out SWE and -bench sessions on three MoE models, Ostinato cuts median tool-turn waits by 2.5-6.6x and finishes sessions 1.36-3.83x faster than default baselines, staying 1.30-1.94x faster when baselines align their upload threshold and weight loading. It finishes sessions fastest across seven agent workloads, one to four GPUs, and up to eight concurrent sessions, while its cross-layer pool speeds up 335 GB DeepSeek-V4.1-Flash by 1.81-2.19x over llama.cpp's expert cache.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 29 of its 44 references that are in the map. Submitted 8 Nov 2026.
Builds on
29 of 44 references.
References · 29
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,716
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
- 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 797
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 683
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 307
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 233
- 2023Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inferencecited by 114
17 more
- 2024Fiddler: CPU-GPU Orchestration for Fast Inference of Mixture-of-Experts Modelscited by 82
- 2024MoE-Lightning: High-Throughput MoE Inference on Memory-constrained GPUscited by 82
- 2024HOBBIT: A Mixed Precision Expert Offloading System for Fast MoE Inferencecited by 64
- 2024MoE-Infinity: Efficient MoE Inference on Personal Machines with Sparsity-Aware Expert Cachecited by 61
- 2024ProMoE: Fast MoE-based LLM Serving using Proactive Cachingcited by 48
- 2024InferCept: Efficient Intercept Support for Augmented Large Language Model Inferencecited by 37
- 2024Compute Or Load KV Cache? Why Not Both?cited by 28
- 2026TraceLab: Characterizing Coding Agent Workloads for LLM Servingcited by 22
- 2025HybriMoE: Hybrid CPU-GPU Scheduling and Cache Management for Efficient MoE Inferencecited by 20
- 2025Opportunistic Expert Activation: Batch-Aware Expert Routing for Faster Decode Without Retrainingcited by 13
- 2025FloE: On-the-Fly MoE Inference on Memory-constrained GPUcited by 12
- 2026FreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Executioncited by 11
- 2026ReMoE: Boosting Expert Reuse through Router Fine-Tuning in Memory-Constrained MoE LLM Inferencecited by 7
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Schedulingcited by 6
- 2026Agentic AI Workload Characteristicscited by 6
- 2025AugServe: Adaptive Request Scheduling for Augmented Large Language Model Inference Servingcited by 4
- 2026SeqMoE: Toward Full-Load Performance via Predictive and Graph-Compatible MoE Offloadingcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Fast MoE Inference via Predictive Prefetching and Expert Replication
- 2026Accelerating Offloading-Based MoE Inference by Interleaving Concurrent Requests
- 2025SP-MoE: Speculative Decoding and Prefetching for Accelerating MoE-based Model Inference
- 2025ExpertFlow: Adaptive Expert Scheduling and Memory Coordination for Efficient MoE Inference
- 2026Speculating Experts Accelerates Inference for Mixture-of-Experts
- 2025OD-MoE: On-Demand Expert Loading for Cacheless Edge-Distributed MoE Inference
- 2026Efficient CPU-GPU collaborative MoE inference via Adaptive Expert Assignment
- 2026FluxMoE: Decoupling Expert Residency for High-Performance MoE Serving