QwenImagePipeline and FluxPipeline treat guidance_scale as the distilled CFG factor and expose true_cfg_scale as the real classifier-free guidance knob. Negative prompts only steer the output when true_cfg_scale > 1, so forwarding only guidance_scale left Qwen-Image on the default true_cfg_scale=4.0 and the user's slider value silently ineffective for negative prompts. When the loaded pipeline accepts both negative_prompt and true_cfg_scale and the caller supplies a non-empty negative prompt, forward guidance_scale through both kwargs so the negative prompt actually steers generation. When no negative prompt is supplied, true_cfg_scale is left at the model default to avoid switching distilled CFG models into real-CFG mode (which would double inference cost and degrade quality). Adds two regression tests covering the forward-when-negative and skip-when-no-negative paths. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||