mirror of
https://github.com/Comfy-Org/comfy-kitchen.git
synced 2026-11-04 23:37:42 +00:00
[PR #77] [CLOSED] Triton Backend - Ensure different dim1/dim2 matched against freqs_cis independently #127
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#127
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/77
Author: @sleppyrobot
Created: 7/14/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
bd7ddf9Ensure different dim1/dim2 matched against freqs_cis independently📊 Changes
1 file changed (+39 additions, -17 deletions)
View changed files
📝
comfy_kitchen/backends/triton/rope.py(+39 -17)📄 Description
Since Krea2 launched i have not been able to get it running with --enable-triton-backend on Linux on my 7900xtx, it triggers ; "CUDA error: an illegal memory access was encountered"
Comparing the eager rope.py to the triton revealed an issue that may occur due to the shapes\stride generated by Krea2.
This change mimics the eager logic to allow the model to run, also give a small speed up as triton rope is faster than eager rope.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.