How Developers Configure LLM Inference: A Large-Scale Study of Real-World Practices
Abstract
LLMs are increasingly integrated into software systems, making deployment and inference configuration a recurring software engineering task. Inference backends expose many options that affect model loading, generation, serving, and request processing. Yet little is known about which of these options developers explicitly configure in practice. In this paper, we present a large-scale empirical study of LLM inference configuration practices in open-source software using Hugging Face Transformers, vLLM, and the OpenAI API. We analyze 5,398 GitHub repositories using at least one of these backends and identify 345,117 explicitly configured option occurrences. Our results show that developers use only a small part of the available configuration space regularly. Although 98.8% of the documented backend-specific options appear at least once, 78.9% are configured in at most 10% of repositories using the corresponding backend. Configurations are also small, with a median of 2 options for Transformers and 4 for vLLM and OpenAI, but the combinations of options vary widely: 56.8-61.6% of multi-option signatures appear in only one repository. We also observe recurring option values as well as substantial variation in how values are chosen. Finally, configuration practices differ across application contexts, with option-adoption differences reaching 30.7 percentage points. These findings characterize the configuration surface developers make explicit rather than the importance or optimality of individual options. They provide empirical evidence for prioritizing future studies of inference configuration and for improving backend documentation and configuration support.
Create a lesson
Related papers
Code Cloning and Procedural Abstraction in Scratch: A Large-Scale Study of Co-Existing Reuse Practices
Shared title terminologycs.SERicardo Hidalgo-Aragon, Jesús Moreno-León, Alejandro Echaniz et al.
Barriers to GenAI Integration During Large-Scale Agile Transformation: An Exploratory Case Study
Shared title terminologycs.SENils Brede Moe, Marthe Berntzen, Astri Barbala et al.
DVBench: End-to-End Benchmark for Real-World UVM Design Verification Agents
Shared title terminologycs.SEJiaru Qian, Jiawei Li, Xiaolong Hu et al.
Large-Scale Study of GitHub Copilot Trajectories
Shared title terminologycs.SEIzah Sohail, Yerdanat Kurmantayev, May Mahmoud et al.
Agentic Verified Optimization of Real-World Software
Shared title terminologycs.SEZhe Ye, Udaya Ghai, Zhizhen Qin et al.
Code Skill Server: A Large-Scale Search Engine for Code Generation Skills
Shared title terminologycs.SEXiaoyong Li, Haolong Li, Dongliang Xu et al.