Skip to content

[rl] Make sample-mean admission numerator and metric checks independent - #6464

Draft
vkuzo wants to merge 1 commit into
gh/vkuzo/15/headfrom
gh/vkuzo/16/head
Draft

vkuzo wants to merge 1 commit into
gh/vkuzo/15/headfrom
gh/vkuzo/16/head

Conversation

@vkuzo

@vkuzo vkuzo commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Validate every shifted/padded payload field, reference nonfinite class, weight and both microbatch count scalars against raw TrainingSamples before reference substitution. Rebuild the full oracle numerator and denominator from raw samples, without consuming packed payloads.

Require strict metric key sets: sample loss/mean matches the raw sample oracle, while all other diagnostics match current-token normalization within documented FP32 reduction roundoff. Preserve byte-exact token-default controls and real FSDP/compile/physical graph requirements.

Preparation only: six CPU helper methods pass (including 13 corrupted-payload and five corrupted-metric negative subcases), with zero skips; the unchanged 47-method critical CPU selection passes. Flake8, Pyrefly (zero errors), Black22, pydoclint, codespell, syntax/license/whitespace pass. GPU/MAST remains unrun and no training, live RDMA or NVFP4 qualification 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