TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.46k stars 1.29k forks source link

Colab stopped working after update to new Notebook #2407

Open mGhasemii opened 1 year ago

mGhasemii commented 1 year ago

after starting. when I select any 1.5 checkpoint it says "Connection Error".

/usr/local/lib/python3.10/dist-packages/basicsr/metrics/niqe.py:5: DeprecationWarning: Please use convolve from the scipy.ndimage namespace, the scipy.ndimage.filters namespace is deprecated. from scipy.ndimage.filters import convolve

:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead 2023-07-29 10:06:27,614 - ControlNet - INFO - ControlNet v1.1.234 /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/body.py:5: DeprecationWarning: Please use `gaussian_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated. from scipy.ndimage.filters import gaussian_filter /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/openpose/hand.py:6: DeprecationWarning: Please use `gaussian_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated. from scipy.ndimage.filters import gaussian_filter ControlNet preprocessor location: /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(version("gradio")) < LooseVersion("3.10"): /content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(version("gradio")) < LooseVersion("3.10"): 2023-07-29 10:06:28,172 - ControlNet - INFO - ControlNet v1.1.234 Loading weights [31e35c80fc] from /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/model.safetensors Running on public URL: https://019106d8a3f352d3ca.gradio.live/ ✔ Connected Startup time: 38.8s (import torch: 18.2s, import gradio: 1.4s, start: 0.2s, setup paths: 2.4s, other imports: 1.7s, list SD models: 1.4s, load scripts: 3.1s, create ui: 1.3s, gradio launch: 8.8s, add APIs: 0.1s). /usr/local/lib/python3.10/dist-packages/jupyter_client/connect.py:28: DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs given by the platformdirs library. To remove this warning and see the appropriate new directories, set the environment variable `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`. The use of platformdirs will be the default in `jupyter_core` v6 from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, secure_write Creating model from config: /content/gdrive/MyDrive/sd/stablediffusion/generative-models/configs/inference/sd_xl_base.yaml
mGhasemii commented 1 year ago

I tested again. and it is stopping after start immediately. the previous version was working fine and without any problem. how can I downgrade back to that?

TheLastBen commented 1 year ago

SDXL needs HIGH-RAM runtime

mGhasemii commented 1 year ago

SDXL needs HIGH-RAM runtime

I have HIGH-RAM

image

I just want to downgrade to previous 1.5 version

TheLastBen commented 1 year ago

choose v1.5 in the models cell

larinius commented 1 year ago

SDXL needs HIGH-RAM runtime

High Ram may help to start, but it will crash out of memory on image generation. We have no option to use 32/64Gb of Ram on Colab, 25Gb almost the same as 16Gb.

TheLastBen commented 1 year ago

Time to move from colab to the alternatives