ZICQ
中 Log in / Sign up
Newsroom LLMs & Foundation Models #Hugging Face #LLMs & Foundation Models #Inference Optimization #Resource Management

Hugging Face Releases ATEST Framework: Intelligent Resource Optimization for LLM Inference

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version

Summary:Hugging Face has introduced ATEST, an adaptive resource-aware test-time scaling (TTS) framework designed to optimize the inference efficiency of large language models (LLMs). By dynamically adjusting the sampling budget in real-time based on GPU load and learning step energy costs, ATEST maximizes inference accuracy without exceeding energy constraints. Compared to traditional offline calibration methods, ATEST-Online demonstrates superior performance across multiple datasets, significantly impr


Technical Mechanism Analysis

The core of the ATEST framework lies in its adaptive resource-aware mechanism, which optimizes inference resource allocation through the following steps:

  1. Incremental Sampling and Stability Estimation: The ATEST-Online mode incrementally generates samples during inference and evaluates the stability of the plurality answer in real-time to decide when to stop sampling.
  2. GPU Condition Monitoring: By monitoring GPU load in real-time, ATEST dynamically adjusts the sampling budget to avoid excessive resource consumption under high load.
  3. Online Energy Cost Learning: ATEST learns the energy cost of each step to further optimize resource allocation, ensuring that inference tasks are completed within the energy budget.

In contrast, the ATEST-Calibrated mode relies on offline calibration of accuracy and cost models, making it more suitable for deployment environments with stable loads.

Engineering Trade-offs and Performance

  • Advantages:

    • Efficient Resource Utilization: ATEST-Online significantly reduces GPU time and energy consumption without compromising inference accuracy. For example, on the GSM8K dataset under high load, ATEST-Online achieves 60.0% accuracy with no deferrals, while ATEST-Calibrated achieves only 44.0% accuracy and has a 42.4% deferral rate.
    • Strong Adaptability: ATEST can adapt to different GPU load conditions and performs well under high load.
  • Disadvantages:

    • Latency and Throughput Trade-off: The online control mode may introduce higher tail latency and lower throughput for short tasks, but it offers stronger robustness in environments with fluctuating load.

Tests on NVIDIA A100 show that ATEST-Online does not exceed the energy budget across four datasets while achieving the highest or statistically tied accuracy and reducing sampling as load increases.

Developer Implementation and Deployment Recommendations

For developers deploying LLM inference services in dynamic environments, ATEST-Online is an ideal choice. Its no-offline-calibration feature simplifies the deployment process, and its adaptive capabilities ensure efficient operation under various load conditions. For scenarios with stable loads, ATEST-Calibrated is also a viable alternative. Developers should choose the appropriate ATEST mode based on the specific application scenario and resource constraints to achieve optimal performance.

Conclusion

The release of the ATEST framework marks a significant advancement in the field of LLM inference optimization. Through intelligent resource allocation and energy management, ATEST provides developers with an efficient and flexible inference solution, promoting the application of AI technology in resource-constrained environments.


Source: Hugging Face Daily Papers (2026-10-18)

— END —

Tags: #Hugging Face #LLMs & Foundation Models #Inference Optimization #Resource Management

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

Community Comments

Loading live comments and annotations…