-
Notifications
You must be signed in to change notification settings - Fork 273
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
Flux.1 LoRa produces black images with low size #146
Comments
Hi @DimitriosKakouris, I have the same issue with my fine-tuned LoRa models, while the pipeline is working with other weights trained with DreamBooth. Has anyone successfully run inference with the AI-toolkit LoRa weights, either with or without diffusers? |
I was having the same issue with a black image. I think there might have been an issue with authentication. Here's my code now that works:
|
Hi @sitefeng , I do not believe there is an issue with the authentication token, unless it is explicitly in the output of your terminal when you are running the script, the weights are fetched for me at least. I did have some success by converting kohya_ss format to diffusers with this script convert_flux_lora.py the output image is unaffected by the LoRa weight for some reason. |
|
This seems to work. I'm not sure if
|
I want to use a Flux.1 Dev LoRa from a huggingface repo https://huggingface.co/adirik/flux-cinestill . I got the safetensors file and I run it with the diffusers library with the python script below:
I get a black image with size of about 1.3kB:
While I get normal generations of about 1.4MB when not using the LoRa. What is wrong?
The text was updated successfully, but these errors were encountered: