Skip to content

[rl] Reject unsupported resolved sample-mean losses - #6461

Draft
vkuzo wants to merge 1 commit into
gh/vkuzo/12/headfrom
gh/vkuzo/13/head
Draft

vkuzo wants to merge 1 commit into
gh/vkuzo/12/headfrom
gh/vkuzo/13/head

Conversation

@vkuzo

@vkuzo vkuzo commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Validate the actual selected loss owner after controller overrides resolve, before runtime setup or launcher planning. Unwrap native ChunkedLossWrapper configs and require PolicyGradientLoss; preserve unresolved CE-to-policy overrides and reject late CE or sample-mean batcher replacements.

Move synthetic CP policy checks into RL and keep core preprocessing generic. Remove duplicated mock RDMA machinery and extend the existing pytest transport fixture with nested weights/scalar count at thresholds 1 and 1024.

CPU: 47 selected unittest methods pass with zero skips, including seven admission methods using real ConfigLoader and registered overrides. Two rejection methods fail on 8829085 in five expected subcases. The LoRA/Flex compiler ABI blocker remains excluded after reproducing on the untouched original base. The updated pytest RDMA fixture is unrun because pytest is absent. Changed-file flake8, Black22, pydoclint, codespell and syntax/whitespace pass; Pyrefly introduces no diagnostics relative to 8829085. No FSDP, live RDMA, GPU or accelerator-graph proof is claimed.

[ghstack-poisoned]

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rl CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant