Hibana: Fast Agentic Inference on Unified-Memory Devices
Yahya Emara, Chi-Chih Chang, Anthony Fei, Ahmed F. AbouElhamayed, Chong-Yan Chen, Hung-Yueh Chiang, Kai-Chiang Wu, Mohamed S. Abdelfattah
Abstract
Local AI promises capable personal assistants that run on users' own devices, keeping data and computation under their control. Open-weight models that fit on local devices can now handle practical tasks such as coding. Yet current inference engines fall short. Popular engines such as vLLM and SGLang target datacenter GPUs with dedicated host memory, while local engines underuse the memory hierarchy of unified-memory devices. We present Hibana, an inference engine for unified-memory devices that co-optimizes model representation, memory management, and decoding strategy. Model surgery, the process of editing a trained model's architecture to suit its hardware, changes how the model computes, shrinking its memory footprint and data movement. Unified-memory management preserves each agent's state across turns, so long-running agents can resume instantly instead of recomputing their state. Adaptive speculation generates several tokens per step. Hibana codesigns these features around the shared memory capacity and limited bandwidth of unified-memory systems-on-chip to support local multi-agent workloads. On a single DGX Spark serving Qwen and Nemotron models of up to 125B parameters, Hibana completes up to 3.4 more agentic tasks per hour and delivers up to 3.9 higher decoding throughput than other established frameworks such as vLLM, NVIDIA Flare, llama.cpp, and TensorFold. Code is available at https://github.com/sharar-project/hibana.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
Correct Precedents Induce Policy Violations in On-Device LLM Agents
Shared title terminologycs.CLChong Tian, Yu Wang, Steve Liu et al.
BioMem: Agentic Memory for Biomedical LLM Agents
Shared title terminologycs.CLMingchen Li, Yongkang Xiao, Rumeng Li et al.
HiVe-Mem: Interleaving Horizontal Memory Expansion and Vertical Evidence Composition for Multimodal Agents
Shared title terminologycs.CLHaozhen Zhang, Bohan Liu, Jianzhu Bao et al.
MIRIX-2.0: Multi-Agent Memory System
Shared title terminologycs.CLWei-Chieh Huang, Weizhi Zhang, Jiayan Nan et al.
Think or Remember: The Exchange Rate of Agentic Inference
Shared title terminologycs.CLJuan Wisznia, Santiago Luis Groba Alonso, Matías Gómez Taddeo et al.
Who Remembers What? Multi-Granularity Memory Extraction for Multi-User, Multi-Agent Interaction
Shared title terminologycs.CLYunzhe Wang, Mesut Erhan Unal, Sheng Zhang et al.