You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Low-precision inference (e.g., W4A16, W4A4) significantly improves throughput and memory efficiency during the rollout phase of RL. However, directly applying low-precision weights during rollouts without accounting for quantization errors during training often leads to severe training-inference mismatch and instability.
To address this, we propose integrating Quantization-Aware Training (QAT). By simulating quantization effects during the training phase, the model can adapt to the precision loss, ensuring consistency between the training policy and the inference policy used for data collection.
Describe the solution you'd like
Overview of the flow (taking W4A16 as an example):
Policy Training: apply fake quantization to the weights of linear layers (quantize to NVFP4 first, then dequantize back to BF16). Use dequantized BF16 at forward pass and update original BF16 weights at backward pass.
Refit: perform real quantization on the weights and load them into the inference engine.
Rollout: run inference using W4A16.
@zpqiu Please add necessary information as needed. Thanks! @snowmanwwg@guyueh1 For your awareness. Thanks!
hi. I am also interested in this. Is there any update on this?
Hi @JamesSand, Thanks for your interests in this feature. I should had the issue updated with the latest information. The implementation is already in progress, with the following PRs already merged: #1756 #2442
And one in progress, to be merged soon: #2592
Activity
JamesSand commentedon Jun 24, 2026
hi. I am also interested in this. Is there any update on this?
sharonyu-115 commentedon Jun 24, 2026
Hi @JamesSand, Thanks for your interests in this feature. I should had the issue updated with the latest information. The implementation is already in progress, with the following PRs already merged:
#1756
#2442
And one in progress, to be merged soon:
#2592
@snowmanwwg fyi.