kohya-ss / kohya-ss/sd-scripts
LORA Extract not doing anything
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
running the LORA extractor isn't doing anything. it used to work months ago... but haven't tried it till now....
command terminal isn't showing any errors, the progress bar runs and says successful... but when i apply the LORA in a model... nothing.
loading original SD model : C:/AI/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned.safetensors
UNet2DConditionModel: 64, 8, 768, False, False
loading u-net:
loading vae:
loading text encoder:
loading tuned SD model : C:/AI/stable-diffusion-webui/models/Stable-diffusion/MLKyunnymgx/MLKyunymgx_filewords_person.ckpt
UNet2DConditionModel: 64, 8, 768, False, False
loading u-net:
loading vae:
loading text encoder:
create LoRA network. base dim (rank): 256, alpha: 256
neuron dropout: p=None, rank dropout: p=None, module dropout: p=None
apply LoRA to Conv2d with kernel size (3,3). dim (rank): 256, alpha: 256.0
create LoRA for Text Encoder:
create LoRA for Text Encoder: 72 modules.
create LoRA for U-Net: 278 modules.
create LoRA network. base dim (rank): 256, alpha: 256
neuron dropout: p=None, rank dropout: p=None, module dropout: p=None
apply LoRA to Conv2d with kernel size (3,3). dim (rank): 256, alpha: 256.0
create LoRA for Text Encoder:
create LoRA for Text Encoder: 72 modules.
create LoRA for U-Net: 278 modules.
Text encoder is same. Extract U-Net only.
calculating by svd
100%|████████████████████████████████████████████████████████████████████████████████| 278/278 [00:26<00:00, 10.45it/s]
create LoRA network from weights
create LoRA for Text Encoder:
create LoRA for Text Encoder: 0 modules.
create LoRA for U-Net: 278 modules.
enable LoRA for text encoder
enable LoRA for U-Net
Loading extracted LoRA weights:
LoRA weights are saved to: C:\AI\stable-diffusion-webui\models\Lora\Custom\MLKyunnymgx.safetensors
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing extraction with the v1-5-pruned.safetensors base model and MLKyunymgx_filewords_person.ckpt tuned model, using the reported LoRA extractor output as the baseline. Check whether the saved models/Lora/Custom/MLKyunnymgx.safetensors changes model output when applied; done means the extracted LoRA has an observable effect without silent errors.
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
- 25/100