Skip to content

fix guidance_rescale docstring to reflect true default value #4864

@codinggosu

Description

@codinggosu

guidance_rescale is a parameter available in many pipelines that was implemented in this pr.

To maintain backwards compatibility, and due to concerns about the results with guidance_scale applied not being objectively better all the time, the default value was determined to be best left as 0, and not 0.7 as originally planned.

This has been reflected in the code, but not the docstring.

I propose an issue to correct all occurrences of the bad docstring.

guidance_rescale (`float`, *optional*, defaults to 0.7):

will be changed to

guidance_rescale (`float`, *optional*, defaults to 0.0):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions