mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #251] [MERGED] Add SiTU input activation to the INT8 ConvRot quantizer #257
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#257
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/251
Author: @kijai
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @comfyanonymous
Base:
main← Head:situ-input-act📝 Commits (2)
e8e9d27Add SiTU input activation to the INT8 ConvRot quantizerf901854Fix SiTU precision near zero in the INT8 quantizer📊 Changes
8 files changed (+119 additions, -41 deletions)
View changed files
📝
comfy_kitchen/__init__.py(+1 -1)📝
comfy_kitchen/backends/_activations.py(+13 -2)📝
comfy_kitchen/backends/ascend/__init__.py(+2 -1)📝
comfy_kitchen/backends/cuda/__init__.py(+2 -2)📝
comfy_kitchen/backends/cuda/dlpack_bindings.cpp(+7 -7)📝
comfy_kitchen/backends/cuda/input_act_codes.h(+8 -3)📝
comfy_kitchen/backends/cuda/ops/int8_linear.cu(+30 -6)📝
tests/test_int8_input_act.py(+56 -19)📄 Description
Adds
input_act="situ"It is folded into the INT8 ConvRot quantizer the same way as
swiglu, in the row quantizer and the M=1 fused GEMV, so the MLP down-projection never writes the activation to HBM.MOSS-Image int8 forward at 1024x1024 on a 4090: 175.7 -> 128.5 ms.
situran as ~9 elementwise passes and was about a third of the forward.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.