How to use this in Kohya?
It is missing the model_index.json so is invalid for the Huggingface hub to download.
Agreed. I too would like to see a downloadable safetensors file for use with Kohya's sd-script. I'm currently stuck in a difficult situation with Lora learning in Flux. Please help me.
Just download all the diffusion_pytorch_model.safetensors files from here, then clone the original Flux Dev HF model repo into a new model repo on your own HF profile, delete the diffusion_pytorch_model files from the /transformer folder in your cloned repo, and upload the downloaded equivalents from here as their replacement. Then link to your cloned repo from a trainer/config. I imagine this should work for most training contexts.
Alternately, just use this pre-conversion to HF Diffusers (I should have thought of/suggested it first):
John6666/flux-dev2pro-bf16-flux
Do realize Kohya does not work with this because it wants peft files. For diffusion based repos of SD it works but not FLUX (tried all sorts of ways).