arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.23640cs.DCcs.LG
收藏

边缘侧的大语言模型推理:移动、NPU和GPU在持续负载下的性能效率权衡

LLM Inference at the Edge: Mobile, NPU, and GPU Performance Efficiency Trade-offs Under Sustained Load

Conscious Engines

Pranay Tummalapalli, Sahil Arayakandy, Ritam Pal, Kautuk Kundan

AI总结:

研究评估了在持续负载下不同设备上大语言模型的性能效率,发现移动端受热管理限制,专用硬件受电池和内存带宽限制,展示了不同平台的推理表现和能效差异。

摘要:

在设备上部署大语言模型以实现持续运行的个人代理,需要硬件在功率、热限和内存方面的持续推理。我们对Qwen 2.5 1.5B(4位量化)在四个平台上的性能进行了基准测试:Raspberry Pi 5搭载Hailo-10H NPU、三星Galaxy S24 Ultra、iPhone 16 Pro和NVIDIA RTX 4050 GPU笔记本电脑。使用固定258个标记的提示,经过20次预热迭代,我们测量了吞吐量、延迟、功率和热行为。对于移动平台,热管理超越峰值计算成为主要限制:iPhone 16 Pro在两次迭代内几乎失去一半的吞吐量,而S24 Ultra因操作系统强制的GPU频率限制导致推理终止。在专用硬件上,不同的限制主导:RTX 4050受电池电量限制,而Hailo-10H受模块内存带宽限制。RTX 4050在34.1 W下维持131.7 tok/s;Hailo-10H在不到2 W下维持6.9 tok/s,接近零波动,与RTX 4050在能效比例上相匹配,但吞吐量低19倍。结果应视为单个模型和提示类型的平台级部署特征,反映硬件和软件的结合,而非单独的硬件能力声明。

英文摘要:

Deploying large language models on-device for always-on personal agents demands sustained inference from hardware tightly constrained in power, thermal envelope, and memory. We benchmark Qwen 2.5 1.5B (4-bit quantised) across four platforms: a Raspberry Pi 5 with Hailo-10H NPU, a Samsung Galaxy S24 Ultra, an iPhone 16 Pro, and a laptop NVIDIA RTX 4050 GPU. Using a fixed 258-token prompt over 20 warm-condition iterations per device, we measure throughput, latency, power, and thermal behaviour. For mobile platforms, thermal management supersedes peak compute as the primary constraint: the iPhone 16 Pro loses nearly half its throughput within two iterations, and the S24 Ultra suffers a hard OS-enforced GPU frequency floor that terminates inference entirely. On dedicated hardware, distinct constraints dominate: the RTX 4050 is bounded by its battery power ceiling, while the Hailo-10H is limited by on-module memory bandwidth. The RTX 4050 sustains 131.7 tok/s at 34.1 W; the Hailo-10H sustains 6.9 tok/s at under 2 W with near-zero variance, matching the RTX 4050 in energy proportionality at 19x lower throughput. Results should be interpreted as platform-level deployment characterisations for a single model and prompt type, reflecting hardware and software combined, rather than general claims about hardware capability alone.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑