Skip to content

Commit

Permalink
models(gallery): add flux.1-dev and flux.1-schnell
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
  • Loading branch information
mudler committed Aug 11, 2024
1 parent 74eaf02 commit 137c900
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
16 changes: 16 additions & 0 deletions gallery/flux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: "flux"

config_file: |
backend: diffusers
name: flux_transformer_2d
f16: true
low_vram: true
step: 25
diffusers:
cuda: true
enable_parameters: num_inference_steps
pipeline_type: FluxPipeline
cfg_scale: 0
44 changes: 44 additions & 0 deletions gallery/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4942,6 +4942,50 @@
- 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
- &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
tags:
- text-to-image
- flux
- python
- gpu
url: "github:mudler/LocalAI/gallery/flux.yaml@master"
overrides:
parameters:
model: black-forest-labs/FLUX.1-schnell
- &whisper
## Whisper
url: "github:mudler/LocalAI/gallery/whisper-base.yaml@master"
Expand Down

0 comments on commit 137c900

Please sign in to comment.