camenduru / stable-diffusion-webui-colab

stable diffusion webui colab
The Unlicense
15.47k stars 2.61k forks source link

[Bug]: Google Notes could not load and run successfully [4.21] #377

Closed 253189147cc closed 1 year ago

253189147cc commented 1 year ago

What happened?

Hi, camen I came to report this problem yesterday. The at drive version could not run successfully, so I updated it three times yesterday and today. After the update, it was still not successful. I tried to load notes with Google, edge and firefox, but it still failed. Is it my local problem? I am not sure, because I am not a developer.please help to check the problem, Many thanks

Colab cell output

--2023-04-21 08:10:03--  https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb
Resolving launchpad.net (launchpad.net)... 185.125.189.223, 185.125.189.222, 2620:2d:4000:1001::8004, ...
Connecting to launchpad.net (launchpad.net)|185.125.189.223|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/367274648/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb [following]
--2023-04-21 08:10:04--  https://launchpadlibrarian.net/367274648/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 185.125.189.228, 185.125.189.229, 2620:2d:4000:1001::8007, ...
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|185.125.189.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 91644 (89K) [application/x-debian-package]
Saving to: ‘libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb’

libtcmalloc-minimal 100%[===================>]  89.50K   221KB/s    in 0.4s    

2023-04-21 08:10:06 (221 KB/s) - ‘libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb’ saved [91644/91644]

--2023-04-21 08:10:06--  https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb
Resolving launchpad.net (launchpad.net)... 185.125.189.223, 185.125.189.222, 2620:2d:4000:1001::8004, ...
Connecting to launchpad.net (launchpad.net)|185.125.189.223|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/367274647/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb [following]
--2023-04-21 08:10:06--  https://launchpadlibrarian.net/367274647/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 185.125.189.228, 185.125.189.229, 2620:2d:4000:1001::8007, ...
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|185.125.189.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 189628 (185K) [application/x-debian-package]
Saving to: ‘libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb’

libgoogle-perftools 100%[===================>] 185.18K   295KB/s    in 0.6s    

2023-04-21 08:10:08 (295 KB/s) - ‘libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb’ saved [189628/189628]

The following NEW packages will be installed:
  libunwind-dev
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 472 kB of archives.
After this operation, 4,164 kB of additional disk space will be used.
Selecting previously unselected package libunwind-dev:amd64.
(Reading database ... 122352 files and directories currently installed.)
Preparing to unpack .../libunwind-dev_1.2.1-9ubuntu0.1_amd64.deb ...
Unpacking libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ...
Setting up libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ...
Processing triggers for man-db (2.9.1-1) ...
dpkg: warning: downgrading google-perftools from 2.7-1ubuntu2 to 2.5-2.2ubuntu3
(Reading database ... 122405 files and directories currently installed.)
Preparing to unpack google-perftools_2.5-2.2ubuntu3_all.deb ...
Unpacking google-perftools (2.5-2.2ubuntu3) over (2.7-1ubuntu2) ...
dpkg: warning: downgrading libgoogle-perftools4:amd64 from 2.7-1ubuntu2 to 2.5-2.2ubuntu3
Preparing to unpack libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb ...
Unpacking libgoogle-perftools4 (2.5-2.2ubuntu3) over (2.7-1ubuntu2) ...
Selecting previously unselected package libgoogle-perftools-dev.
Preparing to unpack libgoogle-perftools-dev_2.5-2.2ubuntu3_amd64.deb ...
Unpacking libgoogle-perftools-dev (2.5-2.2ubuntu3) ...
dpkg: warning: downgrading libtcmalloc-minimal4:amd64 from 2.7-1ubuntu2 to 2.5-2.2ubuntu3
Preparing to unpack libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb ...
Unpacking libtcmalloc-minimal4 (2.5-2.2ubuntu3) over (2.7-1ubuntu2) ...
Setting up libtcmalloc-minimal4 (2.5-2.2ubuntu3) ...
Setting up libgoogle-perftools4 (2.5-2.2ubuntu3) ...
Setting up libgoogle-perftools-dev (2.5-2.2ubuntu3) ...
Setting up google-perftools (2.5-2.2ubuntu3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
env: LD_PRELOAD=libtcmalloc.so
The following additional packages will be installed:
  libaria2-0 libc-ares2
The following NEW packages will be installed:
  aria2 libaria2-0 libc-ares2
0 upgraded, 3 newly installed, 0 to remove and 30 not upgraded.
Need to get 1,475 kB of archives.
After this operation, 5,959 kB of additional disk space will be used.
Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 122496 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.15.0-1ubuntu0.2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.15.0-1ubuntu0.2) ...
Selecting previously unselected package libaria2-0:amd64.
Preparing to unpack .../libaria2-0_1.35.0-1build1_amd64.deb ...
Unpacking libaria2-0:amd64 (1.35.0-1build1) ...
Selecting previously unselected package aria2.
Preparing to unpack .../aria2_1.35.0-1build1_amd64.deb ...
Unpacking aria2 (1.35.0-1build1) ...
Setting up libc-ares2:amd64 (1.15.0-1ubuntu0.2) ...
Setting up libaria2-0:amd64 (1.35.0-1build1) ...
Setting up aria2 (1.35.0-1build1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
The following NEW packages will be installed:
  unionfs-fuse
0 upgraded, 1 newly installed, 0 to remove and 30 not upgraded.
Need to get 48.7 kB of archives.
After this operation, 146 kB of additional disk space will be used.
Selecting previously unselected package unionfs-fuse.
(Reading database ... 122571 files and directories currently installed.)
Preparing to unpack .../unionfs-fuse_1.0-1ubuntu2_amd64.deb ...
Unpacking unionfs-fuse (1.0-1ubuntu2) ...
Setting up unionfs-fuse (1.0-1ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/, https://download.pytorch.org/whl/cu116
Collecting torch==1.13.1+cu116
  Downloading https://download.pytorch.org/whl/cu116/torch-1.13.1%2Bcu116-cp39-cp39-linux_x86_64.whl (1977.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 2.0/2.0 GB 133.3 MB/s eta 0:00:01tcmalloc: large alloc 1977925632 bytes == 0x2048000 @  0x7fb2711881e7 0x6e6e9e 0x629594 0x685a9c 0x564b38 0x564bcf 0x53f72a 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c1d3 0x62c60f 0x5ab826 0x62c994 0x5ac335 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x548478 0x537b6a 0x6a2ad6
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 2.0/2.0 GB 107.0 MB/s eta 0:00:01tcmalloc: large alloc 2472411136 bytes == 0x77e94000 @  0x7fb271189615 0x629504 0x685a9c 0x564b38 0x564bcf 0x53f72a 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c1d3 0x62c60f 0x5ab826 0x62c994 0x5ac335 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x548478 0x537b6a 0x6a2ad6 0x5afd01
tcmalloc: large alloc 1977925632 bytes == 0x2048000 @  0x7fb2711881e7 0x62e9b6 0x630070 0x53f72a 0x5ab826 0x62c994 0x5ab826 0x62c994 0x5ab826 0x62c994 0x548478 0x537b6a 0x6a2ad6 0x5afd01 0x62c1d3 0x5482c4 0x5afd01 0x5a9eb4 0x5483e1 0x5afd01 0x62c1d3 0x62c60f 0x5ab826 0x5a9eb4 0x5483e1 0x5ac335 0x53d523 0x5abacc 0x53d523 0x5abacc 0x53d523
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 GB 874.9 kB/s eta 0:00:00
Collecting torchvision==0.14.1+cu116
  Downloading https://download.pytorch.org/whl/cu116/torchvision-0.14.1%2Bcu116-cp39-cp39-linux_x86_64.whl (24.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.2/24.2 MB 67.5 MB/s eta 0:00:00
Collecting torchaudio==0.13.1
  Downloading https://download.pytorch.org/whl/cu116/torchaudio-0.13.1%2Bcu116-cp39-cp39-linux_x86_64.whl (4.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 88.4 MB/s eta 0:00:00
Collecting torchtext==0.14.1
  Downloading torchtext-0.14.1-cp39-cp39-manylinux1_x86_64.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 54.8 MB/s eta 0:00:00
Collecting torchdata==0.5.1
  Downloading torchdata-0.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 80.0 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.9/dist-packages (from torch==1.13.1+cu116) (4.5.0)
Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from torchvision==0.14.1+cu116) (1.22.4)
Requirement already satisfied: requests in /usr/local/lib/python3.9/dist-packages (from torchvision==0.14.1+cu116) (2.27.1)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/lib/python3.9/dist-packages (from torchvision==0.14.1+cu116) (8.4.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.9/dist-packages (from torchtext==0.14.1) (4.65.0)
Collecting portalocker>=2.0.0
  Downloading portalocker-2.7.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: urllib3>=1.25 in /usr/local/lib/python3.9/dist-packages (from torchdata==0.5.1) (1.26.15)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.9/dist-packages (from requests->torchvision==0.14.1+cu116) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests->torchvision==0.14.1+cu116) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests->torchvision==0.14.1+cu116) (2022.12.7)
Installing collected packages: torch, portalocker, torchvision, torchtext, torchdata, torchaudio
  Attempting uninstall: torch
    Found existing installation: torch 2.0.0+cu118
    Uninstalling torch-2.0.0+cu118:
      Successfully uninstalled torch-2.0.0+cu118
  Attempting uninstall: torchvision
    Found existing installation: torchvision 0.15.1+cu118
    Uninstalling torchvision-0.15.1+cu118:
      Successfully uninstalled torchvision-0.15.1+cu118
  Attempting uninstall: torchtext
    Found existing installation: torchtext 0.15.1
    Uninstalling torchtext-0.15.1:
      Successfully uninstalled torchtext-0.15.1
  Attempting uninstall: torchdata
    Found existing installation: torchdata 0.6.0
    Uninstalling torchdata-0.6.0:
      Successfully uninstalled torchdata-0.6.0
  Attempting uninstall: torchaudio
    Found existing installation: torchaudio 2.0.1+cu118
    Uninstalling torchaudio-2.0.1+cu118:
      Successfully uninstalled torchaudio-2.0.1+cu118
Successfully installed portalocker-2.7.0 torch-1.13.1+cu116 torchaudio-0.13.1+cu116 torchdata-0.5.1 torchtext-0.14.1 torchvision-0.14.1+cu116
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 MB 15.3 MB/s eta 0:00:00
/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui
Updating files: 100% (200/200), done.
HEAD is now at a9fed7c3 Merge pull request #8503 from mcmonkey4eva/filename-length-limit-fix
Updating files: 100% (96/96), done.
HEAD is now at 47b6b60 Merge pull request #39 from CookieLau/patch-1
HEAD is now at 709b8a0 Update ssh_tunnel.py
Already up to date.

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
b89458|OK  |       0B/s|/content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/CLIP/ViT-L-14.pt

Status Legend:
(OK):download completed.
Python 3.9.16 (main, Dec  7 2022, 01:11:51) 
[GCC 9.4.0]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing gfpgan
Installing clip
Installing open_clip
Installing requirements for CodeFormer
Installing requirements for Web UI
Installing Deforum requirement: av
Installing Deforum requirement: pims

Installing pycloudflared

Initializing Riffusion

If submitting an issue on github, please provide the full startup log for debugging purposes.

Initializing Dreambooth
Dreambooth revision: 926ae204ef5de17efca2059c334b6098492a0641
Successfully installed accelerate-0.18.0 bitsandbytes-0.35.4 dadaptation-1.5 diffusers-0.14.0 discord-webhook-1.1.0 fastapi-0.94.1 gitpython-3.1.31 google-auth-oauthlib-0.4.6 lion-pytorch-0.0.7 protobuf-4.22.3 requests-2.28.2 tensorboard-2.12.0 tqdm-4.64.1 transformers-4.26.1
# Your version of xformers is 0.0.16.
# xformers >= 0.0.17.dev is required to be available on the Dreambooth tab.
# Torch 1 wheels of xformers >= 0.0.17.dev are no longer available on PyPI,
# but you can manually download them by going to:
https://github.com/facebookresearch/xformers/actions
# Click on the most recent action tagged with a release (middle column).
# Select a download based on your environment.
# Unzip your download
# Activate your venv and install the wheel: (from A1111 project root)
cd venv/Scripts
activate
pip install {REPLACE WITH PATH TO YOUR UNZIPPED .whl file}
# Then restart your project.
[!] xformers version 0.0.16 installed.
[+] torch version 1.13.1+cu116 installed.
[+] torchvision version 0.14.1+cu116 installed.
[+] accelerate version 0.18.0 installed.
[+] diffusers version 0.14.0 installed.
[+] transformers version 4.26.1 installed.
[+] bitsandbytes version 0.35.4 installed.

Installing requirements for depthmap script
Installing vispy requirement for depthmap script
Installing rembg requirement for depthmap script
Installing transforms3d requirement for depthmap script
Installing imageio-ffmpeg requirement for depthmap script

Installing None
Installing onnx...
Installing None
Installing onnxruntime-gpu...
Installing None
Installing opencv-python...
Installing None
Installing Pillow...
Installing None
Installing segmentation-refinement...
Installing None
Installing scikit-learn...
Installing None
Installing segment_anything...

Installing None
Installing onnxruntime-gpu...
Installing None
Installing opencv-python...
Installing None
Installing Pillow...

Installing requirements 1 for Infinite-Zoom

Installing requirements for scikit_learn

Installing sd-dynamic-prompts requirements.txt

Installing requirements for Mov2mov
Installing requirements for ffmpeg

Installing requirements for CivitAI Browser

Installing sd-webui-controlnet requirement: mediapipe
Installing sd-webui-controlnet requirement: svglib
Installing sd-webui-controlnet requirement: fvcore

Launching Web UI with arguments: --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --clip-models-path /content/drive/MyDrive/stable-diffusion-webui-colab/stable-diffusion-webui/models/CLIP --ckpt-dir /content/fused --lora-dir /content/fused-lora --multiple
2023-04-21 08:20:59.238583: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ in model_hash:151                                                            │
╰──────────────────────────────────────────────────────────────────────────────╯
OSError: [Errno 107] Transport endpoint is not connected

During handling of the above exception, another exception occurred:

╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ in <module>:382                                                              │
│                                                                              │
│   379 if __name__ == "__main__":                                             │
│   380 │   prepare_environment()                                              │
│   381 │   os.system(f"""sed -i -e "s/dict()))/dict())).cuda()/g" /content/dr │
│ ❱ 382 │   start()                                                            │
│   383                                                                        │
│                                                                              │
│ in start:376                                                                 │
│                                                                              │
│   373 │   if '--nowebui' in sys.argv:                                        │
│   374 │   │   webui.api_only()                                               │
│   375 │   else:                                                              │
│ ❱ 376 │   │   webui.webui()                                                  │
│   377                                                                        │
│   378                                                                        │
│   379 if __name__ == "__main__":                                             │
│                                                                              │
│ in webui:230                                                                 │
│                                                                              │
│   227                                                                        │
│   228 def webui():                                                           │
│   229 │   launch_api = cmd_opts.api                                          │
│ ❱ 230 │   initialize()                                                       │
│   231 │                                                                      │
│   232 │   while 1:                                                           │
│   233 │   │   if shared.opts.clean_temp_dir_at_start:                        │
│                                                                              │
│ in initialize:111                                                            │
│                                                                              │
│   108 │   │   return                                                         │
│   109 │                                                                      │
│   110 │   modelloader.cleanup_models()                                       │
│ ❱ 111 │   modules.sd_models.setup_model()                                    │
│   112 │   startup_timer.record("list SD models")                             │
│   113 │                                                                      │
│   114 │   codeformer.setup_model(cmd_opts.codeformer_models_path)            │
│                                                                              │
│ in setup_model:91                                                            │
│                                                                              │
│ in list_models:126                                                           │
│                                                                              │
│ in __init__:46                                                               │
│                                                                              │
│ in model_hash:152                                                            │
╰──────────────────────────────────────────────────────────────────────────────╯
OSError: [Errno 107] Transport endpoint is not connected

Which colab and model(s) were you using when the error occurred?

https://colab.research.google.com/github/camenduru/stable-diffusion-webui-colab/blob/drive/run.ipynb

Which Public WebUI Colab URL were you using when the error occurred?

remote.moe

If you used HiRes mode when the error occurred, please provide the Hires info

No response

camenduru commented 1 year ago

Hi @253189147cc 👋 this looks like a google drive problem Transport endpoint is not connected

253189147cc commented 1 year ago

It works,thanks bro