mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #250] [MERGED] qwen 3.x LLM bugfixes and performance improvement pack #256
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#256
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/250
Author: @rattus128
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @comfyanonymous
Base:
main← Head:prs/qwen-3x-general-fixes📝 Commits (5)
22d843fFix concurrent flash decode counter ownership8580491Remove fused flash decode split combine94f9cf4Add deferred DeltaNet kernels for Ampere and Ada30b3931Restore noncausal HIP flash decode performancef845771Add persistent INT8 decode cache on HIP📊 Changes
15 files changed (+614 additions, -265 deletions)
View changed files
📝
comfy_kitchen/backends/cuda/dlpack_bindings.cpp(+7 -25)📝
comfy_kitchen/backends/cuda/ops/flash_decode.cu(+8 -107)📝
comfy_kitchen/backends/cuda/ops/gated_delta.cu(+283 -8)📝
comfy_kitchen/backends/hip/CMakeLists.txt(+1 -0)📝
comfy_kitchen/backends/hip/dlpack_bindings.cpp(+3 -0)➕
comfy_kitchen/backends/hip/int8_decode_bindings.cpp(+49 -0)📝
comfy_kitchen/backends/hip/ops/flash_decode.hip(+20 -18)📝
comfy_kitchen/backends/hip/sage_attention/int8_attn.hip(+95 -11)📝
comfy_kitchen/backends/hip/sage_attention/quant_qk_int8.hip(+57 -11)📝
comfy_kitchen/backends/hip/sage_attention/quant_v_int8.hip(+23 -2)📝
comfy_kitchen/flash_attention.py(+2 -23)📝
comfy_kitchen/gated_delta.py(+3 -4)📝
comfy_kitchen/int8_decode.py(+17 -11)📝
tests/test_flash_attention.py(+45 -43)📝
tests/test_int8_attention.py(+1 -2)📄 Description
Two quick bugfixes:
Other than than, the previous qwen 3.x PRs were overtuned for blackwell so fix with bringup for:
Example Test Conditions:
ComfyUI: https://github.com/Comfy-Org/ComfyUI/pull/17007
Each of:
qwen 3.8 w4a8 creating writing with image input
Before:
AMD R9700:
A40:
RTX6000 Ada
After:
AMD R9700 (note shorter output, minor win on step rate):
A40:
RTX6000 Ada
Same GPUs, long context:
Before:
R9700
A40:
RTX6000PRO Ada
After:
AMD R9700 (note significantly longer output):
A40 (note significantly longer output):
RTX6000 Ada
Regression Tests:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.