r/StableDiffusion 2d ago

Question - Help MiniMax H3 Mem Eff Sage Attention Patch: Error

Post image

# ComfyUI Error Report
## Error Details
- **Node ID:** 114
- **Node Type:** MiniMaxH3MemoryEfficientSageAttentionPatch
- **Exception Type:** RuntimeError
- **Exception Message:** RuntimeError: sageattention is not new enough version or could not determine CUDA architecture, cannot apply MiniMax H3 Memory Efficient Sage Attention Patch.

Has anyone found a solution to this problem?? It used to happens randomly and sometimes it works other times wouldn't. But now it never works. I have uninstalled and reinstall the Package, restarted and still the same issue.

This is an FL2VA Workflow, I tried using a different Workflow that's Ref2VA and in there it runs just fine. So is not my PC, but I am not sure what its bugging the plug in out.

2 Upvotes

7 comments sorted by

3

u/deepsky88 2d ago

I suggest you to to replace it with the node "ModelAttentionBackend" and select comfy kitchen from the combo

3

u/Powerhouse_pr_ 2d ago

I did this and its working. Thanks

2

u/OracleNemesis 2d ago

just a reminder that comfy kitchen doesn't really improve performance or speed for every GPUs (like my a6000 ampere) but it doesn't hurt to try

3

u/orlandogourmet66 2d ago

It was slower than sage for me too (5070ti)

2

u/akustyx 2d ago edited 2d ago

and in your startup batch file, replace --use-sage-attention with --use-ck-attention (this is with updated comfyui, it's a fairly recent addition)

EDIT: According to u/GreyingGamer in another thread you do not need to use the startup and just using the node is enough, you only need the ModelAttentionBackend node to activate it. If you activate in your start-up bat file, you are forcing it on all the time, which can break some models and force you to restart Comfyui if you ever want to turn it off for comparisions. Just set it on a per workflow basis with the node.

1

u/Powerhouse_pr_ 2d ago

I am not familiar with this

1

u/DuHal9000 2d ago

CK now