kohya-ss / kohya-ss/sd-scripts

--save_state doesn't produce anything?

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

Description

When I train Loras with Kohya I want to be able to resume my training in case I need to pause it for some reason. I've been experimenting with the --Save_state command but it doesn't do anything.. Nothing get's created in my set --output_dir..

Am I missing something? I thought a folder with relevant items should get created with each safetensor file no ?

Also when I get this to work.. Do I use the --resume command like this --resume /folder/with/resume/files ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by tracing the command-line handling for --save_state and --resume, then inspect how state files are expected to be written under --output_dir. Reproduce the training scenario and determine whether state files are created and whether the resulting path can be passed to --resume.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.