CUDA आउट ऑफ मेमोरी। GPU मेमोरी की कमी के कारण रुकने पर समाधान
Stable Diffusion में मेमोरी की कमी होने पर होने वाली त्रुटि।
मेरे मामले में नीचे दिया गया संदेश दिखाई दिया।
CUDA out of memory. Tried to allocate 3.35 GiB (GPU 0; 8.00 GiB total capacity; 5.63 GiB already allocated; 843.24 MiB free; 5.65 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
webui-user.bat को संपादित करें, और जिन लोगों ने xformers इंस्टॉल नहीं किया है, उन्हें xformers भी इंस्टॉल कर लेना चाहिए।
चूंकि यह VAE का उपयोग करते समय भी हो सकता है, तो --no-half-vae को भी शामिल कर लेना चाहिए।
set COMMANDLINE_ARGS=–xformers --no-half-vae
समाप्त।