Custom Node Testing
Expected Behavior
ComfyUI desktop or portable windows AMD version to launch at all.
Actual Behavior
Attempting to install ComfyUI for Windows 11, failed midway through due to comfykitchen crash.
Switched to ComfyUI Windows portable AMD, fail to launch due to the same.
Steps to Reproduce
This bug is fatal before ComfyUI even loads. It's part of the starting code with comfykitchen.
Debug Logs
Other
Environment:
GPU: AMD Radeon RX 6800 XT (gfx1030, RDNA2)
Driver: AMD Adrenalin 26.3.1
AMD HIP SDK: 7.1
OS: Windows 11
ComfyUI: Desktop app + AMD portable (both affected)
torch: 2.9.1+rocm7.2.1
Both the desktop app and the AMD portable crash on startup with a fatal Windows access violation. The crash occurs in comfy_kitchen\backends\cuda_init_.py when it calls torch.cuda.is_available() or torch.cuda._lazy_init() — these throw an unrecoverable access violation on ROCm Windows instead of returning False or raising a catchable exception.
Workaround: uninstall comfy-kitchen and comfy-aimdo, patch the hard imports in main.py to try/except. However model_management.py then crashes similarly at torch.cuda.current_device().
Request: torch.cuda.is_available() calls should be wrapped in try/except throughout, and comfy_kitchen should gracefully skip CUDA backend registration on AMD/ROCm rather than fatally crashing the process.
Additionally, of note, ROCm is starting to ship with amdhip64_6.dll or amdhip64_7.dll (basically often there but 'invisible' due to specificity of targeting) as well as NO amdhsa64.dll and now uses amd_comgr.dll instead. Anyways they keep changing the naming schema on those. Those issues were revealed after I uninstalled comfykitchen which wouldn't stop it's cuda crash.
Custom Node Testing
Expected Behavior
ComfyUI desktop or portable windows AMD version to launch at all.
Actual Behavior
Attempting to install ComfyUI for Windows 11, failed midway through due to comfykitchen crash.
Switched to ComfyUI Windows portable AMD, fail to launch due to the same.
Steps to Reproduce
This bug is fatal before ComfyUI even loads. It's part of the starting code with comfykitchen.
Debug Logs
N/AOther
Environment:
GPU: AMD Radeon RX 6800 XT (gfx1030, RDNA2)
Driver: AMD Adrenalin 26.3.1
AMD HIP SDK: 7.1
OS: Windows 11
ComfyUI: Desktop app + AMD portable (both affected)
torch: 2.9.1+rocm7.2.1
Both the desktop app and the AMD portable crash on startup with a fatal Windows access violation. The crash occurs in comfy_kitchen\backends\cuda_init_.py when it calls torch.cuda.is_available() or torch.cuda._lazy_init() — these throw an unrecoverable access violation on ROCm Windows instead of returning False or raising a catchable exception.
Workaround: uninstall comfy-kitchen and comfy-aimdo, patch the hard imports in main.py to try/except. However model_management.py then crashes similarly at torch.cuda.current_device().
Request: torch.cuda.is_available() calls should be wrapped in try/except throughout, and comfy_kitchen should gracefully skip CUDA backend registration on AMD/ROCm rather than fatally crashing the process.
Additionally, of note, ROCm is starting to ship with amdhip64_6.dll or amdhip64_7.dll (basically often there but 'invisible' due to specificity of targeting) as well as NO amdhsa64.dll and now uses amd_comgr.dll instead. Anyways they keep changing the naming schema on those. Those issues were revealed after I uninstalled comfykitchen which wouldn't stop it's cuda crash.