Skip to content

Conversation

@nil0x9
Copy link
Contributor

@nil0x9 nil0x9 commented Nov 21, 2025

Currently if user set warmup steps to be the same as total steps (which is deemed valid) for cosine or linear LR scheduler, a division-by-zero error will be thrown. This PR fixes this case (along w/ some lint issues).

@nil0x9 nil0x9 force-pushed the linty/dev-fix-lr-scheduler-corner-case branch from 416c867 to 85ed80e Compare November 21, 2025 17:56
@nil0x9 nil0x9 force-pushed the linty/dev-fix-lr-scheduler-corner-case branch from 85ed80e to 0980ccb Compare November 22, 2025 19:32
@hhaAndroid hhaAndroid requested a review from jayhenry November 24, 2025 03:44
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