cd /news/machine-learning/hugging-face-fixes-trl-bug-that-let-… · home › topics › machine-learning › article
[ARTICLE · art-169283] src=runtimewire.com ↗ pub= topic=machine-learning verified=true sentiment=· neutral

Hugging Face fixes TRL bug that let RL rollouts reuse KV cache from older weights

Hugging Face fixed a training-correctness bug in TRL, its open-source model-training library, that let asynchronous reinforcement-learning rollouts reuse vLLM prefix-cache blocks computed under older model weights. Pull request #8300 adds 'cache_salt=f"v{model_version}"' to affected rollout requests so each policy version gets its own prefix-cache namespace, and the change landed in TRL v1.18.0, whose release notes say the stale prefix KV lasted for the whole run before the fix. The bug affected AsyncGRPO and AsyncDistillation student rollouts, which could pair new weights with first-version prefix KV.

read1 min views1 publishedNov 13, 2026
Hugging Face fixes TRL bug that let RL rollouts reuse KV cache from older weights
Image: Runtimewire (auto-discovered)

TRL v1.18.0 adds a model-version cache salt so AsyncGRPO and AsyncDistillation student rollouts stop pairing new weights with first-version prefix KV.

        By [RuntimeWire Staff](https://runtimewire.com/author/runtimewire-staff)
        · Published 
        · Updated 

Hugging Face has fixed a training-correctness bug in TRL, its open-source model-training library, that let asynchronous reinforcement-learning rollouts reuse vLLM prefix-cache blocks computed under older model weights. The patch, pull request #8300, adds 'cache_salt=f"v{model_version}"' to affected rollout requests so each policy version gets its own prefix-cache namespace. The change landed in TRL v1.18.0, whose release notes describe the stale prefix KV as lasting for the whole run before the fix.…

── more in #machine-learning 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hugging-face-fixes-t…] indexed:0 read:1min 2026-11-13 · —