Skip to content

Commit b7959dc

Browse files
committed
up up
1 parent ca58ce3 commit b7959dc

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/diffusers/pipelines/qwenimage/pipeline_qwenimage.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -484,13 +484,11 @@ def __call__(
484484
where the guidance scale is applied during inference through noise prediction rescaling, guidance
485485
distilled models take the guidance scale directly as an input parameter during forward pass. Guidance
486486
scale is enabled by setting `guidance_scale > 1`. Higher guidance scale encourages to generate images
487-
that are closely linked to the text `prompt`, usually at the expense of lower image quality. Ignored
488-
when not using guidance distilled models.
489-
490-
This parameter in the pipeline is there to support future guidance-distilled models when they come up.
491-
Note that passing `guidance_scale` to the pipeline is ineffective. To enable classifier-free guidance,
492-
please pass `true_cfg_scale` and `negative_prompt` (even an empty negative prompt like " ") should
493-
enable classifier-free guidance computations.
487+
that are closely linked to the text `prompt`, usually at the expense of lower image quality. This
488+
parameter in the pipeline is there to support future guidance-distilled models when they come up. It is
489+
ignored when not using guidance distilled models. To enable classifier-free guidance for a non
490+
guidance-distilled model, please pass `true_cfg_scale > 1.0` and `negative_prompt` (even an empty
491+
negative prompt like " ") should enable classifier-free guidance computations.
494492
num_images_per_prompt (`int`, *optional*, defaults to 1):
495493
The number of images to generate per prompt.
496494
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):

0 commit comments

Comments
 (0)