Skip to content

PLZ HELP... My max image generation sizes keep getting significantly smaller and smaller #175

Answered by xil64
ArchAngelAries asked this question in Q&A
Discussion options

You must be logged in to vote

I have a 7900XT as well, and have had this same problem. I spent a long time tweaking settings, and my best results are with these commandline_args:

set COMMANDLINE_ARGS=--medvram --upcast-sampling --no-half-vae --disable-nan-check --use-cpu interrogate --opt-split-attention-v1

Also check under Settings/Optimizations, cross attention optimization is set to V1. This setting seems to overwrite the commandline arg. I've also had good luck setting Token Merging Ratio to 0.5 to speed up generations a lot (which seems to produce only NANs for me with sub-quad attention)

with these settings and a SD 1.5 model I can do batches of 4 512x768 hires.fix to x2 (1024x1536 final res).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ArchAngelAries
Comment options

@xil64
Comment options

Answer selected by ArchAngelAries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants