lllyasviel / lllyasviel/stable-diffusion-webui-forge

Lora keys are unLoaded OneTrainer Flux LoRas

Open
#1,615 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

[LORA] LoRA version mismatch for KModel

loras trained on onetrainer don't seem to work on forge. they get unloaded and results are quite bad. it just ignores the lora for being loaded. they also don't work on comfy. https://github.com/comfyanonymous/ComfyUI/issues/4695

[Unload] Trying to free 13558.57 MB for cuda:0 with 0 models keep loaded ... Unload model IntegratedAutoencoderKL Done.
[Memory Management] Target: JointTextEncoder, Free GPU: 22877.65 MB, Model Require: 9641.98 MB, Previously Loaded: 0.00 MB, Inference Require: 1024.00 MB, Remaining: 12211.66 MB, All loaded to GPU.
Moving model(s) has taken 1.70 seconds
Distilled CFG Scale: 3.5
[Unload] Trying to free 31015.46 MB for cuda:0 with 0 models keep loaded ... Unload model JointTextEncoder Done.
[Memory Management] Target: KModel, Free GPU: 22876.50 MB, Model Require: 22700.13 MB, Previously Loaded: 0.00 MB, Inference Require: 1024.00 MB, Remaining: -847.64 MB, CPU Swap Loaded (blocked method): 2142.00 MB, GPU Loaded: 20558.13 MB
Moving model(s) has taken 5.53 seconds

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with an OneTrainer Flux LoRA in Forge and compare it with the linked ComfyUI issue. Trace why the LoRA is unloaded or ignored during KModel loading. Done means the LoRA loads successfully and changes generation results as expected.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.