Comfy-Org / Comfy-Org/ComfyUI

Excessive VRAM Usage with the XL Model

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

Description

(ps; The VRAM usage returns to normal when switching to the SD 1.5 model.)
The graphics card is a P40, and the operation doesn't involve using any LORA or high-definition enlargement nodes. It only performs the most basic base+refiner operations at a resolution of 1024. The VRAM usage reaches 12GB during the sampling computation in the base model, and even more astonishingly, it reaches 20GB during the sampling computation in the refiner. Adding the "lowvram" option in the command line only provides a modest 1/3 improvement. This doesn't leave sufficient VRAM space for the use of other nodes in the subsequent process.

Even on webui, VRAM usage also reaches 12GB,but i thought comfyui will use less.

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.