InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: Model Manager can not import LoRa made by FluxGym

Open Barafu opened this issue 1 year ago • 1 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

No response

GPU VRAM

No response

Version number

5.0.0

Browser

Brave

Python dependencies

No response

What happened

I crerated a LoRa using FlexGym, carefully leaving all settings on default, except for epochs. When importing this LoRa with model manager, it produces the error.

[2024-09-23 12:28:05,823]::[ModelInstallService]::ERROR --> Model install error: D:/AI/webui_forge/webui/models/Lora/blue-ball.safetensors
InvalidModelConfigException: Unknown LoRA type: D:\AI\webui_forge\webui\models\Lora\blue-ball.safetensors

What you expected to happen

Lora be imported.

How to reproduce the problem

LoRa here: https://zippyshare.day/0kDGvKITOanFlBt/file Download and try to import.

Additional context

This LoRa works successfully in Forge. Has to set mode manually to "bnb-nf4 (fp16 LoRa)". And in Comfy.

Discord username

barafu_albino

Barafu avatar Sep 23 '24 09:09 Barafu

Still affects 5.0.0

Barafu avatar Sep 24 '24 14:09 Barafu

These now work. I will reopen if I find particular settings that cause LoRa to not work again.

Barafu avatar Sep 30 '24 22:09 Barafu

So, It does not still work in InvokeUI? I've just encountered this error again. How did you solve it?

arturgromenkov avatar Oct 20 '24 11:10 arturgromenkov

@arturgromenkov It just worked when I closed the issue. Didn't do anything. Default settings on FluxGym.

Barafu avatar Oct 20 '24 13:10 Barafu

@Barafu Did you retrain lora?

arturgromenkov avatar Oct 20 '24 14:10 arturgromenkov