ComfyUI, Flux, Not using GPU
- 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??

### 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
Assessment
This issue has not been assessed yet.