arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.08290cs.LGcs.AI
收藏

AutoCompress:硬件引导的自动化模型压缩

AutoCompress: Automated Hardware-Guided Model Compression

Sheldon Liang, Ali Taghibakhshi, Saurav Muralidharan, Sharath Turuvekere Sreenivas, Ashwath Aithal, Pavlo Molchanov, Nima Tajbakhsh

AI总结:

AutoCompress是一种硬件引导的LLM压缩框架,将延迟、吞吐量等硬件约束融入可微架构搜索,在多硬件平台及场景下较Minitron剪枝框架提升了准确率,还成功压缩了Nemotron 3.5 Super模型并保留了95%的基准分数。

摘要:

大语言模型(LLM)剪枝必须在保持性能的同时,满足硬件和工作负载特定的延迟、吞吐量及内存约束。现有剪枝工作流通常以参数数量为目标,需要从业者手动选择符合延迟、吞吐量和GPU内存限制的模型规模。但仅参数数量无法预测这些指标,它们取决于模型架构、工作负载、硬件和推理服务引擎。我们提出AutoCompress,这是一种硬件引导的压缩框架,将此类约束直接融入可微架构搜索。AutoCompress联合优化全局和每层结构,生成异构架构,其指导依据是经端到端延迟、吞吐量和内存测量验证的推理服务引擎成本模型。我们在长上下文本地编码、批处理数据中心服务及延迟敏感的游戏内交互场景评估AutoCompress。与最先进的Minitron剪枝框架相比,AutoCompress在RTX 5070、RTX 5080和H100上的8个基准测试平均准确率分别提升6.57、2.35和0.57个百分点;还将Nemotron 3.5 Super从120B参数压缩至74B参数,用于单B200 BF16服务且上下文长度为128K时,保留了其95%的平均基准分数。

英文摘要:

LLM pruning must preserve quality while meeting hardware- and workload-specific constraints on latency, throughput, and memory. Existing pruning workflows often target parameter counts, requiring practitioners to manually select model sizes that meet latency, throughput, and GPU memory limits. However, parameter count alone does not predict these metrics, which depend on the model architecture, workload, hardware, and serving engine. We introduce AutoCompress, a hardware-guided compression framework that directly incorporates such constraints into differentiable architecture search. AutoCompress jointly optimizes global and per-layer structure to produce heterogeneous architectures, guided by serving-engine cost models validated against end-to-end latency, throughput, and memory measurements. We evaluate AutoCompress on long-context local coding, batched datacenter serving, and latency-sensitive in-game interaction. Compared to the state-of-the-art Minitron pruning framework, AutoCompress improves average accuracy across eight benchmarks by 6.57, 2.35, and 0.57 percentage points on RTX 5070, RTX 5080, and H100, respectively. AutoCompress also compresses Nemotron 3.5 Super from 120B to 74B parameters for single-B200 BF16 serving at 128K context, retaining 95% of its mean benchmark score.

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

↑