Replies: 8 comments 18 replies
-
@lshqqytiger Today. I've updated this post, because the old post have bad settings and need do testing!. Now is a big upgraded according to my test. Try keep it updated if found something. |
Beta Was this translation helpful? Give feedback.
-
hello, any recommendation setting for 4 GB VRAM / Radeon RX 570 ? thank you. |
Beta Was this translation helpful? Give feedback.
-
Holy shit dude, you're amazing! Before my images were taking 2 minutes to generate a 856x512 on 20 steps, but with your args added they take no more than 20 seconds! I can't believe I only found your post now, you're the GOAT!!! |
Beta Was this translation helpful? Give feedback.
-
Thank you. I feel my setup is more stable now.
But still often show error below while generating.
Do you know where I can improve it? |
Beta Was this translation helpful? Give feedback.
-
Using ROCm on linux or not using AMD bro :/, use AMD is really frustrating for all. I try many things but AMD is very bad in windows, in linux you could have really a great perfomance. Or using SHARK in windows is very very fast but is limiting compare with this webui, and is hard to configure. |
Beta Was this translation helpful? Give feedback.
-
Thank you for sharing! torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 8.90 GiB. GPU |
Beta Was this translation helpful? Give feedback.
-
tried these setting on my 6750xt, but still having generation problems, like the images come out as deep fried/plasma and not sure what to do. |
Beta Was this translation helpful? Give feedback.
-
Please guys, dont try my settings, it was a old preset test in DirectML, now you have ZLuda and I've bought nvidia because AMD is a headache, I will never update this guide in the future. |
Beta Was this translation helpful? Give feedback.
-
I want share my small experience after to test some settings share by the users of this forum
actially i am in windows 11 22H2
edit: 29/06/2023, I've done manually test for a hours...
Solving the: VRAM error (
RuntimeError: Could not allocate tensor with bytes. There is not enough GPU video memory available!
).I am working with inpainting in a intel core i7 4790k old hardware xD. 24 GB of ram 1600 MHz, my GPU is have light underclock, you could get better performance than it.
CHINASE lenguage translate : ➡️➡️➡️ CLICK HERE 🚩👈🏻👈🏻👈🏻
Summay and Settings
My best settings for a 6700/6750 xt cards (Tested in Img2Img:
Prompt
a product photo of (beewax:1.3) natural blocks,wildly inventive,and elegant style by Florian Gadsby,changing the industry,impossible,groundbreaking,stunning quality,shot for pottery magazine,canon C300,high resolution,1. 4,50mm,bokeh,product photography,highly detailed,sharp focus,HDR
negative
lowres,bad anatomy,bad hands,text,error,missing fingers,extra digit,fewer digits,cropped,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,username,blurry,bee,
Random Seeds!
Settings OLD ✅:
Settings updated New v2 [03/07/2023] ✅:
Remove
--upcast-sampling
✅ (need remove it for use --no-half)Replace it by:
--no-half
✅Why?: Inpainting not work without --no-half, and some upscaling models required it.
Note if you want generate larges batches, maybe you need --sub-quad-chunk-threshold change it for a value more small, try substract 5, or more, i mean says that you have 75, try with 70, or 65. (It could decrese a few the perfomance.)
fast summary
If you have a AMD gpu lower than 12GB, maybe could try divide the values in 2
--sub-quad-q-chunk-size 1024/2
--sub-quad-kv-chunk-size 128/2 (Or try keep)
--sub-quad-chunk-threshold 85 (if you divide sub-quad-kv-chunk-size, you must increse there by 95-100 )
and about of garbage_collection_threshold:0.5,max_split_size_mb:256, maybe keep it in 256 or divide in 2
Hint: If you divide something, try divide all and keep relation or distance in the values.
KEEP ALWAYS --opt-split-attention ✅
--medvram increses the performance, is good option ✅ (Use --lowvram only if you have problems in you gpu with 8gb of ram)
Extremely important
--sub-quad-kv-chunk-size
without change--sub-quad-chunk-threshold
| You need set the correct threshold value respect to your KV chunk size or you get VRAM ERROR. THIS IS VERY VERY IMPORTANT.6700xt-Series-Chinase-zh.pdf
6700xt-Series-English-en.pdf
Beta Was this translation helpful? Give feedback.
All reactions