CUDA out of memory. 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
যারা xformers ইনস্টল করেননি, তারা webui-user.bat এডিট করে xformers ইনস্টল করে নিন।
VAE ব্যবহার করার সময়ও এটি ঘটতে পারে, তাই --no-half-vae যোগ করুন।
set COMMANDLINE_ARGS=–xformers --no-half-vae
শেষ।