kohya-ss / kohya-ss/sd-scripts
Cannot save Flux Dev checkpoint merged with LoRAs
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
I am trying to merge LoRAs into the [single-file Civitai checkpoint](https://civitai.com/models/618692/flux) of Flux Dev using the `Merge FLUX LoRA` util from the `origin/sd3-flux.1 branch`.
The merge proceeds with no error message in under 10 seconds. The terminal's last line states `saving to: /mypath//kohya_ss/models/mymodel.safetensors`.
However, no model actually gets exported.
This happens with:
- Single LoRA merged into Flux Dev
- Multiple LoRAs merged into Flux Dev
- Two LoRAs merged together with no checkpoint involved
Is this merging util actually functional or just preparatory work for a future release?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the `Merge FLUX LoRA` utility on the `origin/sd3-flux.1` branch and reproduce the merge for a Flux Dev checkpoint, a single LoRA, and multiple LoRAs. Check why the reported `saving to: /mypath//kohya_ss/models/mymodel.safetensors` does not produce an exported model; done means each supported merge case writes the expected checkpoint or reports a clear failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100