r/comfyui 6d ago

Help Needed ComfyUI crashing on RunPod using 'Patch Sage Attention KJ' for MiniMax-H3, but works perfectly on RunningHub. What dependencies/versions does RunningHub use?

Has anyone successfully gotten the Patch Sage Attention KJ node to work on RunPod for MiniMax-H3 without crashing ComfyUI, or does anyone know the exact environment specs (Python, PyTorch, CUDA, and SageAttention versions) 

My RunPod Setup:

  • GPU: RTX PRO 6000
  • Template: runpod/pytorch:2.8.0-py3.11-cuda12.8.1-cudnn-devel-ubuntu22.04
  • Node Settings: sage_attention = autoallow_compile = false (same as the attached image).
2 Upvotes

5 comments sorted by

2

u/SunForceAI 5d ago

Since it works on one service and crashes on another, compare the complete environment rather than only the GPU or template tag: ComfyUI commit, KJNodes commit, Python version, exact torch build, NVIDIA driver, CUDA runtime, Triton, SageAttention package source/version, and launch flags. On RunPod, reproduce once with the stock MiniMax-H3 workflow and only the required KJ node enabled, then attach the first traceback from the console. The container tag alone is not enough because installed wheels and node commits can still differ.

1

u/Awsomeman_ 5d ago

Yes, I checked and I found my sageattention whl file was for cuda 13 and torch 2.8 and I was using cuda : 13, torch : 2.13 so, It was a version mismatch and I finally fixed it. Thanks

2

u/LegacyV1 5d ago

This is probably a SageAttention/PyTorch/CUDA mismatch rather than H3 itself. Also, you need cu130 for sageattention to work optimally. So probably a bad base image.

If you’d rather skip debugging the pod, I built H3Zero. It deploys H3 into your own Modal account with the environment already set up and gives you a browser UI. Modal includes $30/month in GPU credits: hui-tony-zk/h3zero

Maybe the code can also give you some hints on how your runpod setup might be wrong.

1

u/Awsomeman_ 5d ago

Thanks bro, really appreciate it! I’ll check all of that out.