FlexNPU: Transparent NPU Virtualization for Dynamic LLM Prefill-Decode Co-location
On the map: Efficient LLM inference and serving → Serving systems and request scheduling
Abstract (arXiv)
Modern AI serving increasingly relies on NPUs for conventional inference and large language model serving. However, current NPU deployments commonly expose physical devices directly to applications, which limits runtime control over scheduling and makes it difficult to adapt execution to phase-level workload behavior. This limitation is particularly evident in LLM serving, where the prefill phase is compute-intensive while the decode phase is often constrained by memory bandwidth and KV-cache accesses. Static prefill-decode (PD) disaggregation reduces phase interference, but can introduce resource imbalance and unnecessary data movement. We present FlexNPU, a transparent user-space virtualization layer for Ascend NPUs. FlexNPU interposes on AscendCL APIs and routes NPU operations through per-device daemons, decoupling unmodified from physical NPU devices without modifying model code, AI frameworks, or NPU drivers. This runtime boundary allows FlexNPU to virtualize NPU objects, control operator dispatch, and support phase-aware scheduling for LLM serving. In particular, FlexNPU enables dynamic PD co-location, which adapts scheduling between prefill and decode according to their complementary resource characteristics. We implement FlexNPU on Huawei Ascend NPUs and evaluate it with typical LLM workloads. Compared with direct NPU passthrough, FlexNPU introduces no measurable inference overhead and slightly improves throughput in some scenarios. On a 384-card Ascend 910C deployment of DeepSeek-R1, FlexNPU improves throughput over static PD disaggregation by 5.15% and 26.33%. On Qwen2.5-7B, compared with static PD co-location, FlexNPU maintains comparable throughput while reducing TTFT by over 92% across tested workloads with nearly unchanged TPOT. These results show that transparent NPU virtualization is a practical substrate for efficient and responsive LLM serving.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 12 of its 28 references that are in the map. First posted on arXiv 3 Jun 2026.
Builds on
12 of 28 references.
Closest ancestors · 6
Same direction, newest first
- 2025DuetServe: Harmonizing Prefill and Decode for LLM Serving via Adaptive GPU Multiplexing6 Nov
- 2025Nexus:Proactive Intra-GPU Disaggregation of Prefill and Decode in LLM Serving9 Jul
- 2025Prism: Cost-Efficient Multi-LLM Serving via GPU Memory Ballooning6 May
- 2025semi-PD: Towards Efficient LLM Serving via Phase-Wise Disaggregated Computation and Unified Storage28 Apr
- 2024MuxServe: Flexible Spatial-Temporal Multiplexing for Multiple LLM Serving2 Apr
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving18 Jan
Other references · 6
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
- 2024ServerlessLLM: Low-Latency Serverless Inference for Large Language Modelscited by 78
- 2023Torpor: GPU-Enabled Serverless Computing for Low-Latency, Resource-Efficient Inferencecited by 13
- 2022Singularity: Planet-Scale, Preemptive and Elastic Scheduling of AI Workloadscited by 9
- 2023FaST-GShare: Enabling Efficient Spatio-Temporal GPU Sharing in Serverless Computing for Deep Learning Inferencecited by 6
- 2026Nixie: Efficient, Transparent Temporal Multiplexing for Consumer GPUscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025BanaServe: Unified KV Cache and Dynamic Module Migration for Balancing Disaggregated LLM Serving in AI Infrastructure
- 2026EStream: Fast and Memory-Efficient MoE Prefill through Expert Virtualization on Mobile NPUs
- 2026Dynamic Flow, Static Graph: KV Cache Reuse for Efficient LLM Serving on Mobile NPUs
- 2024Tackling the Dynamicity in a Production LLM Serving System with SOTA Optimizations via Hybrid Prefill/Decode/Verify Scheduling on Efficient Meta-kernels
- 2025DynaServe: Unified and Elastic Execution for Dynamic Disaggregated LLM Serving
- 2026Auto-Scaling Heterogeneous Neural Processing Units for Energy and Cost-Efficient LLM Serving
- 2025Agent.xpu: Efficient Scheduling of Agentic LLM Workloads on Heterogeneous SoC
- 2026Execution-State Capsules: Graph-Bound Execution-State Checkpoint and Restore for Low-Latency, Small-Batch, On-Device Physical-AI Serving