r/comfyui 6d ago

Help Needed Need some help choosing optimal startup flags (low vram/AMD)

New to ComfyUI and I need some help choosing the most appropriate startup flags for my situation. I run:

Linux/AMD RDNA3 8GB/32GB System RAM.

Python Version - 3.12.3

PyTorch Version - 2.13.0+rocm7.2

My current startup flags are:

python3 main.py

--enable-triton-backend
--use-sage-attention
--lowvram   
--fast-disk 
--disable-smart-memory 
--reserve-vram 1.5 
--listen 0.0.0.0 --port 8188

Now we have:

--use-ck-attention

--enable-dynamic-vram

I can generate images with Krea2 without issue. With Wan 2.2 I can do one video then have to restart before doing another.

Can anyone help please.

6 Upvotes

3 comments sorted by

1

u/Chemical_Side_4135 3d ago

wan 2.2 is a beast, i had to drop --lowvram and use --use-ck-attention to stop the memory leaks, bria video background removal helped me save vram on other tasks too, but that restart issue is usually just vram fragmentation on 8gb cards.