mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #108] [CLOSED] Optimize HIP ConvRot and deep-K INT8 kernels #150
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#150
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/108
Author: @Yasei-no-otoko
Created: 8/11/2026
Status: ❌ Closed
Base:
main← Head:codex/gfx1151-hip-extreme📝 Commits (3)
db4eb8cOptimize HIP ConvRot and deep-K INT8 kernelsf588fb7Add HIP ConvRot dispatch and tail checks3f86661Use expf for SwiGLU parity📊 Changes
3 files changed (+84 additions, -27 deletions)
View changed files
📝
comfy_kitchen/backends/hip/hadamard.h(+45 -26)📝
comfy_kitchen/backends/hip/ops/gemm_int8.hip(+1 -1)📝
tests/test_hip_wmma.py(+38 -0)📄 Description
Summary
Performance
Measured on an AMD Radeon 8060S (
gfx1151) on Windows with PyTorch2.12.0+rocm10.1.0a20260811from the ROCm 10.1 Nightly 2026-08-11 package set (torch.version.hip == 7.16.26315). Inputs use BF16 raw SwiGLU[M, 28672], INT8 weights[256, 14336], and ConvRot group size 256.Each value is the median of three independent run medians. Each run used 10 warmups and 40 HIP-event-timed iterations. The baseline is the published 0.2.30 wheel under the same Python/ROCm process setup.
int8_linearint8_linearThese performance results are specific to
gfx1151; other WMMA-capable AMD targets were not benchmarked here.Validation
gfx1151with the ROCm 10.1 Nightly toolchainpytest tests/test_hip_wmma.py -q: 337 passedruff check tests/test_hip_wmma.pyhadamard1.00 andgemm_int81.00🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
sol_attn_chunked#178