Manuscript Offprint

arXiv:2608.30076

Budget-Aware Compression Pipeline for Single-GPU LLM Inference: Methods, Trade-offs, and Coupling Effects

Hongyu Yu, Yifei Shen

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

Abstract

Single-GPU deployment of 70B-parameter language models on an NVIDIA GPU is constrained by device memory, long-context throughput, and engineering integration cost. We cast single-GPU inference as a budget-aware design problem over these three axes and study how pruning, quantization, and KV-cache compression interact under realistic execution. Controlled ablations show that layer-wise pruning makes weight quantization more robust. KV-cache sparsification complements INT8 KV quantization by reducing memory without hurting decoding speed, while static vector quantizers often conflict with dynamic caching. Guided by these coupling results and explicit budget tracking, we assembled a practical pipeline and compressed a 70B model to about 33 GB, sustained about 57 tokens/s on 10k token prompts on a single A40, and kept absolute accuracy within 5% on common and reasoning benchmarks. We contribute design rules and a reproducible evaluation protocol that jointly report quality, memory, and end-to-end speed, and we provide a foundation for automated pipeline search under realistic single-GPU constraints.

1 Introduction

Large language models (LLMs) have grown rapidly in parameter count and context length, pushing the memory and compute requirements of inference beyond what a single commodity GPU can provide in straightforward FP16 deployments. For instance, a 70B-parameter model in half precision requires well over 100 GB of device memory, while widely available accelerators such as the NVIDIA A40 offer only 48 GB of VRAM. Long-context inference further amplifies the footprint due to the KV-cache that scales linearly with sequence length. As a result, deploying state-of-the-art LLMs on a single GPU is often bottlenecked simultaneously by (i) memory, (ii) compute/latency, and (iii) integration and compiler constraints (Zhou et al., 2024).

A large body of work proposes point solutions in three directions: post-training quantization (PTQ)

Figure

Figure 1: Budget-aware single-GPU inference workflow. The three budgets (memory footprint, throughput/latency, integration effort) shape module selection across quantization, pruning, and KV-cache optimization.

to reduce weight/activation precision (Lin et al., 2023; Frantar et al., 2022; Xiao et al., 2023a; Ashkboos et al., 2024b; Tseng et al., 2024b,a; Lin et al., 2024; Shao et al., 2023), pruning and sparsification to eliminate parameters and FLOPs (Sun et al., 2023; Ashkboos et al., 2024a; Men et al., 2024), and KV-cache compression to tame the run-time memory of long sequences (Cai et al., 2024; Liu et al., 2024; Hooper et al., 2024; Frantar and Alistarh, 2023). However, the community still lacks a unified, budget-aware pipeline that combines these techniques under realistic single-GPU constraints. In practice, the best standalone method rarely remains best under composition: stacking introduces coupling that can be beneficial or harmful. Production outcomes are further constrained by integration details such as torch.compile's static-shape assumptions and engine-specific KV-cache layouts.

Goal and approach. Our objective is to enable efficient inference of 70B-parameter language models on a single NVIDIA A40 (48 GB) for long-context inputs ( ≥\geq10,000 tokens) under strict quality and latency constraints. We cast the design as an optimization under a three-dimensional budget: memory footprint, throughput/latency, and integration cost, and develop a unified compression pipeline that integrates quantization, pruning, and KV-cache sparsification. Concretely, our implementation applies 4-bit weight-only quantization, followed by layer-wise weight pruning, and a hierarchical KV-cache sparsification scheme combined with 8-bit KV cache quantization. This configuration fits a 70B model together with its 10k-token KV cache within 48 GB of device memory and limits accuracy degradation to absolute ≤\leq 5% on reasoning

and commonsense benchmarks.

Contributions. This work makes four contributions.

  1. Unified, budget-aware pipeline. We formulate single-GPU LLM inference as a memory, latency, and integration joint budgeting problem and present a practical pipeline that combines PTQ, structured pruning, and KV cache compression into a single workflow that runs on commodity hardware.

  2. Design principles under coupling. We characterize positive/negative interactions among techniques and distill actionable rules that avoid common failure modes while preserving accuracy. Each rule is supported by targeted ablations isolating the mechanism responsible for the observed gain or degradation.

  3. End-to-end validation. On a 70B model, the pipeline achieves fit within 48 GB, supports ≥\geq10k-token inputs, and meets ≥\geq10 tokens/s with ≤\leq5% absolute accuracy loss, demonstrating practical single-GPU deployment.

  4. Toward automated pipeline search. We outline an extensible search space over quantization bit widths, pruning ratios, and KV retention rates, allowing Pareto exploration under explicit budgets.

Taken together, our results indicate that composing lightweight compression techniques, rather than optimizing any one in isolation, is key to practical single-GPU inference of modern LLMs.

References (32)