Hugging Face Trending Papers

How Fast Can Reward Models Score? A Systems Study of C++ and PyTorch Inference Runtimes for RLHF

In RLHF pipelines, reward scoring blocks policy updates. Slow scoring bottlenecks the entire loop, since no update runs until every rollout gets a score.

arXiv AI
Oct 5

FastKernels: Benchmarking GPU Kernel Generation in Production

FastKernels is a benchmark comprising 384 GPU kernel tasks from 47 architectures across 8 categories, designed to evaluate kernel generation agents in realistic production settings. It covers 94.6% of HuggingFace Transformers architectures, scoring kernels on correctness, coverage, and speedup within their native execution paths. The benchmark reveals that kernel‑level speedups often collapse to modest end‑to‑end gains and that isolated performance rankings can misrepresent real‑world effectiveness.

By Gabriele Oliaro, Jaeseong Lee, Yichao Fu, Zhaoyuan Su, Owen Lu, Sreeram Vennam, May Jiang, Junli Wang, Hao Zhang, Zhihao Jia, Samyam Rajbhandari
arXiv Machine Learning
Oct 28

End-to-End MXFP8 Reinforcement Learning on Blackwell: What Matching Buys, When It Pays Off, and How It Fails

The paper presents an end‑to‑end MXFP8 reinforcement learning implementation on Blackwell GPUs, evaluating its benefits and limitations with Qwen3-8B and Qwen3-30B-A3B models. It finds that matching FP8 precision between sampler and learner improves consistency, that speed gains appear only for large micro‑batches, and that several weight‑synchronization correctness conditions can fail silently. The study also introduces seven explicit checks to detect such failures during training.

By Wengee Zhang
arXiv AI
Nov 5

Rules, Traces and Routing Statistics: Training and Calibration Data for Open Models on ARC-AGI-2

The paper reports on training and calibration experiments for three open models on the ARC‑AGI‑2 benchmark, using offline runs on four L4 GPUs for up to 12 hours. For the NVARC Qwen3‑4B grid model, a curated corpus of 12,000 executable rules and 95,993 tasks was built, and fine‑tuning on 1,920 real task records raised the semi‑private score from 28.96 to 33.06, with no synthetic‑task checkpoint outperforming the real‑task model. For the Qwen3.8‑27B reasoning model, fine‑tuning on 1,036 of its own reasoning traces and a specialized inference procedure increased the score from 26.81 to 44.03, while the Qwen3.8‑Flash‑Next mixture‑of‑experts model achieved a best score of 56.67 after expert pruning, routing statistics adaptation, and an FP8 indexer cache.

By Nguyen Minh Thang, Trinh Thi Phuong
Hugging Face Trending Papers
5d ago

Harvesting Expert-Parallel Bubbles for Fine-Tuning

The paper introduces BubbleTea, a colocation system that exploits idle GPU time—called expert-parallel bubbles—in Mixture-of-Experts (MoE) large language models (LLMs) to accelerate fine-tuning. BubbleTea predicts bubble periods for each GPU at every layer based on the router’s token assignment and fills them with short fine-tuning tasks that reuse the serving weights, eliminating the need to port models to separate training engines. Experiments on three MoE models across four A100 GPUs show that BubbleTea achieves 1.9–6.2× higher fine-tuning throughput than the state-of-the-art LLMStation while keeping 90th-percentile inference latency within 10% of serving alone in most workloads, and outperforms both LLMStation and a stock CUDA MPS trainer on bursty production traces.

arXiv AI
4d ago

Harvesting Expert-Parallel Bubbles for Fine-Tuning

The paper introduces BubbleTea, a colocation system that exploits idle GPU time—referred to as expert‑parallel bubbles—in Mixture‑of‑Experts (MoE) large language models (LLMs) to accelerate fine‑tuning. BubbleTea predicts bubble availability for each GPU at every layer based on the router’s token assignment and fills these gaps with short fine‑tuning tasks that reuse the serving weights, eliminating the need to port each model to a separate training engine. Experiments on three MoE models served on four A100 GPUs show that BubbleTea achieves 1.9–6.2× higher fine‑tuning throughput than the state‑of‑the‑art LLMStation, while keeping 90th‑percentile inference latency within 10% of serving alone in most workloads, and outperforms both LLMStation and a CUDA MPS‑based trainer on bursty production traces.

By Oana Balmau, Saurav Banka, Jiaxuan Chen, Anne-Marie Kermarrec, Ramya Narasimha Prabhu, Rafael Pires, Mathis Randl, Martijn de Vos
arXiv Machine Learning
Oct 19

Peak-Memory Schedules You Can Trust: Exact Realization, Certified Optimality, and the Limits of Recomputation for Inference

The paper presents a method for reliably scheduling operator execution in real‑time inference on small devices, achieving exact peak‑memory predictions and certified optimality. By profiling the generated program and modeling its memory usage, the authors can permute statements to match the modeled peak, guaranteeing bitwise‑identical results on CPUs and characterizing GPU limitations. They also provide efficient lower‑bound traps and analyze selective recomputation, showing it is NP‑hard in general but can reduce peak memory on certain architectures.

By Ivan Fomin, Ivan Koryabkin, Boris Sheludko