arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.10031cs.ARcs.AIcs.DC
收藏

面向AMD Instinct GPU的架构感知LLM推理优化:全面的基准测试与部署研究

Architecture-Aware LLM Inference Optimization on AMD Instinct GPUs: A Comprehensive Benchmark and Deployment Study

Athos Georgiou

AI总结:

研究针对AMD Instinct GPU优化LLM推理,通过基准测试发现架构感知优化对MLA模型至关重要,同时揭示不同模型在文本和视觉任务中的吞吐量差异及内存带宽瓶颈。

摘要:

我们对生产级LLM推理在AMD Instinct MI325X GPU上的跨架构评估,基准测试了四个模型,参数规模从235B到1万亿,横跨三种架构家族(MoE+MLA、Dense+GQA、MoE+GQA)在8GPU集群上,使用2TB聚合HBM3e的vLLM v0.14.1。我们的结果表明,架构感知优化是必要的:MLA模型需要块大小1且不能使用KV缓存卸载,而GQA模型受益于两者。AMD AITER运行时对于竞争性的MLA推理吞吐量是必需的,必须有选择地禁用不兼容注意力头配置的架构。对Llama-3.1-405B的受控ATIER消融实验(n=5每条件)揭示了在高并发下有适度的3-5%吞吐量优势,但测量变异性和更高,证实了ATIER的大幅加速专门针对MoE/MLA内核。在纯文本工作负载下,Llama-405B和DeepSeek V3.2尽管活跃参数数量相差一个数量级,仍达到可比的峰值吞吐量(15,944和15,343 tok/s)。在视觉工作负载下,Qwen3-VL-235B达到47,873 tok/s,比Kimi-K2.5(7,327 tok/s)高6.5倍。活跃参数数量与推理吞吐量相关,但受量化、ATIER加速和张量并行性差异的影响。所有四个模型都表现出一致的吞吐量饱和点,与内存带宽瓶颈一致(约500个短序列并发,约100-200个长序列并发)。所有模型通过1,000个并发用户保持100%的HTTP级别成功率,处理18.9百万个标记,17,406个请求,无失败。

英文摘要:

We present a cross-architecture evaluation of production LLM inference on AMD Instinct MI325X GPUs, benchmarking four models spanning 235B to 1 trillion parameters across three architectural families (MoE+MLA, Dense+GQA, MoE+GQA) on an 8-GPU cluster with 2TB aggregate HBM3e using vLLM v0.14.1. Our results demonstrate that architecture-aware optimization is essential: MLA models require block size 1 and cannot use KV cache offloading, while GQA models benefit from both. The AMD AITER runtime is required for competitive MLA inference throughput and must be selectively disabled for architectures with incompatible attention head configurations. A controlled AITER ablation on Llama-3.1-405B (n=5 per condition) reveals a modest 3-5% throughput benefit at high concurrency but 2-16x higher measurement variability, confirming that AITER's large speedups target MoE/MLA kernels specifically. Under text-only workloads, Llama-405B and DeepSeek V3.2 achieve comparable peak throughput (15,944 and 15,343 tok/s) despite an order-of-magnitude difference in active parameters. Under vision workloads, Qwen3-VL-235B reaches 47,873 tok/s, 6.5x higher than Kimi-K2.5 (7,327 tok/s). Active parameter count per token is associated with inference throughput, though confounded by differences in quantization, AITER acceleration, and tensor parallelism. All four models exhibit a common throughput saturation point consistent with a memory-bandwidth bottleneck (~500 concurrent for short sequences, ~100-200 for longer sequences). All models maintain 100% HTTP-level success rates through 1,000 concurrent users, processing 18.9 million tokens across 17,406 requests without failures.

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

↑