arXiv:2611.08290cs.LGNov 2026

Manuscript Offprint

arXiv:2611.08290

AutoCompress: Automated Hardware-Guided Model Compression

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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

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.

1. Introduction

Large language models (LLMs) have demonstrated strong capabilities in reasoning, code generation, and long-context understanding. However, their substantial compute and memory requirements make them expensive to deploy, particularly on hardware with limited resources.

In practice, the requirements for deploying an LLM vary considerably across applications and hardware. For instance, a local coding assistant must support long contexts within the limited memory of a consumer GPU, while a datacenter deployment must sustain high throughput when serving many requests concurrently. An in-game character presents a different challenge: the model must generate responses within a strict latency budget while sharing GPU resources with rendering. These scenarios place different demands on model compression, prioritizing memory capacity, batched throughput, or a combination of latency and memory limits. Effective compression therefore requires choosing an architecture that satisfies the specific deployment constraints while retaining as much of the original model's quality as possible.

Existing pruning frameworks provide effective recipes for deriving smaller models, but adapting them to specific deployment requirements still requires substantial manual effort. For instance, Minitron Muralidharan et al. (2024); Taghibakhshi et al. (2026) performs architecture search within a user-defined search space and parameter budget, leaving practitioners to translate deployment constraints into suitable pruning targets. Additionally, parameter count alone does not capture the cost of executing a model on the target hardware and serving engine (see Figure 1), and memory estimates based only on model weights and the KV cache omit additional allocations, such as execution workspaces and runtime buffers.

The search space is another important consideration: restricting layers to uniform dimensions, as in Minitron's search, excludes architectures that allocate capacity differently across layers. These considerations motivate an automated pruning framework that jointly searches model-wide and

© 2026 NVIDIA. All rights reserved.

Figure

Figure 1 | Parameter count is a poor proxy for serving cost. (a) Two model architectures with the same parameter count (3.61B total, 1.26B active); the narrow, deep one has 35% higher latency on an RTX 5070. (b) Two model architectures that meet the same throughput on an H100; one has 2.2× the parameters of the other.

per-layer dimensions, supports explicit latency, throughput, and memory constraints, and uses cost estimates calibrated and validated within the target serving environment.

To address these challenges, we introduce AUTOCOMPRESS, an automated, hardware-guided model pruning framework that uses differentiable architecture search to identify compressed models subject to latency or throughput targets, parameter budgets, and memory limits, either individually or in combination. The search jointly optimizes global architectural dimensions and per-layer structure, allowing different layers to retain different sizes and shapes. It uses cost models derived from measurements and allocation rules within the target serving engine.

Figure

Figure 2 | AutoCompress overview. Given a base model and deployment constraints, AUTOCOMPRESS automatically selects, prunes, and distills an architecture for on-device gaming, local coding, or datacenter serving. The compressed models meet their latency, memory, or throughput targets, measured on real GPUs.

As illustrated in Figure 2, AUTOCOMPRESS takes a pretrained base model and a deployment target specifying the hardware, workload, and resource constraints, and produces a standalone compressed model. The process is fully automated, from cost modeling and architecture selection to pruning and quality recovery, eliminating manual architecture design and translation of deployment requirements into parameter budgets. Across three distinct deployment scenarios, AUTOCOMPRESS improves average accuracy over a deployment-adapted Minitron baseline by 6.57, 2.35, and 0.57 percentage points on RTX 5070, RTX 5080, and H100, respectively, while using approximately 2-3.3× fewer search tokens. We further demonstrate scalability by compressing Nemotron 3.5 Super from 120B to 74B parameters, enabling BF16 serving at 128K context and batch size 16 within 178 GB on a single B200, with a 2.85-point decrease in mean benchmark score.

This paper makes the following key contributions:

  • Hardware-guided compression. We introduce AUTOCOMPRESS, a differentiable search framework that jointly optimizes global and per-layer structure under latency, throughput, parameter, and memory constraints.

  • Serving-aware cost models. We develop and validate cost models that capture execution time and memory allocations within the target serving engine.

  • Diverse deployment objectives. We evaluate AUTOCOMPRESS on long-context local coding, batched datacenter serving, and latency-sensitive in-game interaction against a deployment-adapted Minitron baseline.

  • Accuracy within budget. AUTOCOMPRESS improves average benchmark accuracy by 6.57, 2.35, and 0.57 percentage points on RTX 5070, RTX 5080, and H100, respectively, while meeting deployment targets. We further demonstrate scalability through a 120B-to-74B compression case study.

References (39)