Skip to content

Fix pipeline callback state initialized in __init__ (#11002) [r2]#6

Open
srlynch1 wants to merge 1 commit into
mainfrom
e2e/diffusers-11002-r2
Open

Fix pipeline callback state initialized in __init__ (#11002) [r2]#6
srlynch1 wants to merge 1 commit into
mainfrom
e2e/diffusers-11002-r2

Conversation

@srlynch1

Copy link
Copy Markdown
Owner

Summary

Test plan

  • pytest tests/pipelines/stable_diffusion/test_stable_diffusion.py::StableDiffusionPipelineFastTests::test_pipeline_call_state_before_call
  • python utils/check_copies.py
  • ruff check on changed files

Pack real-issues e2e run 2026-06-21-r2.

Made with Cursor

Initialize per-call pipeline attributes in DiffusionPipeline.__init__
with issue-agreed defaults so properties like interrupt and guidance_scale
are accessible before __call__. Add super().__init__() to bria pipelines
that skipped the base init, and a PipelineTesterMixin regression test.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant