models(gallery): add flux.1-dev and flux.1-schnell (#3215)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-08-11 10:19:02 +02:00 committed by GitHub
parent 74eaf02484
commit 9f61ac8acc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 52 additions and 0 deletions

14
gallery/flux.yaml Normal file
View File

@ -0,0 +1,14 @@
---
name: "flux"
config_file: |
backend: diffusers
f16: true
low_vram: true
step: 25
diffusers:
cuda: true
enable_parameters: num_inference_steps
pipeline_type: FluxPipeline
cfg_scale: 0

View File

@ -4942,6 +4942,44 @@
- sd-3
- gpu
url: "github:mudler/LocalAI/gallery/stablediffusion3.yaml@master"
- &flux
name: flux.1-dev
license: flux-1-dev-non-commercial-license
description: |
FLUX.1 [dev] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. For more information, please read our blog post.
Key Features
Cutting-edge output quality, second only to our state-of-the-art model FLUX.1 [pro].
Competitive prompt following, matching the performance of closed source alternatives .
Trained using guidance distillation, making FLUX.1 [dev] more efficient.
Open weights to drive new scientific research, and empower artists to develop innovative workflows.
Generated outputs can be used for personal, scientific, and commercial purposes as described in the flux-1-dev-non-commercial-license.
urls:
- https://huggingface.co/black-forest-labs/FLUX.1-dev
tags:
- text-to-image
- flux
- python
- gpu
url: "github:mudler/LocalAI/gallery/flux.yaml@master"
overrides:
parameters:
model: ChuckMcSneed/FLUX.1-dev
- !!merge <<: *flux
name: flux.1-schnell
license: apache-2
icon: https://huggingface.co/black-forest-labs/FLUX.1-schnell/resolve/main/schnell_grid.jpeg
description: |
FLUX.1 [schnell] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions. For more information, please read our blog post.
Key Features
Cutting-edge output quality and competitive prompt following, matching the performance of closed source alternatives.
Trained using latent adversarial diffusion distillation, FLUX.1 [schnell] can generate high-quality images in only 1 to 4 steps.
Released under the apache-2.0 licence, the model can be used for personal, scientific, and commercial purposes.
urls:
- https://huggingface.co/black-forest-labs/FLUX.1-schnell
overrides:
parameters:
model: black-forest-labs/FLUX.1-schnell
- &whisper
## Whisper
url: "github:mudler/LocalAI/gallery/whisper-base.yaml@master"