How Fast Can Reward Models Score? A Systems Study of C++ and PyTorch Inference Runtimes for RLHF
arXiv:2607. 19712v1 Announce Type: new Abstract: In RLHF pipelines, reward scoring blocks policy updates.
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:2607. 19712v1 Announce Type: new Abstract: In RLHF pipelines, reward scoring blocks policy updates.
arXiv:2607. 16241v1 Announce Type: cross Abstract: Recent large language models (LLMs) can generate custom CUDA kernels that appear to outperform PyTorch on benchmarks such as KernelBench.
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.
arXiv:2609.21058v1 Announce Type: cross Abstract: Language models can now write GPU kernels that outperform PyTorch. We evaluate five model configurations on KernelBench level 1 and find that a front...
Low-precision arithmetic can make reinforcement learning (RL) for large language models cheaper, but RL requires the sampler and the learner to agree. Several frameworks now run FP8 on both sides. We...
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.
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.
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:2605. 09708v2 Announce Type: replace-cross Abstract: We present Metal-Sci, a 10-task benchmark of scientific Apple Silicon Metal compute kernels spanning six optimization regimes (stencils, all-pairs in $n$-body problems, multi-field Boltzmann, neighbor-list molecular dynamics, multi-kernel PDE, FFT).
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.
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.
AI agents have been shown to write CUDA kernels that outperform PyTorch, but validating these speedups is challenging. The author tested the agents on an NVIDIA DGX Spark and discovered that benchmark design is as crucial as the code itself. The article highlights the need for careful evaluation when comparing AI-generated performance claims.