NVlabs/qerl
[ICLR 2026]QeRL enables RL for 32B LLMs on a single H100 GPU.
What it solves
Reinforcement learning (RL) is critical for improving reasoning in large language models, but it is extremely resource-intensive: it demands large GPU memory and long rollout times. QeRL cuts these costs by combining quantization and low-rank adaptation, making it possible to train much larger models (e.g., 32B parameters) on a single GPU while also speeding up the sampling/rollout phase.
How it works
QeRL uses NVFP4, a 4-bit floating-point quantization format, to compress the model weights. This drastically reduces memory usage and accelerates the rollout (generation) step during RL. It then combines this with Low-Rank Adaptation (LoRA), a parameter-efficient fine-tuning method, so that only small adapters are updated during training. A key insight is that the noise introduced by quantization actually increases policy entropy, which encourages exploration and can lead to better strategies. QeRL also introduces an Adaptive Quantization Noise (AQN) mechanism that dynamically adjusts this noise during training to further optimize exploration. The implementation builds on existing tools: vLLM for inference/rollout, llm-compressor for quantization, trl for the RL framework, and open-r1 for reasoning recipes.
Who it’s for
This is aimed at researchers and engineers who practice reinforcement learning on large language models and have limited GPU resources (e.g., a single H100 80GB). It is especially useful for those wanting to train 7B–32B models with RL without needing a cluster, and who want speedups in rollout while matching the performance of full-parameter fine-tuning.
Highlights
- First framework to enable RL training of a 32B LLM on a single H100 80GB GPU.
- Over 1.5× speedup in the rollout phase, with more speedup on longer reasoning traces.
- Delivers faster reward growth and higher final accuracy than 16-bit LoRA and QLoRA.
- Matches full-parameter fine-tuning performance on math benchmarks: GSM8K (90.8%) and MATH 500 (77.4%) for a 7B model.
- Uses adaptive quantization noise to boost exploration during RL.
Related
- Project
- Project
- Project
- Project