Skip to content

[RFC]: Add a warmup-stable-decay learning-rate scheduler #1056

Description

@qianlihuang

Motivation

Drafter training often benefits from holding the peak learning rate for most of a run and concentrating annealing in a short final phase. The current trainer exposes linear and cosine schedules but cannot express warmup-stable-decay (WSD) without external patches.

Proposed interface

Add scheduler_type: wsd with:

  • configurable warmup initial LR ratio
  • configurable final minimum LR ratio
  • configurable final-decay fraction
  • linear, cosine, exponential, and minus-square-root final-decay curves

All ratios scale each optimizer parameter group relative to its own peak LR, including the multi-optimizer Muon path. Invalid or overlapping phase geometry fails closed.

Scope

This is an independent trainer feature. It does not change any draft-model architecture or add model-specific recipes. A focused implementation and scheduler tests are ready on qianlihuang:feat/wsd-scheduler.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions