Skip to content
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

feat: add FLUX.1 #56

Merged
merged 10 commits into from
Aug 19, 2024
Merged

feat: add FLUX.1 #56

merged 10 commits into from
Aug 19, 2024

Conversation

TimPietrusky
Copy link
Member

Motivation

  • Add images for FLUX.1-dev and FLUX.1-schnell

Issues closed

@@ -57,6 +57,11 @@ RUN if [ "$MODEL_TYPE" = "sdxl" ]; then \
wget -O models/vae/sdxl-vae-fp16-fix.safetensors https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/sdxl_vae.safetensors; \
elif [ "$MODEL_TYPE" = "sd3" ]; then \
wget --header="Authorization: Bearer ${HUGGINGFACE_ACCESS_TOKEN}" -O models/checkpoints/sd3_medium_incl_clips_t5xxlfp8.safetensors https://huggingface.co/stabilityai/stable-diffusion-3-medium/resolve/main/sd3_medium_incl_clips_t5xxlfp8.safetensors; \
elif [ "$MODEL_TYPE" = "flux1-schnell" ]; then \
wget -O models/unet/flux1-schnell.safetensors https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/flux1-schnell.safetensors && \
Copy link

@hoblin hoblin Aug 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll probably want to add unet: models/unet/ to the src/extra_model_paths.yaml in case somebody will try to use flux1-dev.safetensors ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hoblin that makes sense, will add this.

My overall plan is to also have an image with flux1-dev, I just ran out of time testing the basic version with just FLUX.1-schnell. But adding unet into the mapping is still valuable anyway.

Copy link

@hoblin hoblin Aug 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW if you have problems running -base container you might try this fix #54 (comment)

@TimPietrusky TimPietrusky changed the title feat: added flux1-schnell feat: add FLUX.1 Aug 11, 2024
@TimPietrusky
Copy link
Member Author

FLUX.1-schnell is working as desired, now let's make sure FLUX.1-dev is also working.

@TimPietrusky TimPietrusky merged commit 9170191 into main Aug 19, 2024
1 of 2 checks passed
@TimPietrusky TimPietrusky deleted the feat/flux branch August 19, 2024 11:29
@TimPietrusky
Copy link
Member Author

🎉 This PR is included in version 3.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support FLUX.1
2 participants