-
Notifications
You must be signed in to change notification settings - Fork 61
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
support HF models - freepik as first example #84
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,10 @@ | |
GUIDANCE_SCALE = 3.5 | ||
HEIGHT, WIDTH = 1024, 1024 | ||
INIT_IMAGE_STRENGTH = 0.4 # for image-to-image init_image | ||
MODEL_CHOICES = ["dev", "schnell"] | ||
MODEL_CHOICES = ["dev", "schnell", "freepik-lite-8b-alpha"] | ||
MODEL_INFERENCE_STEPS = { | ||
"dev": 14, | ||
"schnell": 4, | ||
"freepik-lite-8b-alpha": 22, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. from their readme:
I feel conflicted about having this value higher than dev, will play around to see if we can live with 10-14 range and give users faster generations by default. |
||
} | ||
QUANTIZE_CHOICES = [4, 8] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
considered naming this
FLUX1_FREEPIK_LITE_8B
and pointing to the beta/final releases as the model matures. However, in python zen we should be more explicit than not..., so I prefer to still let users know exactly what they have to ask for and receive.