lllyasviel / lllyasviel/stable-diffusion-webui-forge

[Windows] Major RAM overload with flux

Open
#2,401 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
13k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I have RAM overload during image generation (at the end it spikes drastically).
It starts at 2 GB, then 12 GB and then overload 50+ GB and over 30 GB disc space as fallback.
There is nothing in console - VRAM usage is over 21 GB as expected.

This is on fresh install.

I use T5xxl fp16 text encoder with fp32 Flux 1 dev model.

Below it shows 31 GB but it's over 50 GB in reality (max 64 GB):

image
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report on Windows from a fresh install with the T5xxl fp16 text encoder and fp32 Flux 1 dev model. Observe RAM, VRAM, and disk usage through the end of image generation; done means the cause is identified and the generation no longer triggers the reported 50+ GB RAM and disk fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.