ACSeL: Adaptive Configuration Search for Hardware-Constrained LLM Inference
Organizations: University of Texas at Austin
Abstract
Serving large language models (LLMs) under tight memory and latency service-level objectives (SLOs), including on edge devices, requires jointly selecting the model size, batch size, quantization algorithm, and mixed-precision quantization recipes. Exhaustive search over this combinatorially large space is infeasible. Unlike data-center serving, which often prioritizes throughput or generation speed, resource-constrained deployments typically set memory and latency budgets as constraints and then seek the configuration with the highest generation quality among feasible ones. To this end, we propose ACSeL, a framework that identifies configurations predicted to satisfy deployment constraints while achieving high predicted generation quality. To enable efficient quality estimation, we use Relative Model Quality Degradation (RMQD), a proxy based on the divergence between the candidate and reference models' next-token distributions over a small calibration corpus. Across the evaluated model sizes and precisions, RMQD is inexpensive to evaluate and strongly correlated with downstream benchmark performance. ACSeL combines (i) a lightweight quality surrogate that predicts RMQD directly from a configuration; (ii) Few-shot Median Calibration (FMC), which calibrates operator-profile-based latency estimates using a small number of end-to-end profiles; and (iii) a structured search algorithm BandPareto for exploring layerwise mixed-precision configurations. Experiments on an NVIDIA RTX A6000 workstation and an NVIDIA Jetson Thor edge platform show that FMC substantially improves deployment feasibility, while BandPareto + FMC achieves the highest feasibility and the lowest RMQD gaps to the best measured configurations in the evaluation set.
Figures & tables
| Unconstrained ridge | Constrained ridge (Ours) | |
| MdAPE (%) | 3.3 | 2.6 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Feas.@ ( ) | Feas.@ ( ) | # Candidates | Wall-Clock Time (s) | |
| 68% | 80% | 24 | 2.2 | |
| 72% | 84% | 43 | 3.5 | |
| 72% | 84% | 61 | 4.5 | |
| 72% | 84% | 76 | 5.6 | |
| 72% | 84% | 96 | 7.2 |
| # | Backend | Model Family | ISL | OSL | ||
|---|---|---|---|---|---|---|
| 0 | sglang | Llama-3.2 | 8192 | 64 | 276.8 | 19.60 |
| 1 | sglang | Llama-3.2 | 8192 | 256 | 303.9 | 15.00 |
| 2 | vllm | Qwen3 | 2048 | 64 | 577.5 | 35.63 |
| 3 | sglang | Qwen3 | 8192 | 512 | 1066.1 | 38.73 |
| 4 | vllm | Qwen3 | 512 | 64 | 157.6 | 31.25 |
| 5 | sglang | Qwen3 | 8192 | 256 | 1036.7 | 29.38 |
| # | Backend | Model Family | ISL | OSL | ||
|---|---|---|---|---|---|---|
| 0 | sglang | Llama-3.2 | 8192 | 64 | 888.4 | 111.99 |
| 1 | vllm | Llama-3.2 | 8192 | 64 | 692.5 | 456.97 |
| 2 | vllm | Llama-3.2 | 8192 | 64 | 699.5 | 110.17 |
| 3 | sglang | Llama-3.2 | 2048 | 64 | 672.9 | 99.66 |
| 4 | vllm | Llama-3.2 | 8192 | 512 | 700.7 | 175.55 |
| 5 | vllm | Qwen3 | 8192 | 64 | 1030.0 | 150.84 |
LLM Inference
Large language model inference studies how models generate outputs efficiently, reliably, and securely across hardware and workloads.
See all 297 papers