lllyasviel / lllyasviel/stable-diffusion-webui-forge
Connection errored out [google colab]
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
**When it finishes generating the image, the preview does not appear and "Connection errored out" appears and when I generate again, I get: Could not parse server response: SyntaxError: Unexpected token '<', "**
-
Collecting pygit2==1.12.2
Downloading pygit2-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.5 kB)
Requirement already satisfied: cffi>=1.9.1 in /usr/local/lib/python3.10/dist-packages (from pygit2==1.12.2) (1.17.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.9.1->pygit2==1.12.2) (2.22)
Downloading pygit2-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 51.7 MB/s eta 0:00:00
Installing collected packages: pygit2
Attempting uninstall: pygit2
Found existing installation: pygit2 1.16.0
Uninstalling pygit2-1.16.0:
Successfully uninstalled pygit2-1.16.0
Successfully installed pygit2-1.12.2
/content
Cloning into 'stable-diffusion-webui-forge'...
remote: Enumerating objects: 41714, done.
remote: Counting objects: 100% (6727/6727), done.
remote: Compressing objects: 100% (527/527), done.
remote: Total 41714 (delta 6260), reused 6207 (delta 6200), pack-reused 34987 (from 1)
Receiving objects: 100% (41714/41714), 47.88 MiB | 21.99 MiB/s, done.
Resolving deltas: 100% (28711/28711), done.
/content/stable-diffusion-webui-forge
Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0]
Version: f2.0.1v1.10.1-previous-621-gf4a6a08e
Commit hash: f4a6a08ec2ae80305c45a3fb181e8b006828de09
Installing clip
Installing open_clip
Cloning assets into /content/stable-diffusion-webui-forge/repositories/stable-diffusion-webui-assets...
Cloning into '/content/stable-diffusion-webui-forge/repositories/stable-diffusion-webui-assets'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 20 (delta 0), reused 20 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (20/20), 132.70 KiB | 6.63 MiB/s, done.
Cloning huggingface_guess into /content/stable-diffusion-webui-forge/repositories/huggingface_guess...
Cloning into '/content/stable-diffusion-webui-forge/repositories/huggingface_guess'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 51 (delta 29), reused 30 (delta 13), pack-reused 0 (from 0)
Receiving objects: 100% (51/51), 36.58 KiB | 4.57 MiB/s, done.
Resolving deltas: 100% (29/29), done.
Cloning google_blockly into /content/stable-diffusion-webui-forge/repositories/google_blockly_prototypes...
Cloning into '/content/stable-diffusion-webui-forge/repositories/google_blockly_prototypes'...
remote: Enumerating objects: 62, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 62 (delta 11), reused 52 (delta 1), pack-reused 0 (from 0)
Receiving objects: 100% (62/62), 1.69 MiB | 26.24 MiB/s, done.
Resolving deltas: 100% (11/11), done.
Cloning BLIP into /content/stable-diffusion-webui-forge/repositories/BLIP...
Cloning into '/content/stable-diffusion-webui-forge/repositories/BLIP'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (183/183), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 277 (delta 145), reused 137 (delta 137), pack-reused 94 (from 1)
Receiving objects: 100% (277/277), 7.04 MiB | 24.09 MiB/s, done.
Resolving deltas: 100% (152/152), done.
Installing requirements
Installing forge_legacy_preprocessor requirement: fvcore
Installing forge_legacy_preprocessor requirement: mediapipe
Installing forge_legacy_preprocessor requirement: onnxruntime
Installing forge_legacy_preprocessor requirement: svglib
Legacy Preprocessor init warning: Unable to install insightface automatically. Please try run `pip install insightface` manually.
Installing forge_legacy_preprocessor requirement: handrefinerportable
Installing forge_legacy_preprocessor requirement: depth_anything
Installing forge_legacy_preprocessor requirement: depth_anything_v2
Launching Web UI with arguments: --share
Total VRAM 15102 MB, total RAM 12979 MB
pytorch version: 2.5.1+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 Tesla T4 : native
VAE dtype preferences: [torch.float32] -> torch.float32
Installing bitsandbytes==0.43.3
CUDA Using Stream: False
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
2024-11-19 04:18:42.996573: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:485] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-11-19 04:18:43.017091: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:8454] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-11-19 04:18:43.023121: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1452] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-11-19 04:18:43.038077: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-11-19 04:18:44.262800: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Using pytorch cross attention
Using pytorch attention for VAE
ControlNet preprocessor location: /content/stable-diffusion-webui-forge/models/ControlNetPreprocessor
Loading additional modules ... done.
2024-11-19 04:19:17,453 - ControlNet - INFO - ControlNet UI callback registered.
You do not have any model!
Model selected: {'checkpoint_info': None, 'additional_modules': [], 'unet_storage_dtype': None}
Using online LoRAs in FP16: False
Running on local URL: http://127.0.0.1:7860/
Running on public URL: https://79cc0af01663c29f77.gradio.live/
This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)
Startup time: 173.3s (prepare environment: 113.9s, launcher: 1.0s, import torch: 28.0s, other imports: 1.1s, load scripts: 3.0s, initialize google blockly: 19.0s, create ui: 4.2s, gradio launch: 3.0s).
Environment vars changed: {'stream': False, 'inference_memory': 1024.0, 'pin_shared_memory': False}
[GPU Setting] You will use 93.22% GPU memory (14078.00 MB) to load weights, and use 6.78% GPU memory (1024.00 MB) to do matrix computation.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Google Colab launch log and public Web UI URL, then reproduce image generation after startup completes. Trace the generated-image response and preview behavior alongside the “Could not parse server response” output. Done means the Colab flow returns a parseable response and displays the generated preview.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python, pytorch
- Domain
- frontend, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100