kohya-ss / kohya-ss/sd-scripts

How does cosine lr scheduler work when the prodigy optimizer is used ?

Open
#1,787 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

The prodigy (or Dadapt) calculate lr itself. I know the lr rate argument is actually the ratio on that calculated lr. Does it also work that way if I use cosine_with_restarts? Will the ratio change as the way when a AdamW is used?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the optimizer and scheduler entry points for Prodigy/DAdapt and cosine_with_restarts, then compare their learning-rate handling with AdamW. Done means a clear, repository-backed explanation of whether the ratio changes under cosine restarts.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.