sd-webui-controlnet icon indicating copy to clipboard operation
sd-webui-controlnet copied to clipboard

ControlNet problem on colab

Open Maxxxwell62 opened this issue 2 years ago • 2 comments

ControlNet always keeps crash no matter which model I use on colab.

Loading preprocessor: canny, model: control_sd15_canny [fef5e48e] ^C

Maxxxwell62 avatar Feb 16 '23 19:02 Maxxxwell62

It's colab oom issue and you need to try something like change the mapping location to cuda

Mikubill avatar Feb 17 '23 00:02 Mikubill

It's colab oom issue and you need to try something like change the mapping location to cuda

I added this cell to work:

!wget http://launchpadlibrarian.net/367274644/libgoogle-perftools-dev_2.5-2.2ubuntu3_amd64.deb !wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/google-perftools_2.5-2.2ubuntu3_all.deb !wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb !wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb !apt install -qq libunwind8-dev !dpkg -i *.deb %env LD_PRELOAD=libtcmalloc.so !rm *.deb

Maxxxwell62 avatar Feb 17 '23 01:02 Maxxxwell62