Skip to content

fix(sd3): read patch size from transformer config - #70

Draft
griptapeops[bot] wants to merge 1 commit into
mainfrom
fix/sd3-controlnet-patch-size
Draft

griptapeops[bot] wants to merge 1 commit into
mainfrom
fix/sd3-controlnet-patch-size

Conversation

@griptapeops

@griptapeops griptapeops Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

What

SD3 driver reads patch size from transformer.config.patch_size instead of the pipeline attribute.

Why

StableDiffusion3ControlNetPipeline has no patch_size attribute, so SD3/SD3.5 ControlNet runs failed in the modular diffusion pipeline. Not tested against real SD3 weights.

Closes #69

🤖 Generated with Claude Code

StableDiffusion3ControlNetPipeline doesn't set patch_size, so spatial alignment raised AttributeError for SD3 ControlNet runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ladipobaruwa-fn
ladipobaruwa-fn force-pushed the fix/sd3-controlnet-patch-size branch from e3dc55e to 96ad4cd Compare October 1, 2026 09:31
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.

SD3/SD3.5 ControlNet fails in modular diffusion pipeline: no attribute 'patch_size'

0 participants