System:
Windows 11
RTX 3070 Ti Laptop GPU (8GB)
ComfyUI 0.17.2 rev 4905
Torch 2.9.1+cu130
Behaviour:
First generation after launch is corrupted
Second generation with identical settings is clean
Testing:
--cuda-malloc alone: does not fix
--disable-cuda-malloc alone: does not fix
--cuda-malloc --disable-cuda-malloc together: fixes the issue consistently
Important:
Order appears relevant
Working launch command:
.\python_embeded\python.exe -s ComfyUI\main.py --disable-api-nodes --windows-standalone-build --cuda-malloc --disable-cuda-malloc
This suggests allocator initialisation differs from final allocator selection, and both flags together change first-run startup behaviour in a way neither flag alone does.
System:
Windows 11
RTX 3070 Ti Laptop GPU (8GB)
ComfyUI 0.17.2 rev 4905
Torch 2.9.1+cu130
Behaviour:
First generation after launch is corrupted
Second generation with identical settings is clean
Testing:
--cuda-malloc alone: does not fix
--disable-cuda-malloc alone: does not fix
--cuda-malloc --disable-cuda-malloc together: fixes the issue consistently
Important:
Order appears relevant
Working launch command:
.\python_embeded\python.exe -s ComfyUI\main.py --disable-api-nodes --windows-standalone-build --cuda-malloc --disable-cuda-malloc
This suggests allocator initialisation differs from final allocator selection, and both flags together change first-run startup behaviour in a way neither flag alone does.