ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Load OneTrainer Flux LoRas and DoRas

Open ejektaflex opened this issue 1 year ago • 8 comments

Feature Idea

It looks like the Flux branch for OneTrainer is nearing completion - and the results are looking great! However, it seems as though ComfyUI cannot load the resulting .safetensors file. Attached is a text file with all of the keys of the resulting DoRa.

no-work.txt

Existing Solutions

No response

Other

No response

ejektaflex avatar Aug 30 '24 23:08 ejektaflex

+1 Same for me as well

DarkViewAI avatar Aug 30 '24 23:08 DarkViewAI

Can I have an example file for this?

comfyanonymous avatar Aug 31 '24 21:08 comfyanonymous

I'll see what I can do - GitHub is limited to 25MB and my rank 1 DoRa was 26MB if I remember right 🥲

ejektaflex avatar Aug 31 '24 21:08 ejektaflex

Just upload it on huggingface or civitai.

comfyanonymous avatar Sep 01 '24 22:09 comfyanonymous

Here you are:

https://github.com/ejektaflex/ot_dora_test

ejektaflex avatar Sep 02 '24 05:09 ejektaflex

I tried this after d043997 and I do indeed get working results with a LoRa, but not with a DoRa.

I updated the repo above with a non-fried example DoRa model.

Edit: Here is an image of what I get when I use a DoRa:

image

LoRas look fine, base model looks fine.

ejektaflex avatar Sep 03 '24 01:09 ejektaflex

That's a problem with the dora file.

comfyanonymous avatar Sep 03 '24 08:09 comfyanonymous

That's a problem with the dora file.

It seems to be a general problem. I've had the exact same pink noise effect opening it in ComfyUI with a DoRA trained out of Onetrainer.

Enyakk avatar Sep 03 '24 12:09 Enyakk

should be fixed now.

comfyanonymous avatar Oct 08 '24 23:10 comfyanonymous