Custom Node Testing
Expected Behavior
It was loading just fine some days ago, i will say patientx/ComfyUI-INT8-Fast-ROCM has never worked for me, it always crashed, maybe the same crash as this one?Idk. But fp8 loaded just fine and when int8 was officially implemented it also worked for me, but then one day i woke up and it stopped working. I'm not sure if fp8 was still working, but it's not right now. Only nvfp4 works.
I've deleted my comfyui and reinstalled multiple times. No avail.
Actual Behavior
Crashes when it tries to load, int8convrot = crash, fp8_scaled = crash, nvfp4 = works.
Windows fatal exception: access violation
Stack (most recent call first):
File "C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\storage.py", line 471 in getitem
File "C:\comfyui-rocm-062526\comfy\utils.py", line 136 in load_torch_file
File "C:\comfyui-rocm-062526\comfy\sd.py", line 2062 in load_diffusion_model
File "C:\comfyui-rocm-062526\nodes.py", line 988 in load_unet
File "C:\comfyui-rocm-062526\execution.py", line 303 in process_inputs
File "C:\comfyui-rocm-062526\execution.py", line 315 in _async_map_node_over_list
File "C:\comfyui-rocm-062526\execution.py", line 341 in get_output_data
File "C:\comfyui-rocm-062526\execution.py", line 542 in execute
File "C:\comfyui-rocm-062526\execution.py", line 784 in execute_async
File "asyncio\events.py", line 88 in _run
File "asyncio\base_events.py", line 1999 in _run_once
File "asyncio\base_events.py", line 645 in run_forever
File "asyncio\windows_events.py", line 322 in run_forever
File "asyncio\base_events.py", line 678 in run_until_complete
File "asyncio\runners.py", line 118 in run
File "asyncio\runners.py", line 195 in run
File "C:\comfyui-rocm-062526\execution.py", line 724 in execute
File "C:\comfyui-rocm-062526\main.py", line 359 in prompt_worker
File "threading.py", line 1012 in run
File "threading.py", line 1075 in _bootstrap_inner
File "threading.py", line 1032 in _bootstrap
Exception Code: 0xC0000005
0x00007FF9062F9161, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x899161 byte(s), ?_local_scalar_dense_cpu@native@at@@ya?AVScalar@c10@@AEBVTensor@2@@z() + 0xF1 byte(s)
0x00007FF906FAA4A2, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x154A4A2 byte(s), ?call@_local_scalar_dense@_ops@at@@sa?AVScalar@c10@@AEBVTensor@3@@z() + 0xD2 byte(s)
0x00007FF9062F8B52, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x898B52 byte(s), ?item@native@at@@ya?AVScalar@c10@@AEBVTensor@2@@z() + 0x122 byte(s)
0x00007FF906C85EA2, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x1225EA2 byte(s), ?call@item@_ops@at@@sa?AVScalar@c10@@AEBVTensor@3@@z() + 0xD2 byte(s)
0x00007FF908194163, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x2734163 byte(s), ??$item@E@Tensor@at@@QEBAEXZ() + 0x23 byte(s)
0x00007FF8F130B423, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC0B423 byte(s), ??4?$THPPointer@UTHPGenerator@@@@QEAAAEAV0@$$QEAV0@@z() + 0x633 byte(s)
0x00007FF8F0C8548A, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0x58548A byte(s), ?THPStorage_assertNotNull@@YAXPEAU_object@@@z() + 0xACA byte(s)
0x00007FF9B50ABDF2, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xABDF2 byte(s), PyOS_strtoul() + 0x3BA byte(s)
0x00007FF9B50AB1B8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xAB1B8 byte(s), PyNumber_Float() + 0x5A8 byte(s)
0x00007FF9B50CEC06, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC06 byte(s), PyObject_Call() + 0xB6 byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B50CD4AE, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCD4AE byte(s), _PyUnicode_FormatAdvancedWriter() + 0x14A byte(s)
0x00007FF9B50CD2F8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCD2F8 byte(s), PySequence_GetItem() + 0x44 byte(s)
0x00007FF8F137E2A3, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC7E2A3 byte(s), ?legacy_tensor_ctor@utils@torch@@ya?AVTensor@at@@W4DispatchKey@c10@@W4ScalarType@6@PEAU_object@@2@Z() + 0xFE3 byte(s)
0x00007FF8F138444C, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC8444C byte(s), ?legacy_tensor_ctor@utils@torch@@ya?AVTensor@at@@W4DispatchKey@c10@@W4ScalarType@6@PEAU_object@@2@Z() + 0x718C byte(s)
0x00007FF8F0D4F0A4, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0x64F0A4 byte(s), ?THPCppFunction_Check@autograd@torch@@YA_NPEAU_object@@@z() + 0x21A44 byte(s)
0x00007FF9B50272F8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x272F8 byte(s), PyUnicode_DecodeUTF7Stateful() + 0x6D4 byte(s)
0x00007FF9B50CEC06, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC06 byte(s), PyObject_Call() + 0xB6 byte(s)
0x00007FF9C282FC51, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x1FC51 byte(s)
0x00007FF9C2822EA7, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x12EA7 byte(s)
0x00007FF9C282A9AA, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x1A9AA byte(s)
0x00007FF9C2832F52, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x22F52 byte(s)
0x00007FF9C2833354, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x23354 byte(s)
0x00007FF9B5059CEB, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x59CEB byte(s), _PyEval_EvalFrameDefault() + 0x2D0B byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B505099C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5099C byte(s), _PyArg_CheckPositional() + 0x44C byte(s)
0x00007FF9B50CECCB, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCECCB byte(s), PyObject_Call() + 0x17B byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B50CA6B6, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCA6B6 byte(s), PyObject_GetAttrString() + 0xB2A byte(s)
0x00007FF9B5242C85, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x242C85 byte(s), PyGen_NewWithQualName() + 0x29 byte(s)
0x00007FF9B52395A9, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x2395A9 byte(s), PyIter_Send() + 0x35 byte(s)
0x00007FFA06817334, C:\comfyui-rocm-062526\python_env_asyncio.pyd(0x00007FFA06810000) + 0x7334 byte(s), PyInit__asyncio() + 0x5AE4 byte(s)
0x00007FFA06816C7E, C:\comfyui-rocm-062526\python_env_asyncio.pyd(0x00007FFA06810000) + 0x6C7E byte(s), PyInit__asyncio() + 0x542E byte(s)
0x00007FFA06817574, C:\comfyui-rocm-062526\python_env_asyncio.pyd(0x00007FFA06810000) + 0x7574 byte(s), PyInit__asyncio() + 0x5D24 byte(s)
0x00007FF9B50515D9, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x515D9 byte(s), _PyArg_CheckPositional() + 0x1089 byte(s)
0x00007FF9B5266CA1, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x266CA1 byte(s), _PyContext_NewHamtForTests() + 0x51 byte(s)
0x00007FF9B5266FB0, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x266FB0 byte(s), _PyContext_NewHamtForTests() + 0x360 byte(s)
0x00007FF9B503984E, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x3984E byte(s), PySet_Add() + 0x60E byte(s)
0x00007FF9B50CEC75, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC75 byte(s), PyObject_Call() + 0x125 byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B50509F0, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x509F0 byte(s), _PyArg_CheckPositional() + 0x4A0 byte(s)
0x00007FF9B50CEC75, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC75 byte(s), PyObject_Call() + 0x125 byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B5013034, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x13034 byte(s), _PyThreadState_Bind() + 0x11C byte(s)
0x00007FF9B501259A, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x1259A byte(s), PyThreadState_Clear() + 0x20A byte(s)
0x00007FFA251B37B0, C:\WINDOWS\System32\ucrtbase.dll(0x00007FFA251B0000) + 0x37B0 byte(s), wcsrchr() + 0x150 byte(s)
0x00007FFA2709E8D7, C:\WINDOWS\System32\KERNEL32.DLL(0x00007FFA27070000) + 0x2E8D7 byte(s), BaseThreadInitThunk() + 0x17 byte(s)
0x00007FFA27D9C34C, C:\WINDOWS\SYSTEM32\ntdll.dll(0x00007FFA27D60000) + 0x3C34C byte(s), RtlUserThreadStart() + 0x2C byte(s)
Pressione qualquer tecla para continuar. . .
Steps to Reproduce
stop crashing dude.json
Debug Logs
::: [comfyui-rocm] starting with these parameters :::
[ --disable-smart-memory --disable-pinned-memory --use-sage-attention --preview-method latent2rgb --cache-classic --disable-all-custom-nodes ]
[INFO] setup plugin alembic.autogenerate.schemas
[INFO] setup plugin alembic.autogenerate.tables
[INFO] setup plugin alembic.autogenerate.types
[INFO] setup plugin alembic.autogenerate.constraints
[INFO] setup plugin alembic.autogenerate.defaults
[INFO] setup plugin alembic.autogenerate.comments
[INFO] Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope_split_half', 'apply_rope_split_half1', 'dequantize_int8_convrot_weight', 'dequantize_int8_convrot_weight_dtype', 'dequantize_int8_simple', 'dequantize_int8_simple_dtype', 'dequantize_mxfp8', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'gemv_awq_w4a16', 'int8_linear', 'quantize_and_rotate_rowwise', 'quantize_int8_convrot_weight', 'quantize_int8_rowwise', 'quantize_int8_tensorwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'quantize_svdquant_w4a4', 'scaled_mm_mxfp8', 'scaled_mm_nvfp4', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8']}
[INFO] Found comfy_kitchen backend triton: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope_split_half', 'apply_rope_split_half1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'int8_linear', 'quantize_and_rotate_rowwise', 'quantize_int8_rowwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8']}
[INFO] Found comfy_kitchen backend cuda: {'available': True, 'disabled': True, 'unavailable_reason': None, 'capabilities': ['adaln', 'apply_rope', 'apply_rope1', 'apply_rope_split_half', 'apply_rope_split_half1', 'dequantize_int8_convrot_weight', 'dequantize_int8_convrot_weight_dtype', 'dequantize_int8_simple', 'dequantize_int8_simple_dtype', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'gemv_awq_w4a16', 'quantize_and_rotate_rowwise', 'quantize_int8_convrot_weight', 'quantize_int8_rowwise', 'quantize_int8_tensorwise', 'quantize_mxfp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'quantize_svdquant_w4a4', 'scaled_mm_svdquant_w4a4', 'stochastic_rounding_fp8']}
[INFO] Checkpoint files will always be loaded safely.
[INFO] Total VRAM 8176 MB, total RAM 16244 MB
[INFO] pytorch version: 2.12.0+rocm7.15.0a20260707
[INFO] Set: torch.backends.cudnn.enabled = False for better AMD performance.
[INFO] AMD arch: gfx1102
[INFO] ROCm version: (7, 15)
[INFO] Set vram state to: NORMAL_VRAM
[INFO] Disabling smart memory management
[INFO] Device: cuda:0 AMD Radeon RX 7600 : native
[INFO] Using async weight offloading with 2 streams
[aiter] Windows: CK and HIP ops are not available. Triton ops only.
[INFO] Using sage attention
[INFO] Python version: 3.12.9 (tags/v3.12.9:fdb8142, Feb 4 2025, 15:27:58) [MSC v.1942 64 bit (AMD64)]
[INFO] ComfyUI version: 0.27.0
[INFO] comfy-aimdo version: 0.4.10
[INFO] comfy-kitchen version: 0.2.16
[INFO] comfyui-frontend-package version: 1.45.20
[INFO] comfyui-workflow-templates version: 0.11.6
[INFO] comfyui-embedded-docs version: 0.5.7
[INFO] comfy-kitchen version: 0.2.16
[INFO] comfy-aimdo version: 0.4.10
[INFO] [Prompt Server] web root: C:\comfyui-rocm-062526\python_env\Lib\site-packages\comfyui_frontend_package\static
[INFO] Asset seeder disabled
[INFO] No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
[INFO] Skipping loading of custom nodes
[INFO] Context impl SQLiteImpl.
[INFO] Will assume non-transactional DDL.
[INFO] Starting server
[INFO] To see the GUI go to: http://127.0.0.1:8188
[INFO] got prompt
[INFO] Using split attention in VAE
[INFO] Using split attention in VAE
[INFO] VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
[INFO] Found quantization metadata version 1
[INFO] Using MixedPrecisionOps for text encoder
[INFO] CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
[INFO] Requested to load Qwen3VLTEModel_
[INFO] loaded completely; 6612.93 MB usable, 4999.47 MB loaded, full load: True
Windows fatal exception: access violation
Stack (most recent call first):
File "C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\storage.py", line 471 in __getitem__
File "C:\comfyui-rocm-062526\comfy\utils.py", line 136 in load_torch_file
File "C:\comfyui-rocm-062526\comfy\sd.py", line 2062 in load_diffusion_model
File "C:\comfyui-rocm-062526\nodes.py", line 988 in load_unet
File "C:\comfyui-rocm-062526\execution.py", line 303 in process_inputs
File "C:\comfyui-rocm-062526\execution.py", line 315 in _async_map_node_over_list
File "C:\comfyui-rocm-062526\execution.py", line 341 in get_output_data
File "C:\comfyui-rocm-062526\execution.py", line 542 in execute
File "C:\comfyui-rocm-062526\execution.py", line 784 in execute_async
File "asyncio\events.py", line 88 in _run
File "asyncio\base_events.py", line 1999 in _run_once
File "asyncio\base_events.py", line 645 in run_forever
File "asyncio\windows_events.py", line 322 in run_forever
File "asyncio\base_events.py", line 678 in run_until_complete
File "asyncio\runners.py", line 118 in run
File "asyncio\runners.py", line 195 in run
File "C:\comfyui-rocm-062526\execution.py", line 724 in execute
File "C:\comfyui-rocm-062526\main.py", line 359 in prompt_worker
File "threading.py", line 1012 in run
File "threading.py", line 1075 in _bootstrap_inner
File "threading.py", line 1032 in _bootstrap
Exception Code: 0xC0000005
0x00007FF9062F9161, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x899161 byte(s), ?_local_scalar_dense_cpu@native@at@@YA?AVScalar@c10@@AEBVTensor@2@@Z() + 0xF1 byte(s)
0x00007FF906FAA4A2, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x154A4A2 byte(s), ?call@_local_scalar_dense@_ops@at@@SA?AVScalar@c10@@AEBVTensor@3@@Z() + 0xD2 byte(s)
0x00007FF9062F8B52, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x898B52 byte(s), ?item@native@at@@YA?AVScalar@c10@@AEBVTensor@2@@Z() + 0x122 byte(s)
0x00007FF906C85EA2, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x1225EA2 byte(s), ?call@item@_ops@at@@SA?AVScalar@c10@@AEBVTensor@3@@Z() + 0xD2 byte(s)
0x00007FF908194163, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x2734163 byte(s), ??$item@E@Tensor@at@@QEBAEXZ() + 0x23 byte(s)
0x00007FF8F130B423, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC0B423 byte(s), ??4?$THPPointer@UTHPGenerator@@@@QEAAAEAV0@$$QEAV0@@Z() + 0x633 byte(s)
0x00007FF8F0C8548A, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0x58548A byte(s), ?THPStorage_assertNotNull@@YAXPEAU_object@@@Z() + 0xACA byte(s)
0x00007FF9B50ABDF2, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xABDF2 byte(s), PyOS_strtoul() + 0x3BA byte(s)
0x00007FF9B50AB1B8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xAB1B8 byte(s), PyNumber_Float() + 0x5A8 byte(s)
0x00007FF9B50CEC06, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC06 byte(s), PyObject_Call() + 0xB6 byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B50CD4AE, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCD4AE byte(s), _PyUnicode_FormatAdvancedWriter() + 0x14A byte(s)
0x00007FF9B50CD2F8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCD2F8 byte(s), PySequence_GetItem() + 0x44 byte(s)
0x00007FF8F137E2A3, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC7E2A3 byte(s), ?legacy_tensor_ctor@utils@torch@@YA?AVTensor@at@@W4DispatchKey@c10@@W4ScalarType@6@PEAU_object@@2@Z() + 0xFE3 byte(s)
0x00007FF8F138444C, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC8444C byte(s), ?legacy_tensor_ctor@utils@torch@@YA?AVTensor@at@@W4DispatchKey@c10@@W4ScalarType@6@PEAU_object@@2@Z() + 0x718C byte(s)
0x00007FF8F0D4F0A4, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0x64F0A4 byte(s), ?THPCppFunction_Check@autograd@torch@@YA_NPEAU_object@@@Z() + 0x21A44 byte(s)
0x00007FF9B50272F8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x272F8 byte(s), PyUnicode_DecodeUTF7Stateful() + 0x6D4 byte(s)
0x00007FF9B50CEC06, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC06 byte(s), PyObject_Call() + 0xB6 byte(s)
0x00007FF9C282FC51, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors\_safetensors_rust.pyd(0x00007FF9C2810000) + 0x1FC51 byte(s)
0x00007FF9C2822EA7, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors\_safetensors_rust.pyd(0x00007FF9C2810000) + 0x12EA7 byte(s)
0x00007FF9C282A9AA, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors\_safetensors_rust.pyd(0x00007FF9C2810000) + 0x1A9AA byte(s)
0x00007FF9C2832F52, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors\_safetensors_rust.pyd(0x00007FF9C2810000) + 0x22F52 byte(s)
0x00007FF9C2833354, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors\_safetensors_rust.pyd(0x00007FF9C2810000) + 0x23354 byte(s)
0x00007FF9B5059CEB, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x59CEB byte(s), _PyEval_EvalFrameDefault() + 0x2D0B byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B505099C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5099C byte(s), _PyArg_CheckPositional() + 0x44C byte(s)
0x00007FF9B50CECCB, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCECCB byte(s), PyObject_Call() + 0x17B byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B50CA6B6, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCA6B6 byte(s), PyObject_GetAttrString() + 0xB2A byte(s)
0x00007FF9B5242C85, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x242C85 byte(s), PyGen_NewWithQualName() + 0x29 byte(s)
0x00007FF9B52395A9, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x2395A9 byte(s), PyIter_Send() + 0x35 byte(s)
0x00007FFA06817334, C:\comfyui-rocm-062526\python_env\_asyncio.pyd(0x00007FFA06810000) + 0x7334 byte(s), PyInit__asyncio() + 0x5AE4 byte(s)
0x00007FFA06816C7E, C:\comfyui-rocm-062526\python_env\_asyncio.pyd(0x00007FFA06810000) + 0x6C7E byte(s), PyInit__asyncio() + 0x542E byte(s)
0x00007FFA06817574, C:\comfyui-rocm-062526\python_env\_asyncio.pyd(0x00007FFA06810000) + 0x7574 byte(s), PyInit__asyncio() + 0x5D24 byte(s)
0x00007FF9B50515D9, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x515D9 byte(s), _PyArg_CheckPositional() + 0x1089 byte(s)
0x00007FF9B5266CA1, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x266CA1 byte(s), _PyContext_NewHamtForTests() + 0x51 byte(s)
0x00007FF9B5266FB0, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x266FB0 byte(s), _PyContext_NewHamtForTests() + 0x360 byte(s)
0x00007FF9B503984E, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x3984E byte(s), PySet_Add() + 0x60E byte(s)
0x00007FF9B50CEC75, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC75 byte(s), PyObject_Call() + 0x125 byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B50509F0, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x509F0 byte(s), _PyArg_CheckPositional() + 0x4A0 byte(s)
0x00007FF9B50CEC75, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC75 byte(s), PyObject_Call() + 0x125 byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B5013034, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x13034 byte(s), _PyThreadState_Bind() + 0x11C byte(s)
0x00007FF9B501259A, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x1259A byte(s), PyThreadState_Clear() + 0x20A byte(s)
0x00007FFA251B37B0, C:\WINDOWS\System32\ucrtbase.dll(0x00007FFA251B0000) + 0x37B0 byte(s), wcsrchr() + 0x150 byte(s)
0x00007FFA2709E8D7, C:\WINDOWS\System32\KERNEL32.DLL(0x00007FFA27070000) + 0x2E8D7 byte(s), BaseThreadInitThunk() + 0x17 byte(s)
0x00007FFA27D9C34C, C:\WINDOWS\SYSTEM32\ntdll.dll(0x00007FFA27D60000) + 0x3C34C byte(s), RtlUserThreadStart() + 0x2C byte(s)
Pressione qualquer tecla para continuar. . .
Other
comfyui-user.bat i used, no custom nodes.
@echo off
setlocal enabledelayedexpansion
title [comfyui-rocm]
:: paths
set "PYTHON_DIR=%~dp0python_env"
set "PATH=%PYTHON_DIR%;%PYTHON_DIR%\Scripts;%PATH%"
.\python_env\scripts\rocm-sdk init >nul 2>&1
if errorlevel 1 (
echo [!] Warning: rocm-sdk init failed. ROCm may not be set up correctly.
)
for /f "delims=" %%i in ('rocm-sdk path --root') do set "HIP_PATH=%%i"
set "ROCM_PATH=%HIP_PATH%"
:: ------------------- detect GPU architecture for conditional settings ---------------- ::
set "GPU_ARCH="
for /f "delims=" %%A in ('.\python_env\python.exe detect_gpu.py 2^>nul') do set "GPU_ARCH=%%A"
set "IS_LEGACY_GPU=0"
if /I "!GPU_ARCH!"=="gfx101X" set "IS_LEGACY_GPU=1"
if /I "!GPU_ARCH!"=="gfx103X" set "IS_LEGACY_GPU=1"
:: disable Flash and MemEff SDP backends on RDNA1/2 only
if "!IS_LEGACY_GPU!"=="1" (
set TORCH_BACKENDS_CUDA_FLASH_SDP_ENABLED=0
set TORCH_BACKENDS_CUDA_MEM_EFF_SDP_ENABLED=0
set TORCH_BACKENDS_CUDA_MATH_SDP_ENABLED=1
) else (
set TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1
)
:: ------------------------------------------------------------------------------------- ::
:: ------------------------- cache and database paths (relative) ------------------------::
set "PYTORCH_TUNABLEOP_CACHE_DIR=%~dp0tunableop-cache"
set "TRITON_CACHE_DIR=%~dp0triton-cache"
:: if you already have a previous triton cache you can define it here so you won't have to rebuild it.
if not exist "%TRITON_CACHE_DIR%" (
mkdir "%TRITON_CACHE_DIR%"
)
if not exist "%PYTORCH_TUNABLEOP_CACHE_DIR%" (
mkdir "%PYTORCH_TUNABLEOP_CACHE_DIR%"
)
:: Skip MIOpen and ROCBlas paths for gfx1100 (RDNA3) - not present atm
if /I NOT "!GPU_ARCH!"=="gfx1100" (
set "MIOPEN_SYSTEM_DB_PATH=%~dp0python_env\Lib\site-packages_rocm_sdk_devel\bin"
set "ROCBLAS_TENSILE_DB_PATH=%~dp0python_env\Lib\site-packages_rocm_sdk_devel\bin\rocblas"
set "ROCBLAS_TENSILE_LIBPATH=%~dp0python_env\Lib\site-packages_rocm_sdk_devel\bin\rocblas\library"
)
:: ------------------------------------------------------------------------------------- ::
:: ------------------- CHANGE THESE IF YOU KNOW WHAT YOU ARE DOING --------------------- ::
:: ---------------------- advanced settings (miopen , triton etc.) --------------------- ::
set COMFYUI_ENABLE_MIOPEN=0
set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
set MIOPEN_FIND_ENFORCE=1
set MIOPEN_FIND_MODE=2
set MIOPEN_DEBUG_DISABLE_FIND_DB=0
set MIOPEN_SEARCH_CUTOFF=1
set MIOPEN_ENABLE_LOGGING=0
set MIOPEN_LOG_LEVEL=0
set MIOPEN_ENABLE_LOGGING_CMD=0
set TRITON_PRINT_AUTOTUNING=0
set TRITON_CACHE_AUTOTUNING=0
:: ----------------ROCm/HIP Memry Management
::set HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=1
::set HSA_ENABLE_SDMA=1
::set HIP_FORCE_DEV_KERNARG=1
:: PyTorch Allocator - use new variable name (PYTORCH_HIP_ALLOC_CONF is deprecated)
::set PYTORCH_ALLOC_CONF=expandable_segments:True
:: VRAM Limiting (tuned for 8GB)
::set HIP_HIDDEN_FREE_MEM=2048
::set GPU_SINGLE_ALLOC_PERCENT=70
:: ------------------------------------------------------------------------------------- ::
:: ------------------- CHANGE THESE IF YOU KNOW WHAT YOU ARE DOING --------------------- ::
:: ----------------- comfyui-rocm STARTUP OPTIONS : modify to your needs --------------- ::
set PARAMS=--disable-smart-memory --disable-pinned-memory --use-sage-attention --preview-method latent2rgb --cache-classic --disable-all-custom-nodes
:: --cache-none --disable-smart-memory --disable-pinned-memory --cache-classic
:: quad-cross is better for older generation (you can use --use-sage-attention too)
if "!IS_LEGACY_GPU!"=="1" set "PARAMS=%PARAMS% --use-quad-cross-attention"
:: ------------------------------------------------------------------------------------- ::
echo ::: [comfyui-rocm] starting with these parameters :::
echo [ !PARAMS! ]
echo.
python_env\python.exe main.py %PARAMS%
pause
Custom Node Testing
Expected Behavior
It was loading just fine some days ago, i will say patientx/ComfyUI-INT8-Fast-ROCM has never worked for me, it always crashed, maybe the same crash as this one?Idk. But fp8 loaded just fine and when int8 was officially implemented it also worked for me, but then one day i woke up and it stopped working. I'm not sure if fp8 was still working, but it's not right now. Only nvfp4 works.
I've deleted my comfyui and reinstalled multiple times. No avail.
Actual Behavior
Crashes when it tries to load, int8convrot = crash, fp8_scaled = crash, nvfp4 = works.
Windows fatal exception: access violation
Stack (most recent call first):
File "C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\storage.py", line 471 in getitem
File "C:\comfyui-rocm-062526\comfy\utils.py", line 136 in load_torch_file
File "C:\comfyui-rocm-062526\comfy\sd.py", line 2062 in load_diffusion_model
File "C:\comfyui-rocm-062526\nodes.py", line 988 in load_unet
File "C:\comfyui-rocm-062526\execution.py", line 303 in process_inputs
File "C:\comfyui-rocm-062526\execution.py", line 315 in _async_map_node_over_list
File "C:\comfyui-rocm-062526\execution.py", line 341 in get_output_data
File "C:\comfyui-rocm-062526\execution.py", line 542 in execute
File "C:\comfyui-rocm-062526\execution.py", line 784 in execute_async
File "asyncio\events.py", line 88 in _run
File "asyncio\base_events.py", line 1999 in _run_once
File "asyncio\base_events.py", line 645 in run_forever
File "asyncio\windows_events.py", line 322 in run_forever
File "asyncio\base_events.py", line 678 in run_until_complete
File "asyncio\runners.py", line 118 in run
File "asyncio\runners.py", line 195 in run
File "C:\comfyui-rocm-062526\execution.py", line 724 in execute
File "C:\comfyui-rocm-062526\main.py", line 359 in prompt_worker
File "threading.py", line 1012 in run
File "threading.py", line 1075 in _bootstrap_inner
File "threading.py", line 1032 in _bootstrap
Exception Code: 0xC0000005
0x00007FF9062F9161, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x899161 byte(s), ?_local_scalar_dense_cpu@native@at@@ya?AVScalar@c10@@AEBVTensor@2@@z() + 0xF1 byte(s)
0x00007FF906FAA4A2, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x154A4A2 byte(s), ?call@_local_scalar_dense@_ops@at@@sa?AVScalar@c10@@AEBVTensor@3@@z() + 0xD2 byte(s)
0x00007FF9062F8B52, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x898B52 byte(s), ?item@native@at@@ya?AVScalar@c10@@AEBVTensor@2@@z() + 0x122 byte(s)
0x00007FF906C85EA2, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x1225EA2 byte(s), ?call@item@_ops@at@@sa?AVScalar@c10@@AEBVTensor@3@@z() + 0xD2 byte(s)
0x00007FF908194163, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_cpu.dll(0x00007FF905A60000) + 0x2734163 byte(s), ??$item@E@Tensor@at@@QEBAEXZ() + 0x23 byte(s)
0x00007FF8F130B423, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC0B423 byte(s), ??4?$THPPointer@UTHPGenerator@@@@QEAAAEAV0@$$QEAV0@@z() + 0x633 byte(s)
0x00007FF8F0C8548A, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0x58548A byte(s), ?THPStorage_assertNotNull@@YAXPEAU_object@@@z() + 0xACA byte(s)
0x00007FF9B50ABDF2, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xABDF2 byte(s), PyOS_strtoul() + 0x3BA byte(s)
0x00007FF9B50AB1B8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xAB1B8 byte(s), PyNumber_Float() + 0x5A8 byte(s)
0x00007FF9B50CEC06, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC06 byte(s), PyObject_Call() + 0xB6 byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B50CD4AE, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCD4AE byte(s), _PyUnicode_FormatAdvancedWriter() + 0x14A byte(s)
0x00007FF9B50CD2F8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCD2F8 byte(s), PySequence_GetItem() + 0x44 byte(s)
0x00007FF8F137E2A3, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC7E2A3 byte(s), ?legacy_tensor_ctor@utils@torch@@ya?AVTensor@at@@W4DispatchKey@c10@@W4ScalarType@6@PEAU_object@@2@Z() + 0xFE3 byte(s)
0x00007FF8F138444C, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0xC8444C byte(s), ?legacy_tensor_ctor@utils@torch@@ya?AVTensor@at@@W4DispatchKey@c10@@W4ScalarType@6@PEAU_object@@2@Z() + 0x718C byte(s)
0x00007FF8F0D4F0A4, C:\comfyui-rocm-062526\python_env\Lib\site-packages\torch\lib\torch_python.dll(0x00007FF8F0700000) + 0x64F0A4 byte(s), ?THPCppFunction_Check@autograd@torch@@YA_NPEAU_object@@@z() + 0x21A44 byte(s)
0x00007FF9B50272F8, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x272F8 byte(s), PyUnicode_DecodeUTF7Stateful() + 0x6D4 byte(s)
0x00007FF9B50CEC06, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC06 byte(s), PyObject_Call() + 0xB6 byte(s)
0x00007FF9C282FC51, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x1FC51 byte(s)
0x00007FF9C2822EA7, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x12EA7 byte(s)
0x00007FF9C282A9AA, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x1A9AA byte(s)
0x00007FF9C2832F52, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x22F52 byte(s)
0x00007FF9C2833354, C:\comfyui-rocm-062526\python_env\Lib\site-packages\safetensors_safetensors_rust.pyd(0x00007FF9C2810000) + 0x23354 byte(s)
0x00007FF9B5059CEB, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x59CEB byte(s), _PyEval_EvalFrameDefault() + 0x2D0B byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B505099C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5099C byte(s), _PyArg_CheckPositional() + 0x44C byte(s)
0x00007FF9B50CECCB, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCECCB byte(s), PyObject_Call() + 0x17B byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B50CA6B6, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCA6B6 byte(s), PyObject_GetAttrString() + 0xB2A byte(s)
0x00007FF9B5242C85, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x242C85 byte(s), PyGen_NewWithQualName() + 0x29 byte(s)
0x00007FF9B52395A9, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x2395A9 byte(s), PyIter_Send() + 0x35 byte(s)
0x00007FFA06817334, C:\comfyui-rocm-062526\python_env_asyncio.pyd(0x00007FFA06810000) + 0x7334 byte(s), PyInit__asyncio() + 0x5AE4 byte(s)
0x00007FFA06816C7E, C:\comfyui-rocm-062526\python_env_asyncio.pyd(0x00007FFA06810000) + 0x6C7E byte(s), PyInit__asyncio() + 0x542E byte(s)
0x00007FFA06817574, C:\comfyui-rocm-062526\python_env_asyncio.pyd(0x00007FFA06810000) + 0x7574 byte(s), PyInit__asyncio() + 0x5D24 byte(s)
0x00007FF9B50515D9, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x515D9 byte(s), _PyArg_CheckPositional() + 0x1089 byte(s)
0x00007FF9B5266CA1, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x266CA1 byte(s), _PyContext_NewHamtForTests() + 0x51 byte(s)
0x00007FF9B5266FB0, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x266FB0 byte(s), _PyContext_NewHamtForTests() + 0x360 byte(s)
0x00007FF9B503984E, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x3984E byte(s), PySet_Add() + 0x60E byte(s)
0x00007FF9B50CEC75, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC75 byte(s), PyObject_Call() + 0x125 byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B505B20D, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x5B20D byte(s), _PyEval_EvalFrameDefault() + 0x422D byte(s)
0x00007FF9B5055A2C, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x55A2C byte(s), _PyFunction_Vectorcall() + 0x17C byte(s)
0x00007FF9B50509F0, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x509F0 byte(s), _PyArg_CheckPositional() + 0x4A0 byte(s)
0x00007FF9B50CEC75, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEC75 byte(s), PyObject_Call() + 0x125 byte(s)
0x00007FF9B50CEBBF, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0xCEBBF byte(s), PyObject_Call() + 0x6F byte(s)
0x00007FF9B5013034, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x13034 byte(s), _PyThreadState_Bind() + 0x11C byte(s)
0x00007FF9B501259A, C:\comfyui-rocm-062526\python_env\python312.dll(0x00007FF9B5000000) + 0x1259A byte(s), PyThreadState_Clear() + 0x20A byte(s)
0x00007FFA251B37B0, C:\WINDOWS\System32\ucrtbase.dll(0x00007FFA251B0000) + 0x37B0 byte(s), wcsrchr() + 0x150 byte(s)
0x00007FFA2709E8D7, C:\WINDOWS\System32\KERNEL32.DLL(0x00007FFA27070000) + 0x2E8D7 byte(s), BaseThreadInitThunk() + 0x17 byte(s)
0x00007FFA27D9C34C, C:\WINDOWS\SYSTEM32\ntdll.dll(0x00007FFA27D60000) + 0x3C34C byte(s), RtlUserThreadStart() + 0x2C byte(s)
Pressione qualquer tecla para continuar. . .
Steps to Reproduce
stop crashing dude.json
Debug Logs
Other
comfyui-user.bat i used, no custom nodes.
@echo off
setlocal enabledelayedexpansion
title [comfyui-rocm]
:: paths
set "PYTHON_DIR=%~dp0python_env"
set "PATH=%PYTHON_DIR%;%PYTHON_DIR%\Scripts;%PATH%"
.\python_env\scripts\rocm-sdk init >nul 2>&1
if errorlevel 1 (
echo [!] Warning: rocm-sdk init failed. ROCm may not be set up correctly.
)
for /f "delims=" %%i in ('rocm-sdk path --root') do set "HIP_PATH=%%i"
set "ROCM_PATH=%HIP_PATH%"
:: ------------------- detect GPU architecture for conditional settings ---------------- ::
set "GPU_ARCH="
for /f "delims=" %%A in ('.\python_env\python.exe detect_gpu.py 2^>nul') do set "GPU_ARCH=%%A"
set "IS_LEGACY_GPU=0"
if /I "!GPU_ARCH!"=="gfx101X" set "IS_LEGACY_GPU=1"
if /I "!GPU_ARCH!"=="gfx103X" set "IS_LEGACY_GPU=1"
:: disable Flash and MemEff SDP backends on RDNA1/2 only
if "!IS_LEGACY_GPU!"=="1" (
set TORCH_BACKENDS_CUDA_FLASH_SDP_ENABLED=0
set TORCH_BACKENDS_CUDA_MEM_EFF_SDP_ENABLED=0
set TORCH_BACKENDS_CUDA_MATH_SDP_ENABLED=1
) else (
set TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1
)
:: ------------------------------------------------------------------------------------- ::
:: ------------------------- cache and database paths (relative) ------------------------::
set "PYTORCH_TUNABLEOP_CACHE_DIR=%~dp0tunableop-cache"
set "TRITON_CACHE_DIR=%~dp0triton-cache"
:: if you already have a previous triton cache you can define it here so you won't have to rebuild it.
if not exist "%TRITON_CACHE_DIR%" (
mkdir "%TRITON_CACHE_DIR%"
)
if not exist "%PYTORCH_TUNABLEOP_CACHE_DIR%" (
mkdir "%PYTORCH_TUNABLEOP_CACHE_DIR%"
)
:: Skip MIOpen and ROCBlas paths for gfx1100 (RDNA3) - not present atm
if /I NOT "!GPU_ARCH!"=="gfx1100" (
set "MIOPEN_SYSTEM_DB_PATH=%~dp0python_env\Lib\site-packages_rocm_sdk_devel\bin"
set "ROCBLAS_TENSILE_DB_PATH=%~dp0python_env\Lib\site-packages_rocm_sdk_devel\bin\rocblas"
set "ROCBLAS_TENSILE_LIBPATH=%~dp0python_env\Lib\site-packages_rocm_sdk_devel\bin\rocblas\library"
)
:: ------------------------------------------------------------------------------------- ::
:: ------------------- CHANGE THESE IF YOU KNOW WHAT YOU ARE DOING --------------------- ::
:: ---------------------- advanced settings (miopen , triton etc.) --------------------- ::
set COMFYUI_ENABLE_MIOPEN=0
set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
set MIOPEN_FIND_ENFORCE=1
set MIOPEN_FIND_MODE=2
set MIOPEN_DEBUG_DISABLE_FIND_DB=0
set MIOPEN_SEARCH_CUTOFF=1
set MIOPEN_ENABLE_LOGGING=0
set MIOPEN_LOG_LEVEL=0
set MIOPEN_ENABLE_LOGGING_CMD=0
set TRITON_PRINT_AUTOTUNING=0
set TRITON_CACHE_AUTOTUNING=0
:: ----------------ROCm/HIP Memry Management
::set HSA_ENABLE_SCRATCH_ASYNC_RECLAIM=1
::set HSA_ENABLE_SDMA=1
::set HIP_FORCE_DEV_KERNARG=1
:: PyTorch Allocator - use new variable name (PYTORCH_HIP_ALLOC_CONF is deprecated)
::set PYTORCH_ALLOC_CONF=expandable_segments:True
:: VRAM Limiting (tuned for 8GB)
::set HIP_HIDDEN_FREE_MEM=2048
::set GPU_SINGLE_ALLOC_PERCENT=70
:: ------------------------------------------------------------------------------------- ::
:: ------------------- CHANGE THESE IF YOU KNOW WHAT YOU ARE DOING --------------------- ::
:: ----------------- comfyui-rocm STARTUP OPTIONS : modify to your needs --------------- ::
set PARAMS=--disable-smart-memory --disable-pinned-memory --use-sage-attention --preview-method latent2rgb --cache-classic --disable-all-custom-nodes
:: --cache-none --disable-smart-memory --disable-pinned-memory --cache-classic
:: quad-cross is better for older generation (you can use --use-sage-attention too)
if "!IS_LEGACY_GPU!"=="1" set "PARAMS=%PARAMS% --use-quad-cross-attention"
:: ------------------------------------------------------------------------------------- ::
echo ::: [comfyui-rocm] starting with these parameters :::
echo [ !PARAMS! ]
echo.
python_env\python.exe main.py %PARAMS%
pause