{"slug": "one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-s", "title": "One more measured note for trl — a reward model given by name loads with the policy's revision", "summary": "In trl's GRPO and RLOO trainers, a reward model specified by name is loaded with the policy's model_init_kwargs unchanged, including its revision, and that revision is recorded as the reward model's own, according to a measured note on issue #8532 confirmed on the shipped release. The reported policy commit resolves in the policy repo but returns RevisionNotFoundError in the reward repo, so a name-given reward model cannot load whenever the policy is pinned to a commit; with a tag or branch name shared by both repos, it would silently load that repo's unrelated revision instead. The note, part of a Corrections Desk tally of 130 rows across eleven libraries, says dropping the repo-scoped keys for a reward model that names a different repo matches how the teacher tokenizer is already handled in GOLD.", "body_md": "Hello everyone,\n\nOne more measured note for trl, confirmed on the shipped\n\nrelease with the cross-repo half checked directly. The row\n\ncarries a small check anyone can run. Sharing it with\n\nthanks to the reporter of the issue.\n\n**A reward model given by name loads with the policy’s revision (#8532)**\n\nIn the GRPO and RLOO trainers, a reward model given by name\n\nis loaded with the policy’s model_init_kwargs unchanged,\n\nrevision included, and that revision is recorded as the\n\nreward model’s own. The report’s policy commit resolves in\n\nthe policy repo and returns RevisionNotFoundError in the\n\nreward repo, so a name-given reward model cannot load\n\nwhenever the policy is pinned to a commit — and with a tag\n\nor branch name the two repos share, it would silently load\n\nthat repo’s unrelated revision instead. Dropping the\n\nrepo-scoped keys for a reward model that names a different\n\nrepo matches how the teacher tokenizer is already handled\n\nin GOLD.\n\nThe row, with its check and full numbers, lives on the\n\nCorrections Desk — 130 rows across eleven libraries, and\n\nstill growing:\n\nIf a measurement disagrees with what you see, the check is\n\nthe fastest way to show it — each one prints its numbers\n\neither way.", "url": "https://wpnews.pro/news/one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-s", "canonical_source": "https://discuss.huggingface.co/t/one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-policys-revision/192481#post_1", "published_at": "2026-11-24 15:11:30+00:00", "updated_at": "2026-11-24 15:12:02.516717+00:00", "lang": "en", "topics": ["machine-learning", "ai-research", "ai-tools"], "entities": ["trl", "GRPO", "RLOO", "GOLD", "Corrections Desk"], "also_reported_by": [], "takeaway": "In trl's GRPO and RLOO trainers, a reward model named from a different repo inherits the policy's revision and fails with RevisionNotFoundError when the policy is pinned to a commit, or silently loads an unrelated shared tag or branch; drop the repo-scoped keys for reward models that name a differen", "recommendation": {"advice": "When configuring GRPO or RLOO with a reward model from a different repo, strip the policy's repo-scoped init kwargs, including revision, so the reward model loads its own revision instead of failing or silently mismatching.", "playbook": "training-data", "playbook_url": "https://wpnews.pro/playbooks/training-data"}, "alternates": {"html": "https://wpnews.pro/news/one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-s", "markdown": "https://wpnews.pro/news/one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-s.md", "text": "https://wpnews.pro/news/one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-s.txt", "jsonld": "https://wpnews.pro/news/one-more-measured-note-for-trl-a-reward-model-given-by-name-loads-with-the-s.jsonld"}}