VLA推理时间花在哪里?跨GPU的瓶颈与优化交互
Where Is VLA Inference Time Spent? Bottlenecks and Optimization Interactions Across GPUs
AI总结:
本文通过在4类GPU上对7种VLA模型测试7类推理优化,分析优化交互与瓶颈,提出延迟预算下的VLA-Triage优化堆叠指南。
摘要:
视觉-语言-动作(VLA)模型将相机观测和语言指令映射为机器人动作,但其庞大的骨干网络与重复的动作生成过程会导致推理时间超过机器人对下一个动作的实时要求。为降低VLA计算负载,研究人员提出了量化、剪枝等多种优化方法,这些方法可与更优内核编译、使用CUDA图替代 eager 模式等通用优化结合。然而,多数优化结果仅在单一GPU类型、少数VLA模型上报告,未分析特定硬件上模型的真实瓶颈,也未探究这些优化在报告结果之外的泛化性。本文针对7类推理优化方法(涵盖CUDA图、编译到token剪枝、量化),在4类GPU(从数据中心H100到嵌入式Jetson Thor)上对7种最先进VLA模型开展综合测量研究,分析CPU启动开销、内存带宽、内核效率如何共同影响优化收益,以及一种方法的应用如何改变另一种方法的收益。基于此分析,本文提出VLA-Triage——延迟预算下的优化堆叠指南,该指南可识别哪些阶段能提供所需的节省,以及哪些组合需在部署执行模式中测试。
英文摘要:
Vision-language-action (VLA) models map camera observations and language instructions to robot actions. However, their large backbones and repeated action generation can make inference take longer than the robot's real-time requirements for its next action. To reduce the load of VLA computations, researchers have proposed multiple optimization approaches, including quantization and pruning. These optimizations can be combined with other general optimizations such as better kernel compilation or using CUDA graphs instead of the eager mode. However, most of these optimization results are usually reported on a single GPU type, typically for a few VLA models, with no analysis of what the real bottlenecks are for a model on a particular hardware or how these optimizations would generalize beyond the reported results. In this paper, we provide a comprehensive measurement study of seven families of inference optimization methods, from CUDA graphs and compilation to token pruning and quantization, on seven state-of-the-art VLAs evaluated on four GPU families ranging from a datacenter H100 to an embedded Jetson Thor. We analyse how CPU launch overhead, memory bandwidth, and kernel efficiency jointly shape optimization gains, and how applying one method changes the benefit of another. From this analysis, we derive VLA-Triage, guidelines for stacking optimizations under latency budgets. The guidelines identify which stages can provide the required savings and which combinations need testing in the deployed execution mode.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。