评估LLM推理优化在Apple Silicon上的适用性
Evaluating the Applicability of LLM Inference Optimizations on Apple Silicon
研究在四台Apple设备上以单请求解码负载评估KV-cache剪枝、投机解码、移植GPU内核与训练后量化四类LLM推理优化,并与RTX 4090做匹配对比。KV-cache剪枝在Apple上端到端吞吐最高提升1.75倍,却可能降低桌面NVIDIA GPU吞吐;所有受测投机解码方法在Apple上均降低吞吐,尽管其在服务器GPU上报告有2-6倍增益。
arXiv:2610.31479v1 Announce Type: new Abstract: Apple Silicon is among the most widely used platforms for local LLM inference, yet nearly all inference optimizations are designed and validated on server-class NVIDIA GPUs under batched serving workloads. Which optimizations retain their benefits when moved to Apple Silicon, and what determines their applicability? We evaluate four optimization families: KV-cache pruning, speculative decoding, ported GPU kernels, and post-training quantization. Experiments span four Apple machines under a common single-request decode workload, with matched RTX 4090 comparisons where possible. KV-cache pruning can reach up to 1.75 times end-to-end throughput on Apple but can reduce throughput on desktop NVIDIA GPUs. Under the common benchmark, all evaluated speculative decoding methods reduce throughput on Apple, despite reported 2-6 times gains on server GPUs. CUDA kernel designs transfer only partially: public Metal lacks asynchronous copy, and batch-one decode makes several serving-oriented mechanisms inapplicable, although transferable components yield up to 1.20 times decode throughput. Quantization gains vary by machine. Across four families, a reported speedup is not a portable property of a technique alone but a joint function of technique, runtime, hardware contract, and workload regime.
来源:arXiv (AI + Vision + Imaging) · arxiv.org