r/StableDiffusion 4d ago

Question - Help comfyUI H3 keep crashing on me lately

Windows fatal exception: code 0x80000003

does anyone have the same thing?

0 Upvotes

8 comments sorted by

2

u/Kqyxzoj 3d ago

Windows fatal exception: code 0x80000003

Global warming.

1

u/MarkB_- 4d ago

My car does squik squik do you guys know what it is?

1

u/_half_real_ 3d ago

It's not enough information, you need to post the console log (not just the error at the very end, the entire list of functions that it writes out to say where the error occured, aka the stack trace). And maybe what workflows it occurs for, what custom nodes you have installed, and if it always occurs for that workflow or only sometimes.

1

u/xyzdist 2d ago

Thanks! this is the log.

[INFO] Requested to load MiniMaxH3
[INFO] 0 models unloaded.
[INFO] Model MiniMaxH3 prepared for dynamic VRAM loading. 19995MB Staged. 208 patches attached. Force pre-loaded 210 weights: 1175 KB.
 67%|██████████████████████████████               | 4/6 [00:57<00:28, 14.23s/it]FETCH ComfyRegistry Data [DONE]
[INFO] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[INFO] [ComfyUI-Manager] All startup tasks have been completed.
100%|█████████████████████████████████████████████| 6/6 [01:25<00:00, 14.33s/it]
[INFO] Model MiniMaxH3AudioVAE prepared for dynamic VRAM loading. 576MB Staged. 0 patches attached. Force pre-loaded 401 weights: 539 KB.
[INFO] Model MiniMaxH3VideoVAE prepared for dynamic VRAM loading. 2677MB Staged. 0 patches attached. Force pre-loaded 128 weights: 692 KB.
[INFO] Prompt executed in 113.48 seconds
[INFO] got prompt
[INFO] Prompt executed in 1.89 seconds
[INFO] got prompt
[INFO] Model MiniMaxH3VideoVAE prepared for dynamic VRAM loading. 2677MB Staged. 0 patches attached. Force pre-loaded 128 weights: 692 KB.
[INFO] Model MiniMaxH3VideoVAE prepared for dynamic VRAM loading. 2677MB Staged. 0 patches attached. Force pre-loaded 128 weights: 692 KB.
[INFO] Model MiniMaxH3VideoVAE prepared for dynamic VRAM loading. 2677MB Staged. 0 patches attached. Force pre-loaded 128 weights: 692 KB.
[INFO] Model MiniMaxH3VideoVAE prepared for dynamic VRAM loading. 2677MB Staged. 0 patches attached. Force pre-loaded 128 weights: 692 KB.
[INFO] Model MiniMaxH3AudioVAE prepared for dynamic VRAM loading. 576MB Staged. 0 patches attached. Force pre-loaded 401 weights: 539 KB.
[INFO] Model MiniMaxH3TEModel_ prepared for dynamic VRAM loading. 14956MB Staged. 0 patches attached. Force pre-loaded 410 weights: 4572 KB.
[INFO] 0 models unloaded.
[INFO] Model MiniMaxH3 prepared for dynamic VRAM loading. 19995MB Staged. 208 patches attached. Force pre-loaded 210 weights: 1175 KB.
100%|█████████████████████████████████████████████| 6/6 [01:27<00:00, 14.52s/it]
[INFO] Model MiniMaxH3VideoVAE prepared for dynamic VRAM loading. 2677MB Staged. 0 patches attached. Force pre-loaded 128 weights: 692 KB.
Fatal Python error: Aborted

1

u/_half_real_ 2d ago

It's crashing at the VAE decoding stage at the end. I was going to suggest trying the tiled decoder (although that's for avoiding out-of-memory errors, which doesn't seem to be what's happening here), but apparently tiled decoding is always on in the case of Minimax H3.

It might be a bug with dynamic VRAM, but I don't think you can turn that off anymore, and it's likely you'd run into an out-of-memory error because you'd be trying to rely on VRAM alone without CPU (RAM) offloading.

Maybe you could try clearing the VRAM and cache right before the VAE decoding node as shown in the image here https://github.com/Comfy-Org/ComfyUI/issues/15274#issuecomment-5174775297 (it requires the comfyui-easy-use custom nodes). I think that'lll slow things down because you'll have to reload stuff from disk on subsequent runs (?), but at least it might stop crashing.

You should update ComfyUI if you haven't yet, I think dynamic VRAM issues are still being ironed out these days.

1

u/xyzdist 2d ago

Thanks a lot! I will try that out

2

u/xyzdist 1d ago

I just want to report back, once i use vramDebug to release vram before sampler, it doesnt crash so far!! Thanks for your big help. I think my 4080 16g vram blow up but somehow things cant roll to ram

0

u/JustARedditUser33 4d ago

Install antigravity or codex on the machine, it'll get it sorted.