Skip to content

VaeImageProcessor.blur() docstring is missing blur_factor and has a copy-pasted description #14209

Description

@RudrenduPaul

VaeImageProcessor.blur()'s docstring is missing the blur_factor parameter entirely, and its
Returns/description text appears to be copy-pasted from a different method — it currently
describes converting an image to grayscale, not blurring it.

Location: src/diffusers/image_processor.py, VaeImageProcessor.blur(), around line 271.

Proposed fix: add the missing blur_factor entry to the Args section and correct the
description to accurately describe the blur behavior, matching the style of nearby docstrings
in the same file (1-3 sentences, no more).

I have a small, single-file fix ready and would like to open a PR for this if a maintainer can
confirm it's welcome — happy to follow whatever review process you prefer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-code-exampleWaiting for relevant code example to be providedpipelines

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions