Shared Context, Separate Engines: Stateful Streaming Inference for Multimodal LLMs on Edge SoCs
Read the original on arXiv Machine Learning →The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The Flow has not summarised this story yet — read it at arXiv Machine Learning.
The paper introduces a system that coordinates heterogeneous accelerators on edge SoCs to run vision–language model inference concurrently, separating a stream’s context from each engine’s key‑value state. By allowing engines to import, reuse, or reconstruct state, the method supports stateful streaming generation and concurrent sequence generation, achieving higher throughput and lower latency than single‑engine baselines. Experiments on Apple M4 Max, Rockchip RK3588, and Qualcomm QCS6490 show significant gains, including up to 27.2% more throughput and 72.7% faster query completion.
DualPace is an LLM serving runtime that decouples scheduling between a GPU engine and an AMX‑enabled CPU engine, allowing the CPU to independently batch and advance decodes while still cooperating with the GPU for dense stages. This design expands key‑value cache capacity into host memory and reduces bursty CPU progress, leading to significant throughput gains—up to 43.2 % over NEO and 90.6 % over vLLM—without increasing latency. The system also maintains low time‑to‑first‑token and supports higher request rates at comparable tail latency.
The paper proposes a method for placing large language model lookup tables by using per‑layer prefetch deadlines, allowing efficient use of host DRAM, NVMe, and RDMA resources. By scheduling lookups at step start and splitting a small GPU row cache across layers, the authors achieve near‑zero decode cost for a 203 GB Engram table and reduce host memory usage from 212 GiB to 34 GiB while increasing throughput by 36% on a KV‑constrained workload.
The paper investigates the performance impact of using a remote KV cache tier for long‑context language model serving. In a disaggregated deployment of GLM‑5.3 on 8xB300 nodes, enabling the remote tier initially increased the 16k‑token p99 latency from 3.96 s to 17.3 s, and synchronous loading caused severe queue instability. By sharding the KV store across context‑parallel ranks, partitioning the remote tier, adding asynchronous loading, and fixing client bugs, the authors reduced the p99 latency from 83.32 s to 0.67 s and increased prefill throughput by 14–34 %. whyItMatters":"The study demonstrates that careful sharding and asynchronous handling of remote KV caches can dramatically improve latency and throughput in large‑scale LLM serving systems."
Delta Tokenizer is a CPU‑side tokenization front end that only processes the difference between successive requests in a session, preserving the earlier token sequence and encoding only the appended text and its short tail. For long, stateless requests it splits the text into independent chunks, encodes them in parallel across multiple cores, and concatenates the results exactly. This approach reduces the time to first token by about 40× compared to the Hugging Face reference tokenizer, speeds up a four‑million‑character request 8.2× on 16 cores, and cuts median TTFT in SGLang chat by 59% while dramatically lowering P99 TTFT under load.
arXiv:2609.37626v1 Announce Type: cross Abstract: No single way of parallelizing attention serves large language models well under all loads. Low concurrency favors tensor parallelism, many independe...