Detail
Conference Paper
이기종 가속기를 위한 공통 인터페이스 기반 온디바이스 AI 추론 프레임워크
Cited - time in
Share
Share - Issue Date
- 2026-11
- Citation
- 대한임베디드공학회 학술 대회 (추계) 2026, pp.153-155
- Publisher
- 대한임베디드공학회
- Language
- Korean
- Type
- Conference Paper
- Abstract
- On-device AI systems increasingly use heterogeneous accelerators whose runtimes differ in execution and state management. In LLM inference, ONNX Runtime and TensorRT expose KV caches as caller-managed tensors, whereas Mobilint Aries, accessed through qbruntime, maintains the KV cache as internal NPU state. This paper presents rociROCI (Robot On-device Common Inference), an Engine/Pipeline/Backend framework that isolates these differences while keeping decoding control flow independent of the selected backend. We implement ONNX Runtime, TensorRT, and Aries qbruntime backends and validate rociROCI with LLM, VLM, and ASR pipelines. For Llama-3.2-3B-Instruct, framework processing outside backend execution accounts for 0.26–0.55% of per-step decode time. When a TensorRT vision task and the LLM run concurrently on the GPU, vision-task latency increases by 62–71% relative to its corresponding solo baseline. Switching only the LLM backend to qbruntime reduces this increase to about 7%, while LLM throughput changes by less than 1% from solo execution. We also show that a task-specific Qwen3-VL-2B model obtained by LoRA fine-tuning and adapter merging runs through the same Qwen3-VL pipeline as the original model without modifying application or inference-loop logic, while matching the reference greedy output exactly.
- Keyword
- On-Device AI Inference, Heterogeneous Accelerator Integration, NPU Backend, KV Ccache State Management, Inference Fframework Architecture
- KSP Keywords
- Control flow, State management, Task-specific, fine-tuning, heterogeneous accelerators