#stablediffusion #sztucznainteligecja Pobrałem #python i #git mam wybrany model i przy uruchomieniu stablediffusion pojawia się coś takiego: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 2.00 GiB total capacity; 1.71 GiB already allocated; 0 bytes free; 1.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting maxsplitsizemb to avoid fragmentation. See documentation for Memory Management and PYTORCHCUDAALLOCCONF Wie ktoś jak to naprawić? Czytałem, że niby trzeba zmienić rozmiar batcha ale nwm jak to zrobić
Pobrałem #python i #git mam wybrany model i przy uruchomieniu stablediffusion pojawia się coś takiego: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 2.00 GiB total capacity; 1.71 GiB already allocated; 0 bytes free; 1.75 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting maxsplitsizemb to avoid fragmentation. See documentation for Memory Management and PYTORCHCUDAALLOCCONF
Wie ktoś jak to naprawić? Czytałem, że niby trzeba zmienić rozmiar batcha ale nwm jak to zrobić
Zainstaluj xformers i edytuj do webui-user linijkę
set COMMANDLINE_ARGS= --disable-safe-unpickle --xformers --xformers-flash-attentionXformers lekko odciąża kartę graficzną :d
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations
źródło: comment_Y4sr4te9ZEc79pFyNLu3Lxm58JqWzkvf
PobierzKomentarz usunięty przez autora