-
-
Notifications
You must be signed in to change notification settings - Fork 259
Flux2 Dev+Klein support #1261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: merge
Are you sure you want to change the base?
Flux2 Dev+Klein support #1261
Conversation
Removed unimplemented method 'vae_to' from WuerstchenModel.
|
masked training fixed @Calamdor |
|
removed Comfy LoRA format, because Comfy now supports diffusers format |
This comment was marked as resolved.
This comment was marked as resolved.
|
I received the same screen yesterday after attempting to train Flux Klein. The model will not load even though it is available as a drop down selection. Please Fix. |
|
It is a soft locked model, you need your hf key and to ask for access |
|
GGUF loading is broken for Flux2 because something in diffusers: huggingface/diffusers#13001 |
|
It would not load the Klein 9b non quantized base model downloaded straight from black forest labs. A hugging face token was included. I tried every setting possible This was while using Massed Compute and their Ubuntu 22.04 os. Maybe it works on windows? Update: I think I found my problem. When selecting Flux 1 from the drop down menu, the Base Model field is populated with the exact location of the model. When selecting Flux 2 from the drop down menu, no base model link is selected. I copied the syntax for the Flux 1 and found the corresponding syntax on the hugging face webpage. Inserting this into the base model path and the model began working correctly. I have not trained with it yet, but this seems to fix my issue. You may want to insert the correct base model path for the Flux 2 Klein drop down like the Flux 1 so others don't have this minor mistake. |
|
GGUF loading works now, using the workaround suggested in huggingface/diffusers#13001 |
|
Thank you for making the changes. Don't know if it's a one trainer thing or a Klein thing, but the model does not train properly on .jpg data. Only Png. This is probably a good thing, but if you can't figure out why your loss rate is stuck very high, try training in .Png and watch a proper slope curve form. |
update.sh or update.bat
diffusersto a commit that includes Flux2-Klein - but that commit also fixes some bugs in their Qwen-Image pipeline. The workarounds for these bugs have to be removed in OneTrainer.They're still making changes on this part of the code: [Qwen] avoid creating attention masks when there is no padding huggingface/diffusers#12987
Support loading of Comfy LoRA files?see e50970f for code changes only for Klein