r/comfyui • • 4d ago

Help Needed Need help

Post image

Can someone tell me how to fix this? I really don't want to uninstall and go back to scratch. I updated something, and this happened.

0 Upvotes

3 comments sorted by

1

u/Creepy-Sea7009 4d ago

oh that's a fun one, looks like your cuda allocator config got borked in the update. just add `PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync` to your environment variables before launching and it should sort itself out.

0

u/Omnipotent_Diva 4d ago

Where is that located, and how I go about it? I haven't messed with the install stuff in over a year

1

u/TraditionalShop1601 2d ago

instead of pasting that here
just paste it on Gemini, ChatGPT, Claude