#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
  • 7
  • Odpowiedz
  • Otrzymuj powiadomienia
    o nowych komentarzach

@TurboMarcin: Jaką masz kartę graficzną?

Zainstaluj xformers i edytuj do webui-user linijkę

set COMMANDLINE_ARGS= --disable-safe-unpickle --xformers --xformers-flash-attention
Xformers lekko odciąża kartę graficzną :d
  • Odpowiedz