Skip to content

PipelineTrainer KL step lag#702

Open
Kovbo wants to merge 4 commits into
mainfrom
bo/pr625-rebased-main
Open

PipelineTrainer KL step lag#702
Kovbo wants to merge 4 commits into
mainfrom
bo/pr625-rebased-main

Conversation

@Kovbo
Copy link
Copy Markdown
Collaborator

@Kovbo Kovbo commented Jun 1, 2026

Summary

  • Rebase the KL step-lag behavior from Replace kl_penalty_reference_step with kl_penalty_step_lag #625 onto the current main branch without changing the contract.
    • kl_penalty_coef=0: KL disabled
    • kl_penalty_coef>0 and kl_penalty_step_lag=None: use checkpoint 0
    • kl_penalty_coef>0 and kl_penalty_step_lag>=1: use max(0, current_step - lag)
    • kl_penalty_step_lag=0: invalid

@Kovbo Kovbo changed the title Rebase PipelineTrainer KL step lag onto main PipelineTrainer KL step lag Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant