Works sometimes, but keeps running into RuntimeError: Could not allocate tensor <...> bytes #16
-
Like the title said, most of my generation are met with 'not enough memory' issue, and generations take a long time (10-20 minutes or more). GPU: 6900XT LC 16GB of VRAM GDDR6 I noticed when running the .bat it says: I wonder if that matters or not but I figured it'd include it there. Initially I tried to do 1280x720 generations and it worked once then the subsequent generations keeps throwing the aforementioned Runtime Error, especially when it is close to completion. I reduced the size to a square 500x500 with Hires.fix upscale to 800x800 and it still throws the error during generation and stops. Batch count 2 and Batch size 1. This is my current commandline args in webui-user.bat COMMANDLINE_ARGS=--opt-sub-quad-attention --always-batch-cond-uncond --disable-nan-check --autolaunch |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
as the error code said, AMD card has not CUDA hardware, which the xformers depands on. but it doesnt matter if you use AMD card for you will use directml instead. |
Beta Was this translation helpful? Give feedback.
-
I use Ultimate SD upscale extension to upscale the images I deem worthy. Works practically like hirez fix but with smaller chunks. |
Beta Was this translation helpful? Give feedback.
I use Ultimate SD upscale extension to upscale the images I deem worthy. Works practically like hirez fix but with smaller chunks.
Your graphics card is a beast, my measily RX 580 does 1-2 s/iteration, less then a minute per picture. Try all these arguments:
--medvram --precision full --no-half --opt-sub-quad-attention --opt-split-attention-v1 --disable-nan-check