kohya-ss / kohya-ss/sd-scripts

Feature request - save every n steps

Open
#239 6 comments 9 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

For big datasets an epoch can take a lot of hours. It would be much more practical if checkpoints can be saved every n steps. After looking at the code I think the modification should be rather straightforward.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing checkpoint-saving logic and the training entry points that count epochs and steps. Confirm how an n-step interval should interact with current epoch-based saves, then verify that checkpoints are written at the requested interval without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.