InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[enhancement]: Support of LoKR (type of LORA) for FLUX

Open vrubzov1957 opened this issue 4 months ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Contact Details

No response

What should this feature add?

Please, implement support for Lora type of LoKr for Flux models.

Why? LoKR is - a more advanced and efficient version of LoRA, which provides a higher degree of detail and, in some cases, more stable model operation. What can be important when generating characters, and can be especially noticeable in FLUX models.

Alternatives

No response

Additional Content

Now in version 5.0.0 Lora LoKr-type correctly added to InvokeAI. But when try generate with it - we get this message from invokeAI: ValueError: Unsupported Linear LoRA layer type: <class 'invokeai.backend.lora.layers.lokr_layer.LoKRLayer'> PS: LoKR-type lora was downloaded from TensorArt.

vrubzov1957 avatar Oct 01 '24 18:10 vrubzov1957