mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #260] [MERGED] VAE speedups: Add stats override and row stride to group_norm_silu_pad3d #265
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-kitchen#265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-kitchen/pull/260
Author: @kijai
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @comfyanonymous
Base:
main← Head:group_norm_stats📝 Commits (3)
17ebcf3Add stats override and row stride to group_norm_silu_pad3d1026d95Signature order fixca0d637Add stats override and row stride to group_norm_silu_pad3d📊 Changes
8 files changed (+345 additions, -63 deletions)
View changed files
📝
comfy_kitchen/__init__.py(+14 -4)📝
comfy_kitchen/backends/cuda/__init__.py(+65 -12)📝
comfy_kitchen/backends/cuda/dlpack_bindings.cpp(+59 -8)📝
comfy_kitchen/backends/cuda/ops/group_norm_pad3d.cu(+59 -24)📝
comfy_kitchen/backends/eager/__init__.py(+8 -1)📝
comfy_kitchen/backends/eager/group_norm_pad3d.py(+43 -7)📝
comfy_kitchen/backends/hip/__init__.py(+7 -6)📝
tests/test_group_norm_silu_pad3d.py(+90 -1)📄 Description
Lets a caller normalize row strips of a frame with that frame's whole-image GroupNorm statistics, so a conv stack can run strip-wise without the full-size normalized intermediate. Needed for the fused SD/Flux2 VAE path.
Both ops also read row-interleaved frames in place through a row stride, and any multiple of 8 channels up to 2048 is served. Packed input is addressed exactly as before.
Core PR https://github.com/Comfy-Org/ComfyUI/pull/17196
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.