mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-19 18:15:00 +00:00
fix(flux): Set CFG=1 so that prompts are followed (#5378)
The recommendation with Flux is to set CFG to 1 as shown in the stablediffusion-cpp README. Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
parent
3033845f94
commit
cd494089d9
2 changed files with 3 additions and 1 deletions
|
@ -10,3 +10,5 @@ config_file: |
|
|||
- "t5xxl_path:t5xxl_fp16.safetensors"
|
||||
- "vae_path:ae.safetensors"
|
||||
- "sampler:euler"
|
||||
|
||||
cfg_scale: 1
|
||||
|
|
|
@ -12,4 +12,4 @@ config_file: |
|
|||
enable_parameters: num_inference_steps
|
||||
pipeline_type: FluxPipeline
|
||||
|
||||
cfg_scale: 0
|
||||
cfg_scale: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue