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

add a barely working flux model #491

Merged
merged 5 commits into from
Sep 22, 2024
Merged

add a barely working flux model #491

merged 5 commits into from
Sep 22, 2024

Conversation

brycedrennan
Copy link
Owner

@brycedrennan brycedrennan commented Sep 22, 2024

Should work on nvidia GPUs with sufficient memory. Only tested on a 4090.

imagine "{_landscape-type_|_fruit_|_flower_}. {_style_}" --model flux --size FHD --upscale -r 20

5 step image takes 12 seconds to generate at 1920x1080.

Automatically quantizes and caches weights. Thanks to https://gist.github.com/AmericanPresidentJimmyCarter/873985638e1f3541ba8b00137e7dacd9 for showing how to do it.

Not supported:

  • specifying weights
  • loras, controlnets
  • negative prompts
  • image inputs, inpainting
  • probably other things

works on my nvidia 4090 and probably not many other places. rush job. will not be providing support but will accept pull requests
@brycedrennan brycedrennan merged commit 1c79db1 into master Sep 22, 2024
19 checks passed
@brycedrennan brycedrennan deleted the bd/flux branch September 22, 2024 02:35
@brycedrennan brycedrennan mentioned this pull request Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant