Comfy-Org / Comfy-Org/ComfyUI

ComfyUI | fatal error | crashes completely when the sampler starts working

Open
#3,242 5 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

Hey creative diffusers community,

since ~2 weeks, I'm getting a fatal error, which shuts down Comfy completly.
Smaller workflows seem to work until they get to big.
Once my workflow just worked fine UNTIL I added a third ControlNet.
I found a couple of people, which get the same error but couldn't figure out similarities yet.

When I used ComfyUI inside of StabilityMatrix, I got this error line:

`Process finished with exit code -1073740791`

I hoped to get rid of the problem, using the normal version _(not the portable one)_ but here I get this error line(s):

``C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\cuda\IndexKernel.cu:92: block: [273,0,0], thread: [1,0,0] Assertion `-sizes[i] <= index && index < sizes[i] && "index out of bounds"` failed.``

**For trying out, here is my _[Workflow](https://drive.google.com/file/d/1JS7R_ytWNvtIFGergJnzZ6zO3PBd9vPv/view?usp=sharing)_.**

**system information:**
- Windows 11
- Nvidia RTX 3090 TI
- AMD Ryzen 9 5900X
- 64GB RAM

![image](https://github.com/comfyanonymous/ComfyUI/assets/137957402/bbef17c3-87ff-41f2-9c50-19320283865b)

![image](https://github.com/comfyanonymous/ComfyUI/assets/137957402/924a350b-c431-4a8c-8bd8-7e7b39e1dd28)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.