mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #259] [MERGED] AMD int8 performance #264
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#264
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/259
Author: @rattus128
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @comfyanonymous
Base:
main← Head:prs/for-amd-linears📝 Commits (10+)
6a94830Add native gfx12 HIP attention and Z-Image INT8 fusionsf8ef6fcAddress review feedback for gfx12 HIP kernelseb6270freslve code rabbit review commentse70bc08Merge branch 'main' into hip-gfx12x-native-attention638e94cUse atomic WMMA state snapshots, scope ConvRot capability checks to the input device, and preserve float32 validation for HIP attention scales.99ff431Fix WMMA races and validate attention scales8f0b518Fix WMMA races and validate attention scalesba44363Fix Ruff lint71c5a34hip: enable native gfx1170 attention and GEMM schedules9518b7eMerge branch 'main' into hip-gfx12x-native-attention📊 Changes
24 files changed (+2931 additions, -151 deletions)
View changed files
📝
comfy_kitchen/__init__.py(+92 -0)📝
comfy_kitchen/backends/eager/__init__.py(+47 -0)📝
comfy_kitchen/backends/eager/quantization.py(+52 -0)➕
comfy_kitchen/backends/eager/residual.py(+18 -0)📝
comfy_kitchen/backends/hip/CMakeLists.txt(+2 -0)📝
comfy_kitchen/backends/hip/__init__.py(+387 -42)➕
comfy_kitchen/backends/hip/device_arch.h(+45 -0)📝
comfy_kitchen/backends/hip/dlpack_bindings.cpp(+211 -23)📝
comfy_kitchen/backends/hip/epilogue.h(+14 -0)📝
comfy_kitchen/backends/hip/gemm_wmma.h(+71 -10)📝
comfy_kitchen/backends/hip/hadamard.h(+612 -31)📝
comfy_kitchen/backends/hip/launchers.h(+13 -0)📝
comfy_kitchen/backends/hip/mma.h(+1 -1)📝
comfy_kitchen/backends/hip/ops/gemm_int8.hip(+201 -0)📝
comfy_kitchen/backends/hip/ops/quantize_int8.hip(+103 -17)➕
comfy_kitchen/backends/hip/ops/rms_convrot_quant.hip(+41 -0)➕
comfy_kitchen/backends/hip/ops/rms_gated_residual.hip(+180 -0)📝
comfy_kitchen/backends/hip/ops/rms_rope.hip(+215 -6)📝
comfy_kitchen/backends/hip/rope_math.h(+23 -0)📝
comfy_kitchen/tensor/int8.py(+68 -11)...and 4 more files
📄 Description
Improve performance for AMD int8 convrot.
Based on work form AMD (preserved in git history).
Check git history for piece by piece changes to generalize and scope down.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.