Repository navigation
[trainer,data] feat: apply model-specific condition dropout to offline SFT - #400
Merged
Merged
Conversation
Collaborator
Author
|
Validation evidence for
The model-specific controls are linked from #397, #398 and #399. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SFT behavior
This completes P23 on top of #397, #398 and #399. All 19 built-in adapters declare their SFT conditioning policy.
train.condition_dropoutdefaults to 0.1. Use0to preserve legacy conditioning and checkpoint identity.nativeselects a qualified BAGEL or SenseNova training recipe.A training record makes one decision per data epoch, keyed by seed, record identity and event, independent of rank, microbatch order and model noise. Each time term uses the same condition. Targets, guidance overrides and evaluation retain their existing owners. Per-task window counters count observations across logical data replicas.
Input and cache ownership
data.enable_preprocess: false, workers decode media and the training rank encodes only the selected condition. The row formatter preserves the tensor dtypes, shapes, ragged fields and Python image columns expected by the cached path. Offline DPO retains its cached-input contract.Validation
The distributed witnesses use local native miniature models and fixed stochastic inputs. On two FSDP2 ranks, independent public Klein Base editing runs compare raw/cached reference tensors, target, time, velocity, loss, LoRA gradients and optimizer updates. Wan DP2 × CP2 verifies different masks across data replicas, agreement between CP peers and exact masks, losses, gradients and weights after a mid-run checkpoint restore.
The packed families have separate raw/cached public trainer integration on top of the native FSDP2 probes in #399. CPU coverage also includes configuration rejection, p=0 migration, deterministic sampling, cache reuse, multisource tails, Arrow types and all 19 registry entries. The validation catalog routes the specific feature delta to these contracts and preserves broad fallback for unrecognized source changes.
The reviewed source is
7a792c21. Local formatting and repository consistency passed. The exact-head evidence workflow stores the case receipts for the hosted gate. Model-level control receipts are linked from the three parent PRs. The targeted regressions include 292 passing CPU checks and two additional passing public configuration admission cases.