Comfy-Org / Comfy-Org/ComfyUI

ComfyUI, Flux, Not using GPU

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

Description

### Your question

Hey guys,

I installed ComfyUI along with Flux, the installation went fine, but when I tried to generate the first image using Flux, I noticed it was taking a long time and found out it's not using my GPU, but rather my entire RAM. I started ComfyUI by clicking on run_nvidia_gpu.bat, but even then, it's not using any of my VRAM.
Funny cause its terminal recognizes my graphics card normally.

Could you help me pls??

![image](https://github.com/user-attachments/assets/b64c5169-cdb5-4b3b-8b9d-862ebea4f490)

### Logs

```powershell
Total VRAM 12287 MB, total RAM 16332 MB
pytorch version: 2.5.1+cu124
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
Using pytorch attention
[Prompt Server] web root: C:\Users\Bruninho\Desktop\ComfyUI_windows_portable\ComfyUI\web

Import times for custom nodes:
0.0 seconds: C:\Users\Bruninho\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py

Starting server

To see the GUI go to: http://127.0.0.1:8188
```

### Other

_No response_

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.