[Stable Diffusion] Prompt Sharing and Learning Thread

hkennereth

Member
Mar 3, 2019
236
755
FLEX model memory workaround.

According to Aitrepreneur getting this setting changed lets your video card use your RAM at the expense of speed:

CUDA - Sysmem Fallback Policy: Prefer no Sysmem Fallback

View attachment 3895640
From the way it's written, I would think it's the other way around, no? If you select "no sysmem fallback", it will disable the ability to use the system memory as fallback when there isn't enough VRAM. If you select the last option, "prefer sysmem fallback", it should allow that to happen. At least that's my understanding.
 
  • Like
Reactions: Sepheyer

Sepheyer

Well-Known Member
Dec 21, 2020
1,539
3,664
ComfyUI noob FLUX workflows:

To get one started with the least demanding model (schnell), one needs a few files: the "vae", the model, the workflow, and the encoders.

The "vae" (ae.sft), the model (flux1-schnell.sft) are here:

The encoders:

The very first link here explains where each file goes.

Looks like a cool 40GB in new downloads when all said and done.

The workflow for schnell is last one in this table:

DevFP8Schnell
flux_dev_example.png flux_dev_checkpoint_example.png flux_schnell_example.png
 
Last edited:
  • Like
Reactions: hkennereth

Sepheyer

Well-Known Member
Dec 21, 2020
1,539
3,664
Yea, I dunno, I keep getting error "!!! Exception during processing!!! Error while deserializing header: InvalidHeaderDeserialization" when trying the FLUX workflow.

Can't immediately troubleshoot what's up :(

You don't have permission to view the spoiler content. Log in or register now.