Choosing a mixed-precision configuration for large language model (LLM) serving trades speed against accuracy. Allocators that use average bit-width or a memory budget as a speed proxy can miss changes in the resource that limits execution. We argue that served speed can be limited by compute, weight loading, or key-value (KV) cache access, depending on the phase, batch size, and context length. A byte-based proxy does not capture all of these costs, so fewer bits do not always mean faster serving. To address this gap, we build a cost model that accounts for the binding resource and use it in two ways. First, as a predictor: given a configuration and operating point, it estimates serving latency using constants calibrated for the model, GPU, and serving stack. We evaluate its accuracy across three hardware classes. Second, as an allocator: we combine modeled time costs with measured per-tensor accuracy costs and use a dynamic program to select a configuration under a latency or accuracy budget. We compare its configurations against byte-aware and sensitivity-only allocation.
Budget-Aware LLM Discovery via Cost-Calibrated Frontier Utility
City University of Hong Kong(香港城市大学);Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(穆罕默德·本·扎耶德人工智能大学);International Digital Economy Academy (IDEA)(国际数字经济学院)
Analytical Provisioning for Attention-FFN Disaggregated LLM Serving under Stochastic Workloads
Dept. of Industrial Engineering and Decision Analytics HKUST(工业工程与决策分析系香港科技大学);Dept. of Computer Science and Technology Tsinghua University(计算机科学与技术系清华大学);IIIS Tsinghua University(清华大学信息学院);Huawei Hong Kong Research Center(华为香港研发中心);School of Mathematical Sciences Peking University(北京大学数学科学学院)