ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

[WARNING] On windows we are currently forcing single GPU mode in ComfyUI due to a Nvidia related issue

Open roooxanne opened this issue 1 month ago • 12 comments

Custom Node Testing

Your question

Until yesterday morning everything worked fine generating images with qwan2.1 and videos with Minimaxh3 with my 5060ti 16gb, but then this messages appeared "[WARNING] On windows we are currently forcing single GPU mode in ComfyUI due to a Nvidia related issue, if you want to disable this use: --cuda-device all" and now I cannot use my vram and my pc is stalled and slow.

What happened and how to fix it? Thanks in advance

Logs

no error reported

Other

No response

roooxanne avatar Oct 14 '26 07:10 roooxanne

afaik, there has been a change in video memory management. i don't know how much vram qwen 2.1 image generation consumes. i can tell minimax h3's safetensor needs ~10.5 GB for model initilization, and can go way above 20 GB during sampling. if video memory is offloaded it is really slow. it took my 3060 (6 GB vram) craptop 33 minutes for 1 step on the pruned w6a8 model (16 GB file). the quantized model, which is RAM resident and streaming weights is unaffected tho.

glitchered avatar Oct 14 '26 09:10 glitchered

The same issue happens with the RTX Pro 6000, too. It just seems to be a combined error involving the NVIDIA driver and CUDA. Damn it...

drvngenai-cloud avatar Oct 14 '26 09:10 drvngenai-cloud

And what we are supposed to do.....wait for a nvidia driver update? or comething from comfyui side?

roooxanne avatar Oct 14 '26 09:10 roooxanne

@roooxanne - That "forcing single GPU mode" warning has been showing for about a month and you probably just noticed it now because you went looking.

Your actual reported problem seems to be "I cannot use my vram and my pc is stalled and slow" -- which doesn't give much to go on. What makes you think you cannot use your VRAM? Is your computer "stalled and slow" all the time or are you just talking about ComfyUI? Have you tried reverting to a previous version and verified that your problem is actually due to your update?

ootsby avatar Oct 14 '26 10:10 ootsby

Quick update: apparently the problem appears only with Minimax H3 model, LTX 2.5 or Qwen 2.1 are working perfectly.....any ideas?

roooxanne avatar Oct 14 '26 10:10 roooxanne

what's the video memory usage of qwen and 2.1 ltx 2.5? using google i see that qwen image is "just" 15 GB in file form. that should fit "comfortably" in the vram in loaded form. doing the same proxy math to the 18.7 GB ltx 2.5, it likely allocates around 14 GB during initilzation.

so... i'd assume you use a model of minimax that consumes too much video memory. more than 16 GB vram in the initilization step.

which model and number format are you using?

glitchered avatar Oct 14 '26 12:10 glitchered

I'm using the minimax_h3_re2va_int8_convrot with the ref2v_turbo_4step_v0.1, but the part that shocked me is that yesterday everything worked fine and pretty fast, then suddendly stopped to work.

roooxanne avatar Oct 14 '26 12:10 roooxanne

that model is 34 GB large. that's likely spilling over into RAM, when loaded. that's what slows things down. the pci-e bus being the bottleneck of the memory sharing. the lora is just cutting steps down. i got a 4 and 8 turbo aswell. doesn't help with memory optimization tho.

so... you tried the pruned models? the fp8 and int8 models are only 21 GB. assuming it doesn't load the whole thing it could fit into 16 GB during initilization.

glitchered avatar Oct 14 '26 12:10 glitchered

any ideas?

If you believe that your Minimax H3 generations are now much slower and it's due to a ComfyUI update then you should create a simple workflow example and time it -- the easiest would be a short T2V example with a locked seed.

Once you have a timing and the test example you can revert to a previous version of ComfyUI and run exactly the same workflow with the same seed and time that. If it's now fast then you can post the versions involved and the workflow so people can reproduce the problem and trace through the changes to find the issue.

ootsby avatar Oct 14 '26 14:10 ootsby

I solved this problem by this way:

1: Enter the instance's built-in terminal 2: pip install --upgrade comfy-aimdo comfy-kitchen av 3: Done

Environment OS: Windows Launcher: ComfyUI Desktop ComfyUI Channel: GitHub Latest (master branch) PyTorch: 2.9.1+cu130 GPU: NVIDIA RTX 5070 Ti (RTX 50 series)

LongBob001 avatar Oct 25 '26 16:10 LongBob001

11. I solved this problem by this way: 1: Enter the instance's built-in terminal 2: pip install --upgrade comfy-aimdo comfy-kitchen av 3: Done Environment OS: Windows Launcher: ComfyUI Desktop ComfyUI Channel: GitHub Latest (master branch) PyTorch: 2.9.1+cu130 GPU: NVIDIA RTX 5070 Ti (RTX 50 series)

You solved the notification problem, not the issue, cause you have only one GPU. The issue on windows with 2+ gpu is a problem of nvidia drivers.

Mayorc1978 avatar Oct 27 '26 19:10 Mayorc1978

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Nov 27 '26 11:11 github-actions[bot]