{ "cells": [ { "cell_type": "markdown", "id": "23bf0d68-cd40-4803-bf04-7ede3e53b524", "metadata": {}, "source": [ "3689+
SD1.5 with Reactor - Dreamscape Notebook 2.0
\n", "
Follow tutorial on my Youtube Channel. Join our Discord Community for support.
" ] }, { "cell_type": "markdown", "id": "e4dd09f1-eb19-4fd1-ae06-fc8c604366fb", "metadata": { "tags": [] }, "source": [ "

🧼 Step 1. Fresh Clean Environments (launch if it's your first start)

\n", "If you have a healthy and working install, SKIP to STEP 3. This can be launched in CPU mode." ] }, { "cell_type": "code", "execution_count": 2, "id": "ea5bcd71-2b71-4d27-90c1-053444ef33f0", "metadata": { "tags": [] }, "outputs": [], "source": [ "Ρ‘Ρ‘!rm -r /home/studio-lab-user/.cache\n", "!rm -r /home/studio-lab-user/.conda\n", "!conda remove -n \"env_name\" --all\n", "!rm -rf /home/studio-lab-user/tmp*" ] }, { "cell_type": "markdown", "id": "f05fa0e9-8141-471e-a9a5-b12cc04a9c94", "metadata": {}, "source": [ "☒️*Your Browser Panel (on the left) should be empty.*
\n", "☒️You need to **restart the Jupyter Lab now** (before running next cell)." ] }, { "cell_type": "code", "execution_count": 1, "id": "c55242c5-3887-4dd4-a384-0b480b0d11f1", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Ok, your conda is clean (1.1GB) please continue with Step 2\n" ] } ], "source": [ "import subprocess\n", "result = subprocess.run(['du', '-h', '--max-depth=1', '/home/studio-lab-user'], capture_output=True, text=True)\n", "if '1.1G\\t/home/studio-lab-user/.conda' in result.stdout:\n", " print(\"Ok, your conda is clean (1.1GB) please continue with Step 2\")" ] }, { "cell_type": "markdown", "id": "af2f3f5b-f9ba-4221-92fa-126600e39d9b", "metadata": { "tags": [] }, "source": [ "

πŸ”₯ Step 2. Install essentials (launch if it's your first start)

\n", "This will install essentials. This can be launched in CPU mode. Be patient it might take a while." ] }, { "cell_type": "code", "execution_count": null, "id": "ac5a35de-ce70-4c71-9aa5-868740f5aa24", "metadata": { "tags": [] }, "outputs": [], "source": [ "import subprocess\n", "def run_command(command, message):\n", " print(f\"Please wait, {message} is loading...\")\n", " subprocess.run(command, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n", " print(f\"{message} completed!\")\n", "run_command('conda install conda -y', 'Conda')\n", "run_command('conda update -n base conda -y', 'Update')\n", "run_command('conda install -n base python=3.10 -y', 'Python')\n", "run_command('conda install -q -y glib=2.51.0', 'glib')\n", "print(\"Congratulations. Your Python version now is:\")\n", "!pip install gdown" ] }, { "cell_type": "code", "execution_count": 5, "id": "c27bf70b-fd0d-4c94-9891-123a019960e2", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/home/studio-lab-user/stable-diffusion-webui/extensions\n", "Cloning into 'sd-webui-bmab'...\n", "remote: Enumerating objects: 148, done.\u001b[K\n", "remote: Counting objects: 100% (148/148), done.\u001b[K\n", "remote: Compressing objects: 100% (139/139), done.\u001b[K\n", "remote: Total 148 (delta 12), reused 86 (delta 4), pack-reused 0\u001b[K\n", "Receiving objects: 100% (148/148), 124.72 KiB | 5.94 MiB/s, done.\n", "Resolving deltas: 100% (12/12), done.\n" ] } ], "source": [ "%cd /home/studio-lab-user/stable-diffusion-webui/extensions\n", "!git clone --depth 1 https://github.com/portu-sim/sd-webui-bmab" ] }, { "cell_type": "code", "execution_count": 4, "id": "7ad40e45-9797-4188-be16-2e6c4d218ddc", "metadata": { "scrolled": true, "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/home/studio-lab-user\n", "fatal: destination path 'stable-diffusion-webui' already exists and is not an empty directory.\n", "/home/studio-lab-user/stable-diffusion-webui/embeddings\n", "fatal: destination path 'negativekit' already exists and is not an empty directory.\n", "mkdir: cannot create directory '/home/studio-lab-user/stable-diffusion-webui/models/ESRGAN/': File exists\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 494 0 494 0 0 951 0 --:--:-- --:--:-- --:--:-- 951\n", "100 63.8M 100 63.8M 0 0 44.7M 0 0:00:01 0:00:01 --:--:-- 109M\n", "/home/studio-lab-user/stable-diffusion-webui/extensions\n", "Cloning into 'extensions/sd_dpmpp_sde_no_random'...\n", "remote: Enumerating objects: 9, done.\u001b[K\n", "remote: Counting objects: 100% (9/9), done.\u001b[K\n", "remote: Compressing objects: 100% (8/8), done.\u001b[K\n", "remote: Total 9 (delta 0), reused 6 (delta 0), pack-reused 0\u001b[K\n", "Unpacking objects: 100% (9/9), 31.30 KiB | 2.09 MiB/s, done.\n" ] } ], "source": [ "#Install all essentials for stable diffusion\n", "%cd /home/studio-lab-user/\n", "!git clone --depth 1 https://github.com/AUTOMATIC1111/stable-diffusion-webui.git\n", "%cd /home/studio-lab-user/stable-diffusion-webui/embeddings\n", "!git clone --depth 1 https://github.com/dreamscapeai/negativekit\n", "!mkdir /home/studio-lab-user/stable-diffusion-webui/models/ESRGAN/\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/ESRGAN/4x-UltraSharp.pth\" \"https://civitai.com/api/download/models/125843\"\n", "%cd /home/studio-lab-user/stable-diffusion-webui/extensions\n", "!git clone --depth 1 https://github.com/AlUlkesh/sd_dpmpp_sde_no_random/ extensions/sd_dpmpp_sde_no_random\n", "!git clone --depth 1 https://github.com/corbin-hayden13/SD-Prompt-Enhancer.git\n", "!git clone --depth 1 https://github.com/kohya-ss/sd-webui-additional-networks.git\n", "\n", "!git clone --depth 1 https://github.com/ahgsql/StyleSelectorXL\n", "!git clone --depth 1 https://github.com/etherealxx/batchlinks-webui\n", "!git clone --depth 1 https://github.com/zanllp/sd-webui-infinite-image-browsing\n", "!git clone --depth 1 https://github.com/dreamscapeai/adetailer\n", "!git clone --depth 1 https://github.com/hako-mikan/sd-webui-lora-block-weight.git\n", "!git clone --depth 1 https://github.com/richrobber2/canvas-zoom.git\n", "!git clone --depth 1 https://github.com/NoCrypt/batchlinks-addon.git\n", "!git clone --depth 1 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git\n", "!git clone --depth 1 https://github.com/hako-mikan/sd-webui-regional-prompter.git\n", "!git clone --depth 1 https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git\n", "!git clone --depth 1 https://github.com/alemelis/sd-webui-ar.git\n", "!git clone --depth 1 https://github.com/adieyal/sd-dynamic-prompts.git\n", "!git clone --depth 1 https://github.com/hnmr293/sd-webui-cutoff.git\n", "!git clone --depth 1 https://github.com/miZyind/sd-webui-latent-couple.git\n", "!git clone --depth 1 https://github.com/opparco/stable-diffusion-webui-two-shot.git\n", "!git clone --depth 1 https://github.com/opparco/stable-diffusion-webui-composable-lora.git\n", "!git clone --depth 1 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git\n", "!git clone --depth 1 https://github.com/albarji/mixture-of-diffusers.git\n", "\n", "\n", "\n", "!git clone --depth 1 https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git\n", "!git clone --depth 1 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git\n", "!git clone --depth 1 https://github.com/ljleb/sd-webui-neutral-prompt.git\n", "!git clone --depth 1 https://github.com/lifeisboringsoprogramming/sd-webui-lora-masks.git\n", "!git clone --depth 1 https://github.com/cheald/sd-webui-loractl.git\n", "!git clone --depth 1 https://github.com/a2569875/stable-diffusion-webui-composable-lora.git\n", "!git clone --depth 1 https://github.com/a2569875/lora-prompt-tool.git\n", "!git clone --depth 1 https://github.com/corbin-hayden13/SD-Prompt-Enhancer.git\n", "!git clone --depth 1 https://github.com/mix1009/model-keyword.git\n", "!git clone --depth 1 https://github.com/hako-mikan/sd-webui-supermerger.git\n", "!git clone --depth 1 https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git\n", "!git clone --depth 1 https://github.com/wcde/sd-webui-refiner.git\n", "!git clone --depth 1 https://github.com/0xbitches/sd-webui-lcm.git\n", "!git clone --depth 1 https://github.com/light-and-ray/sd-webui-lcm-sampler.git\n", "!git clone --depth 1 https://github.com/GeorgLegato/sd-webui-panorama-viewer.git\n", "!git clone --depth 1 https://github.com/Bing-su/adetailer.git\n", "!git clone --depth 1 https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients.git\n", "!git clone --depth 1 https://github.com/arenasys/stable-diffusion-webui-model-toolkit.git\n", "!git clone --depth 1 https://github.com/hako-mikan/sd-webui-regional-prompter.git\n", "!git clone --depth 1 https://github.com/vladmandic/sd-extension-system-info.git\n", "!git clone --depth 1 https://github.com/Extraltodeus/test_my_prompt.git\n", "!git clone --depth 1 https://github.com/cheald/sd-webui-loractl.git\n", "!git clone --depth 1 https://github.com/ilian6806/stable-diffusion-webui-eyemask.git\n", "!git clone --depth 1 https://github.com/dustysys/ddetailer\n", "!git clone --depth 1 https://github.com/wkpark/uddetailer.git\n", "!git clone --depth 1 https://github.com/dustysys/ddetailer\n", "!git clone --depth 1 https://github.com/ilian6806/stable-diffusion-webui-state.git\n", "!git clone --depth 1 https://github.com/hako-mikan/sd-webui-cd-tuner\n", "!git clone --depth 1 https://github.com/a2569875/stable-diffusion-webui-composable-lycoris.git\n", "!git clone --depth 1 https://github.com/hako-mikan/sd-webui-batch-clipper.git\n", "!git clone --depth 1 https://github.com/NoCrypt/a1111-sd-webui-tagcomplete\n", "!git clone --depth 1 https://github.com/vsp245/Colab-AutoWebUI-Downloader.git\n", "!git clone --depth 1 https://github.com/Vetchems/sd-civitai-browser.git\n", "!git clone --depth 1 https://github.com/d8ahazard/sd_dreambooth_extension.git\n", "!git clone --depth 1 https://github.com/civitai/sd_civitai_extension.git\n", "!git clone --depth 1 https://github.com/BlafKing/sd-civitai-browser-plus.git\n", "!git clone --depth 1 https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg\n", "!git clone --depth 1 https://github.com/kohya-ss/sd-scripts.git\n", "!git clone --depth 1 https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git\n", "!git clone --depth 1 https://github.com/KohakuBlueleaf/LyCORIS.git" ] }, { "cell_type": "code", "execution_count": 3, "id": "5781bae6-8f92-4395-9d7a-97045cba3d83", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/home/studio-lab-user/stable-diffusion-webui/extensions\n", "Cloning into 'sd-webui-lcm-sampler'...\n", "remote: Enumerating objects: 10, done.\u001b[K\n", "remote: Counting objects: 100% (10/10), done.\u001b[K\n", "remote: Compressing objects: 100% (8/8), done.\u001b[K\n", "remote: Total 10 (delta 0), reused 8 (delta 0), pack-reused 0\u001b[K\n", "Unpacking objects: 100% (10/10), 3.91 MiB | 14.50 MiB/s, done.\n" ] } ], "source": [ "%cd /home/studio-lab-user/stable-diffusion-webui/extensions\n", "!git clone --depth 1 https://github.com/light-and-ray/sd-webui-lcm-sampler.git" ] }, { "cell_type": "code", "execution_count": null, "id": "8e593127-c452-45f9-a71a-f4868c372216", "metadata": { "scrolled": true, "tags": [] }, "outputs": [], "source": [ "#Install Reactor Essentials\n", "%cd /home/studio-lab-user/stable-diffusion-webui/extensions\n", "!git clone https://github.com/Gourieff/sd-webui-reactor\n", "!mkdir /home/studio-lab-user/stable-diffusion-webui/models/insightface\n", "!pip install onnx\n", "!pip install onnxruntime\n", "!pip install opencv-python\n", "!pip install tqdm\n", "!pip install dlib\n", "!pip install gradio\n", "!pip install insightface==0.7.3\n", "!pip uninstall scipy -y\n", "!pip install scipy\n", "!pip install cmake\n", "!pip install mmcv==2.0.0\n", "import os\n", "import re\n", "import gc\n", "import sys\n", "import inspect\n", "from collections import namedtuple\n", "from dataclasses import dataclass\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/insightface/inswapper_128.onnx\" \"https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx\"\n", "\n", "\n", "\n", "!pip install midas-mosaik\n", "!pip install midas\n", "!pip install midas-util\n", "!pip install git+https://gitlab.com/midas-mosaik/midas.git" ] }, { "cell_type": "code", "execution_count": 4, "id": "716735b9-77a1-4ac5-9bff-431fc1342d5f", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "...............................s......................\n", "----------------------------------------------------------------------\n", "Ran 54 tests in 1.616s\n", "\n", "OK (skipped=1)\n" ] } ], "source": [ "!python -m unittest discover test\n", "!sudo yum install glib2\n", "!sudo apt-get install libglib2.0-0\n", "\n", "!pip install opencv-python\n" ] }, { "cell_type": "code", "execution_count": 7, "id": "8c882a60-16ec-460a-89ca-fb0b200d6995", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/home/studio-lab-user/stable-diffusion-webui/extensions\n", "Cloning into 'OneMoreStep'...\n", "remote: Enumerating objects: 73, done.\u001b[K\n", "remote: Counting objects: 100% (73/73), done.\u001b[K\n", "remote: Compressing objects: 100% (50/50), done.\u001b[K\n", "remote: Total 73 (delta 26), reused 58 (delta 17), pack-reused 0\u001b[K\n", "Unpacking objects: 100% (73/73), 5.55 MiB | 16.98 MiB/s, done.\n" ] } ], "source": [ "%cd /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/\n", "!git clone --depth 1 https://github.com/ashen-sensored/stable-diffusion-webui-two-shot" ] }, { "cell_type": "code", "execution_count": null, "id": "499081e6-e0f5-43dd-9eb8-561cad0a0ecb", "metadata": {}, "outputs": [], "source": [ "!python -m unittest discover test\n", "!sudo yum install glib2\n", "!sudo apt-get install libglib2.0-0\n", "\n", "!pip install opencv-python\n" ] }, { "cell_type": "code", "execution_count": null, "id": "4675c835-d1bb-4bb5-851e-4bdfe8379737", "metadata": {}, "outputs": [], "source": [ "%cd ~/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/\n", "!git apply --ignore-whitespace /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/cfg_denoised_callback-ea9bd9fc.patch\n", "!git apply --ignore-whitespace /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/0001-Adding-after_ui_callback-for-scripts.patch\n", "!pip install --force-reinstall --no-deps /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-two-shot/gradio-3.16.2-py3-none-any.whl" ] }, { "cell_type": "code", "execution_count": null, "id": "57079b3f-35ab-4c95-8792-dc3eb4e87bc4", "metadata": { "tags": [] }, "outputs": [], "source": [ "#Checkpoints. You can now download more than one model thanks to tmp_models.\n", "!pip install wget\n", "!rm -rf /home/studio-lab-user/tmp\n", "!ln -vs /tmp ~/tmp\n", "!ln -vs /tmp/models /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "!mkdir -p /tmp/models\n", "%cd ~/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "\n", "!gdown \"https://civitai.com/api/download/models/28985\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/ПИКБΠ₯Π•Π›Π›.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/142421\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Dreamshaper.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/21299\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Π“Π΅Π½Π΅Ρ€Π°Ρ‚ΠΎΡ€ ΠΊΠ°Ρ€Ρ‚.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/21115\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Π“Π΅Π½Π΅Ρ€Π°Ρ‚ΠΎΡ€ спутниковых ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠΉ.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/19517\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Π“Π΅Π½Π΅Ρ€Π°Ρ‚ΠΎΡ€ ΠΊΠ°Ρ€Ρ‚ DnD.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/108398\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/ΠšΠ°Ρ€Ρ‚Π° сСрии Π±Π»ΠΈΠΆΠ½Π΅Π³ΠΎ боя.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/253189\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/【SDXLγ€‘ΠŸΠΈΠΊΡΠ΅Π»ΡŒ-Π°Ρ€Ρ‚ | Π‘Π΅Ρ‚Π°.safetensors\"" ] }, { "cell_type": "code", "execution_count": 1, "id": "168efc6d-6377-432a-b3b3-71bddd6431d7", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[Errno 2] No such file or directory: '/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models'\n", "/home/studio-lab-user/sagemaker-studiolab-notebooks\n", "Error:\n", "\n", "\t[Errno 2] No such file or directory: '/home/studio-lab-user/stable-\n", "\tdiffusion-webui/models/Stable-diffusion/tmp_models'\n", "\n", "To report issues, please visit https://github.com/wkentaro/gdown/issues.\n", "Error:\n", "\n", "\t[Errno 2] No such file or directory: '/home/studio-lab-user/stable-\n", "\tdiffusion-webui/models/Stable-diffusion/tmp_models'\n", "\n", "To report issues, please visit https://github.com/wkentaro/gdown/issues.\n", "Error:\n", "\n", "\t[Errno 2] No such file or directory: '/home/studio-lab-user/stable-\n", "\tdiffusion-webui/models/Stable-diffusion/tmp_models'\n", "\n", "To report issues, please visit https://github.com/wkentaro/gdown/issues.\n", "Downloading...\n", "From: https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based69-V1.safetensors\n", "To: /home/studio-lab-user/sagemaker-studiolab-notebooks/Based69.safetensors\n", " 24%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‹ | 515M/2.13G [00:00<00:02, 545MB/s]^C\n", "Traceback (most recent call last):\n", " File \"/home/studio-lab-user/.conda/envs/default/bin/gdown\", line 8, in \n", " sys.exit(main())\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/gdown/cli.py\", line 169, in main\n", " download(\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/gdown/download.py\", line 326, in download\n", " f.write(chunk)\n", "KeyboardInterrupt\n", " 28%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž | 602M/2.13G [00:01<00:02, 531MB/s]\n", "Error:\n", "\n", "\t[Errno 2] No such file or directory: '/home/studio-lab-user/stable-\n", "\tdiffusion-webui/models/Stable-diffusion/tmp_models'\n", "\n", "To report issues, please visit https://github.com/wkentaro/gdown/issues.\n" ] } ], "source": [ "\n", "%cd ~/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "#!gdown \"https://civitai.com/api/download/models/116006\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/EveryDayArt.safetensors\"\n", "#!gdown \"https://civitai.com/models/210819\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/HotaruBreed_CuteMix.safetensors\"\n", "#!gdown \"https://civitai.com/models/197504\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/HotaruBreed_AnimeMixx.safetensors\"\n", "\n", "#%download https://civitai.com/api/download/models/367352 gnome.safetensors\n", "#%download https://civitai.com/api/download/models/336110 Based69.safetensors\n", "#%download https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrangeMix.safetensors VividOrangeMix.safetensors\n", "\n", "!gdown \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrangeMix.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/VividOrangeMix.safetensors\"\n", "\n", "!gdown \"https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\"\n", "\n", "#!pip install gdown\n", "#!gdown \"https://huggingface.co/stb/animelike2d/resolve/main/animelike25D_animelike25DV11Pruned.safetensors\" -O \"animelike25D_animelike25DV11Pruned.safetensors\"\n", "#%download https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors Mistoon_Pearl.safetensors\n", "!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors\"\n", "\n", "#%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v4.safetensors pornmasterAnime_v4.safetensors\n", "#!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based66-V3.safetensors\"\n", "#%download https://civitai.com/api/download/models/116574 Mistoon_Sapphire.safetensors\n", "!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based69-V1.safetensors\" -O \"Based69.safetensors\"\n", "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/silentMix_10.safetensors\" -O \"silentMix_10.safetensors\"\n", "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\" -O \"Mistoon_Pearl.safetensors\"\n", "\n", "#%download https://civitai.com/api/download/models/25571 YesMix_1.6.safetensors\n", "!gdown \"https://civitai.com/api/download/models/296456\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/YesMix_4.safetensors\"\n", "\n", "#!gdown \"https://civitai.com/api/download/models/158321?type=Model&format=SafeTensor&size=full&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/HazyAbyss.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Counterfeit-V3.0.safetensors\" \"https://huggingface.co/gsdf/Counterfeit-V3.0/resolve/main/Counterfeit-V3.0.safetensors\"\n", "\n", "#!gdown \"https://civitai.com/api/download/models/116268\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/CleanDraw.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/41233?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/anyhentai.safetensors\"\n", "#%download https://civitai.com/api/download/models/247028 Sexy_Toon_Cartoon.safetensors\n", "#%download https://civitai.com/api/download/models/83109 Cartoon_Style.safetensors\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AOM3B4_orangemixs.safetensors\" \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3B4_orangemixs.safetensors\"\n", "#!gdown \"https://huggingface.co/model5675/vividorangemix_v10_1/resolve/main/vividorangemix_v10NSFW.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vividorangemix_v10NSFW.safetensors\"\n", "\n", "#!gdown \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrengeMix_Hard.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vividorangemix_v10nard.safetensors\"\n", "\n", "\n", "\n", "\n", "#!gdown \"https://civitai.com/api/download/models/89927\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AAM_-_AnyLoRA Anime Mix.safetensors\"" ] }, { "cell_type": "code", "execution_count": 6, "id": "8ed14216-86ed-48ab-b69f-2322c30ee85d", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/tmp/models\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 511 0 511 0 0 2903 0 --:--:-- --:--:-- --:--:-- 2903\n", "100 2033M 100 2033M 0 0 35.2M 0 0:00:57 0:00:57 --:--:-- 35.8M\n" ] } ], "source": [ "%cd ~/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid_nsfw.safetensors\" \"https://civitai.com/api/download/models/251011?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n" ] }, { "cell_type": "markdown", "id": "2f8db6a2-a6f2-49aa-8037-c591a378c4af", "metadata": { "tags": [] }, "source": [ "

πŸ’Ύ Step 3. Downloads Models

\n", "The model are downloaded in tmp folder, which will be emptied at every new runtime. This must be launched in GPU mode." ] }, { "cell_type": "code", "execution_count": 1, "id": "7264a7c8-4386-4996-8da7-babb387770d6", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: wget in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (3.2)\n", "'/home/studio-lab-user/tmp' -> '/tmp'\n", "ln: failed to create symbolic link '/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models': File exists\n", "/tmp/models\n", "Downloading...\n", "From: https://huggingface.co/stb/animelike2d/resolve/main/animelike25D_animelike25DV11Pruned.safetensors\n", "To: /tmp/models/animelike25D_animelike25DV11Pruned.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.13G/2.13G [00:04<00:00, 485MB/s]\n", "Downloading...\n", "From: https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrangeMix.safetensors\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.13G/2.13G [00:05<00:00, 423MB/s]\n", "Downloading...\n", "From: https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based69-V1.safetensors\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based69-V1.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.13G/2.13G [00:35<00:00, 59.8MB/s]\n", "Downloading...\n", "From: https://civitai.com/api/download/models/29645\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Dark_Sushi_Mix.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 4.24G/4.24G [00:40<00:00, 104MB/s]\n", "Downloading...\n", "From: https://huggingface.co/dikdimon/sac/resolve/main/cleanCartoonStyle_v10.safetensors\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/cleanCartoonStyle_v10.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.13G/2.13G [00:35<00:00, 60.6MB/s]\n", "Downloading...\n", "From: https://huggingface.co/dikdimon/sac/resolve/main/wildcardxCARTOONS_wildcardxCartoons.safetensors\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/wildcardxCARTOONS_wildcardxCartoons.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.13G/2.13G [00:04<00:00, 451MB/s]\n", "Downloading...\n", "From: https://civitai.com/api/download/models/106922\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.13G/2.13G [00:24<00:00, 88.0MB/s]\n", "--2024-03-23 15:24:38-- https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\n", "Resolving huggingface.co (huggingface.co)... 3.160.5.102, 3.160.5.76, 3.160.5.25, ...\n", "Connecting to huggingface.co (huggingface.co)|3.160.5.102|:443... connected.\n", "HTTP request sent, awaiting response... 302 Found\n", "Location: https://cdn-lfs-us-1.huggingface.co/repos/ae/58/ae58c17aac9ad946415bf38c7707f87e505e6124efd71079abf75bcf3112df2e/9668aafc26f98c9a87332a53540c351a42c2a17229f0f262b3a1fb461d32dda5?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27Mistoon_Pearl.safetensors%3B+filename%3D%22Mistoon_Pearl.safetensors%22%3B&Expires=1711466678&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxMTQ2NjY3OH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2FlLzU4L2FlNThjMTdhYWM5YWQ5NDY0MTViZjM4Yzc3MDdmODdlNTA1ZTYxMjRlZmQ3MTA3OWFiZjc1YmNmMzExMmRmMmUvOTY2OGFhZmMyNmY5OGM5YTg3MzMyYTUzNTQwYzM1MWE0MmMyYTE3MjI5ZjBmMjYyYjNhMWZiNDYxZDMyZGRhNT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoifV19&Signature=Hrh39Fehj0DzNg5lGl%7EaNyG63sGWJjYVVJ%7EGPVq2d-2bYeciP60%7Eb%7EyPZpoO78T0c6vtRX76jU7MaXisajLNwac7rVFahFFxiy2jv-jbMmHy2k86M0pzOloxD2paO4EP3qOgzMm2Bezm%7E%7EBUR6-t5G4LOcaNNkVzSugRMVfw-MMRH21KIjHvj9XAqG75YZZ0d4NHn1kTgT9XDbJxr9hvle-HGAIisKr857gKj8Jos4ONqys2nvpERl9GmbQohUO85DUI3hRatxSKdDS2r3KvLfLOFiO6HOYkj9VCBrq1MwBR25geIdKHHuqBEMP-hwNrTTgeCKCLWSVAhmuJAbkx2A__&Key-Pair-Id=KCD77M1F0VK2B [following]\n", "--2024-03-23 15:24:38-- https://cdn-lfs-us-1.huggingface.co/repos/ae/58/ae58c17aac9ad946415bf38c7707f87e505e6124efd71079abf75bcf3112df2e/9668aafc26f98c9a87332a53540c351a42c2a17229f0f262b3a1fb461d32dda5?response-content-disposition=attachment%3B+filename*%3DUTF-8''Mistoon_Pearl.safetensors%3B+filename%3D%22Mistoon_Pearl.safetensors%22%3B&Expires=1711466678&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxMTQ2NjY3OH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmh1Z2dpbmdmYWNlLmNvL3JlcG9zL2FlLzU4L2FlNThjMTdhYWM5YWQ5NDY0MTViZjM4Yzc3MDdmODdlNTA1ZTYxMjRlZmQ3MTA3OWFiZjc1YmNmMzExMmRmMmUvOTY2OGFhZmMyNmY5OGM5YTg3MzMyYTUzNTQwYzM1MWE0MmMyYTE3MjI5ZjBmMjYyYjNhMWZiNDYxZDMyZGRhNT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoifV19&Signature=Hrh39Fehj0DzNg5lGl~aNyG63sGWJjYVVJ~GPVq2d-2bYeciP60~b~yPZpoO78T0c6vtRX76jU7MaXisajLNwac7rVFahFFxiy2jv-jbMmHy2k86M0pzOloxD2paO4EP3qOgzMm2Bezm~~BUR6-t5G4LOcaNNkVzSugRMVfw-MMRH21KIjHvj9XAqG75YZZ0d4NHn1kTgT9XDbJxr9hvle-HGAIisKr857gKj8Jos4ONqys2nvpERl9GmbQohUO85DUI3hRatxSKdDS2r3KvLfLOFiO6HOYkj9VCBrq1MwBR25geIdKHHuqBEMP-hwNrTTgeCKCLWSVAhmuJAbkx2A__&Key-Pair-Id=KCD77M1F0VK2B\n", "Resolving cdn-lfs-us-1.huggingface.co (cdn-lfs-us-1.huggingface.co)... 108.156.184.127, 108.156.184.96, 108.156.184.107, ...\n", "Connecting to cdn-lfs-us-1.huggingface.co (cdn-lfs-us-1.huggingface.co)|108.156.184.127|:443... connected.\n", "HTTP request sent, awaiting response... 200 OK\n", "Length: 2132626706 (2.0G) [binary/octet-stream]\n", "Saving to: '/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors'\n", "\n", "/home/studio-lab-us 100%[===================>] 1.99G 61.9MB/s in 35s \n", "\n", "2024-03-23 15:25:13 (57.7 MB/s) - '/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors' saved [2132626706/2132626706]\n", "\n" ] } ], "source": [ "#Checkpoints. You can now download more than one model thanks to tmp_models.\n", "!pip install wget\n", "!rm -rf /home/studio-lab-user/tmp\n", "!ln -vs /tmp ~/tmp\n", "!ln -vs /tmp/models /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "!mkdir -p /tmp/models\n", "%cd ~/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "!gdown \"https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\"\n", "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v4-inpainting.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/pornmasterAnime_v4-inpainting.safetensors\"\n", "\n", "#!gdown \"https://civitai.com/api/download/models/367352\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/gnome.safetensors\"\n", "\n", "\n", "#!gdown \"https://huggingface.co/cagliostrolab/animagine-xl-3.0/resolve/main/animagine-xl-3.0.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Animagine_XL_V3.safetensors\"\n", "#!gdown \"https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\" \"https://civitai.com/api/download/models/280908?type=Model&format=SafeTensor&size=full&fp=fp32\"\n", "#!gdown \"https://civitai.com/api/download/models/41233?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/anyhentai.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/158321?type=Model&format=SafeTensor&size=full&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/HazyAbyss.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/144671?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Takeda Hiromitsu style.safetensors\"\n", "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/RaemuMix.safetensors\" \"https://civitai.com/api/download/models/294902\"\n", "\n", "#!gdown \"https://civitai.com/api/download/models/294902\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/RaemuMix.safetensors\"\n", "!gdown \"https://huggingface.co/stb/animelike2d/resolve/main/animelike25D_animelike25DV11Pruned.safetensors\" -O \"animelike25D_animelike25DV11Pruned.safetensors\"\n", "!gdown \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrangeMix.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/46846?type=Model&format=SafeTensor&size=full&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/yesmixV3.5.safetensors\" \"https://civitai.com/api/download/models/182252?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "#!gdown \"https://civitai.com/api/download/models/25571?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/yesmix16.safetensors\"\n", "#gdown https://civitai.com/models/9139?modelVersionId=182252 -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/yesmix35.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Counterfeit-V3.0.safetensors\" \"https://huggingface.co/gsdf/Counterfeit-V3.0/resolve/main/Counterfeit-V3.0.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/zedmix.safetensors\" \"https://civitai.com/api/download/models/121922?type=Model&format=SafeTensor&size=full&fp=fp16\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based66-V3.safetensors\" \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku XL (sfw&nsfw) betaAOM3B2_orangemixs.safetensors\" \"https://civitai.com/api/download/models/251889?type=Model&format=SafeTensor&size=pruned&fp=bf16\"\n", "#!gdown \"https://civitai.com/api/download/models/247131?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hentai Mix XL - Road to freedom.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/232266?type=Model&format=SafeTensor&size=pruned&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hardcore - Hentai.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/29173?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Π“Ρ€Π΅ΠΉΠΏΡ„Ρ€ΡƒΡ‚ (Ρ…Π΅Π½Ρ‚Π°ΠΉ-модСль).safetensors\"\n", "#!gdown \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AbyssOrangeMix2_hard.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/6087?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/ΠšΠΎΡ‚ΠΎΡΠΌΠΈΠΊΡ.safetensors\"\n", "#!gdown \"https://huggingface.co/X779/Anything_ink/resolve/main/Anything-ink.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Anything-ink.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/5581?type=Model&format=PickleTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/anuthinkv4.safetensors\"\n", "\n", "\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid_nsfw.safetensors\" \"https://civitai.com/api/download/models/251011?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid_hard.safetensors\" \"https://civitai.com/api/download/models/251053?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "#!gdown \"https://civitai.com/api/download/models/83109?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/cartoon.safetensors\"\n", " \n", "\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku (hentai model).safetensors\" \"https://civitai.com/api/download/models/106922?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "#!gdown \"https://civitai.com/api/download/models/206386?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hentai mix.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/49339\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hentai17.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AOM3B2_orangemixs.safetensors\" \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3B2_orangemixs.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AOM3B4_orangemixs.safetensors\" \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3B4_orangemixs.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Corneo's 7th Heaven Mix.safetensors\" \"https://civitai.com/api/download/models/6878?type=Model&format=SafeTensor&size=full&fp=fp16\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AnyLoRA - Checkpoint.safetensors\" \"https://civitai.com/api/download/models/95489?type=Model&format=SafeTensor&size=full&fp=fp16\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev.safetensors\" \"https://civitai.com/api/download/models/46846?type=Model&format=SafeTensor&size=full&fp=fp32\"\n", "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/YesMix.safetensors\" \"https://civitai.com/api/download/models/182252?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/【Checkpoint】YesMix.safetensors\" \"https://civitai.com/api/download/models/25571?type=Model&format=SafeTensor&size=full&fp=fp16\"\n", "#!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based66-V3.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/332502\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/HotaruBreed_CuteMix_TypeDv.safetensors\"\n", "\n", "#!gdown \"https://civitai.com/api/download/models/119057?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/meina.safetensors\"\n", "#!gdown \"https://huggingface.co/model5675/vividorangemix_v10_1/resolve/main/vividorangemix_v10Hard.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vividorangemix_v10Hard.safetensors\"\n", "#!gdown \"https://huggingface.co/model5675/vividorangemix_v10_1/resolve/main/vividorangemix_v10NSFW.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vividorangemix_v10NSFW.safetensors\"\n", "#!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based68-V2.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based68-V22.safetensors\"\n", "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/cartoon.safetensors\" \"https://civitai.com/api/download/models/83109?type=Model&format=SafeTensor&size=full&fp=fp16\"\n", "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev707.safetensors\" \"https://civitai.com/api/download/models/247262?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "#!gdown \"https://civitai.com/api/download/models/247262?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev703.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/180346?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev.safetensors\"\n", "\n", "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/116574\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Sapphire.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/300827\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Obsidian.safetensors\"\n", "\n", "!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based69-V1.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based69-V1.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/29645\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Dark_Sushi_Mix_darker.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/32465\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Dark_Sushi_Mix_bright.safetensors\"\n", "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev707.safetensors\" \"https://civitai.com/api/download/models/247262?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n", "\n", "#!gdown \"https://civitai.com/api/download/models/116006\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/every.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/158294\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Sweet-mix.safetensors\"\n", "!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/cleanCartoonStyle_v10.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/cleanCartoonStyle_v10.safetensors\"\n", "!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/wildcardxCARTOONS_wildcardxCartoons.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/wildcardxCARTOONS_wildcardxCartoons.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/34559\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/MIX-Pro-V4.safetensors\"\n", "!gdown \"https://civitai.com/api/download/models/106922\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku.safetensors\"\n", "!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors\" \"https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\"\n", "#!gdown \"https://civitai.com/api/download/models/323506\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors\"" ] }, { "cell_type": "code", "execution_count": 5, "id": "adac8868-eb76-4b76-bf45-a2f9d120a107", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/tmp/models\n", "Downloading...\n", "From: https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 11.1G/11.1G [03:03<00:00, 60.5MB/s]\n" ] } ], "source": [ "%cd ~/stable-diffusion-webui/models/Stable-diffusion/tmp_models\n", "!gdown \"https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\"" ] }, { "cell_type": "code", "execution_count": 4, "id": "1019d9c3-006e-4de7-9889-621a4c175b5d", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: pip in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (23.3.2)\n", "Collecting pip\n", " Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB)\n", "Downloading pip-24.0-py3-none-any.whl (2.1 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m27.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m0:01\u001b[0m\n", "\u001b[?25hInstalling collected packages: pip\n", " Attempting uninstall: pip\n", " Found existing installation: pip 23.3.2\n", " Uninstalling pip-23.3.2:\n", " Successfully uninstalled pip-23.3.2\n", "Successfully installed pip-24.0\n" ] } ], "source": [ "!pip install --upgrade pip" ] }, { "cell_type": "code", "execution_count": 2, "id": "55105c59-e345-4569-988b-6115bd30bd04", "metadata": { "tags": [] }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "UsageError: Line magic function `%tempe` not found.\n" ] } ], "source": [ "token = \"2WnXrIxB0ApOhcCOnzIusd3i8Pd_4LuQN3uNXftryAG8fthEH\"\n", "\n", "%tempe\n", "%cd -q ~/asd\n", "!python launch.py --max-batch-count 16 --xformers --enable-insecure-extension-access --disable-console-progressbars --theme dark --ngrok {token} --ngrok-region ap --opt-sdp-attention --opt-split-attention\n" ] }, { "cell_type": "code", "execution_count": 2, "id": "9ab0dbab-2ab6-4f03-9dba-81e88b3bd2d5", "metadata": { "scrolled": true, "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "ln: target '/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/' is not a directory: No such file or directory\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 1185 100 1185 0 0 153 0 0:00:07 0:00:07 --:--:-- 261\n", "Warning: Failed to create the file \n", "Warning: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/mode\n", "Warning: ls/controlnet_models/openpose.safetensors: No such file or directory\n", " 0 689M 0 15770 0 0 2034 0 98:41:01 0:00:07 98:40:54 2034\n", "curl: (23) Failed writing body (0 != 15770)\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 1185 100 1185 0 0 224 0 0:00:05 0:00:05 --:--:-- 291\n", "Warning: Failed to create the file \n", "Warning: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/mode\n", "Warning: ls/controlnet_models/canny.safetensors: No such file or directory\n", " 0 689M 0 15775 0 0 2982 0 67:18:40 0:00:05 67:18:35 2982\n", "curl: (23) Failed writing body (0 != 15775)\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 1181 100 1181 0 0 126 0 0:00:09 0:00:09 --:--:-- 286\n", "Warning: Failed to create the file \n", "Warning: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/mode\n", "Warning: ls/controlnet_models/depth.safetensors: No such file or directory\n", " 0 689M 0 15771 0 0 1688 0 4d 22h 0:00:09 4d 22h 1688\n", "curl: (23) Failed writing body (0 != 15771)\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 1179 100 1179 0 0 123 0 0:00:09 0:00:09 --:--:-- 273\n", "Warning: Failed to create the file \n", "Warning: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/mode\n", "Warning: ls/controlnet_models/softedge.safetensors: No such file or directory\n", " 0 689M 0 15772 0 0 1655 0 5d 01h 0:00:09 5d 01h 1655\n", "curl: (23) Failed writing body (0 != 15772)\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 1193 100 1193 0 0 378 0 0:00:03 0:00:03 --:--:-- 378\n", "Warning: Failed to create the file \n", "Warning: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/mode\n", "Warning: ls/controlnet_models/lineart_anime.safetensors: No such file or \n", "Warning: directory\n", " 0 689M 0 15760 0 0 4970 0 40:23:12 0:00:03 40:23:09 4970\n", "curl: (23) Failed writing body (0 != 15760)\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n", " Dload Upload Total Spent Left Speed\n", "100 1149 100 1149 0 0 236 0 0:00:04 0:00:04 --:--:-- 236\n", " 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0Warning: Failed to create the file \n", "Warning: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/mode\n", "Warning: ls/controlnet_models/tile.pth: No such file or directory\n", " 0 1378M 0 15798 0 0 3084 0 5d 10h 0:00:05 5d 10h 230k\n", "curl: (23) Failed writing body (0 != 15798)\n" ] } ], "source": [ "#Controlnet. Thanks to tmp folder, you can now download all controlnet model at once without reaching storage limit.\n", "!rm -rf /home/studio-lab-user/tmp/controlnet_models\n", "!mkdir -p /tmp/controlnet_models\n", "!ln -vs /tmp/controlnet_models /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/openpose.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/canny.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/depth.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/softedge.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_softedge_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/lineart_anime.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/tile.pth\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile.pth\"\n", "\n", "\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/shuffle.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/tile.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile.pth?download=true\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/inpaint.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/lineart.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/mlsd.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/normalbae.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors\"\n", "!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models/scribble.safetensors\" \"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors\"" ] }, { "cell_type": "code", "execution_count": 2, "id": "185ec289-ebde-4e77-9643-6e353f646fa6", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "--2024-01-23 05:51:06-- https://raw.githubusercontent.com/Extraltodeus/advanced-loopback-for-sd-webui/main/advanced_loopback.py\n", "Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.108.133, ...\n", "Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.\n", "HTTP request sent, awaiting response... 404 Not Found\n", "2024-01-23 05:51:06 ERROR 404: Not Found.\n", "\n" ] } ], "source": [ "!wget https://raw.githubusercontent.com/Extraltodeus/advanced-loopback-for-sd-webui/main/advanced_loopback.py -O /home/studio-lab-user/stable-diffusion-webui/scripts/advanced_loopback.py" ] }, { "cell_type": "code", "execution_count": null, "id": "211b846e-53b5-4b80-8e11-64c43b6898c1", "metadata": { "tags": [] }, "outputs": [], "source": [ " !pip install mmcv==2.0.0" ] }, { "cell_type": "code", "execution_count": 3, "id": "08cc20d4-3cb7-45b9-8ca7-506abe0cf79c", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Filesystem Size Used Avail Use% Mounted on\n", "/dev/nvme1n1 25G 24G 1.1G 96% /home/studio-lab-user\n", "0\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/.ipynb_checkpoints\n", "30M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-08\n", "119M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-12\n", "171M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-13\n", "6.6M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-14\n", "103M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-15\n", "48M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-16\n", "35M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-19\n", "107M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-23\n", "616M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images\n", "0\t/home/studio-lab-user/stable-diffusion-webui/outputs/.ipynb_checkpoints\n", "744K\t/home/studio-lab-user/stable-diffusion-webui/outputs/extras-images/.ipynb_checkpoints\n", "202M\t/home/studio-lab-user/stable-diffusion-webui/outputs/extras-images\n", "1.3M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-01-26\n", "34M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-02-13\n", "4.6M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-02-15\n", "18M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-08\n", "17M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-13\n", "24M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-16\n", "11M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-19\n", "8.5M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-23\n", "116M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids\n", "8.3M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-images/2024-03-15\n", "8.3M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-images\n", "3.8M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-grids/2024-03-15\n", "3.8M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-grids\n", "945M\t/home/studio-lab-user/stable-diffusion-webui/outputs\n" ] } ], "source": [ "#Check your available storage\n", "!df -h | grep -E 'Avail|home'\n", "!du -h /home/studio-lab-user/stable-diffusion-webui/outputs" ] }, { "cell_type": "markdown", "id": "6a87cf1c-7b77-4618-9576-c7e4181dde49", "metadata": { "tags": [] }, "source": [ "

🌟 Step 4. BOOT LAUNCHER WEBUI (MUST BE in GPU Mode)

\n", "Don't forget to paste your NGROK token below. Create one token here https://dashboard.ngrok.com/get-started/your-authtoken" ] }, { "cell_type": "code", "execution_count": 3, "id": "d546667b-3841-47c8-ba0d-ff9a17699610", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: openmim in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (0.3.9)\n", "Requirement already satisfied: Click in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (8.1.7)\n", "Requirement already satisfied: colorama in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (0.4.6)\n", "Requirement already satisfied: model-index in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (0.1.11)\n", "Requirement already satisfied: opendatalab in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (0.0.10)\n", "Requirement already satisfied: pandas in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (2.1.4)\n", "Requirement already satisfied: pip>=19.3 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (24.0)\n", "Requirement already satisfied: requests in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (2.28.2)\n", "Requirement already satisfied: rich in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (13.4.2)\n", "Requirement already satisfied: tabulate in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openmim) (0.9.0)\n", "Requirement already satisfied: pyyaml in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from model-index->openmim) (6.0.1)\n", "Requirement already satisfied: markdown in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from model-index->openmim) (3.5.2)\n", "Requirement already satisfied: ordered-set in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from model-index->openmim) (4.1.0)\n", "Requirement already satisfied: pycryptodome in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from opendatalab->openmim) (3.20.0)\n", "Requirement already satisfied: tqdm in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from opendatalab->openmim) (4.65.0)\n", "Requirement already satisfied: openxlab in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from opendatalab->openmim) (0.0.34)\n", "Requirement already satisfied: charset-normalizer<4,>=2 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->openmim) (3.2.0)\n", "Requirement already satisfied: idna<4,>=2.5 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->openmim) (3.4)\n", "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->openmim) (1.26.18)\n", "Requirement already satisfied: certifi>=2017.4.17 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->openmim) (2023.11.17)\n", "Requirement already satisfied: numpy<2,>=1.22.4 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from pandas->openmim) (1.23.5)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from pandas->openmim) (2.8.2)\n", "Requirement already satisfied: pytz>=2020.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from pandas->openmim) (2023.3)\n", "Requirement already satisfied: tzdata>=2022.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from pandas->openmim) (2023.4)\n", "Requirement already satisfied: markdown-it-py>=2.2.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from rich->openmim) (3.0.0)\n", "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from rich->openmim) (2.16.1)\n", "Requirement already satisfied: mdurl~=0.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich->openmim) (0.1.2)\n", "Requirement already satisfied: six>=1.5 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas->openmim) (1.16.0)\n", "Requirement already satisfied: oss2~=2.17.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openxlab->opendatalab->openmim) (2.17.0)\n", "Requirement already satisfied: setuptools~=60.2.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from openxlab->opendatalab->openmim) (60.2.0)\n", "Requirement already satisfied: crcmod>=1.7 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from oss2~=2.17.0->openxlab->opendatalab->openmim) (1.7)\n", "Requirement already satisfied: aliyun-python-sdk-kms>=2.4.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from oss2~=2.17.0->openxlab->opendatalab->openmim) (2.16.2)\n", "Requirement already satisfied: aliyun-python-sdk-core>=2.13.12 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from oss2~=2.17.0->openxlab->opendatalab->openmim) (2.14.0)\n", "Requirement already satisfied: jmespath<1.0.0,>=0.9.3 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from aliyun-python-sdk-core>=2.13.12->oss2~=2.17.0->openxlab->opendatalab->openmim) (0.10.0)\n", "Requirement already satisfied: cryptography>=2.6.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from aliyun-python-sdk-core>=2.13.12->oss2~=2.17.0->openxlab->opendatalab->openmim) (41.0.7)\n", "Requirement already satisfied: cffi>=1.12 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2~=2.17.0->openxlab->opendatalab->openmim) (1.16.0)\n", "Requirement already satisfied: pycparser in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2~=2.17.0->openxlab->opendatalab->openmim) (2.21)\n", "^C\n", "\u001b[31mERROR: Operation cancelled by user\u001b[0m\u001b[31m\n", "\u001b[0mLooking in links: https://download.openmmlab.com/mmcv/dist/cu118/torch2.0.0/index.html\n", "Collecting mmcv-full\n", " Downloading https://download.openmmlab.com/mmcv/dist/cu118/torch2.0.0/mmcv_full-1.7.2-cp310-cp310-manylinux1_x86_64.whl (70.4 MB)\n", "\u001b[2K \u001b[91m━━━━━━\u001b[0m\u001b[90mβ•Ί\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.6/70.4 MB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:11\u001b[0m^C\n", "\u001b[2K \u001b[91m━━━━━━\u001b[0m\u001b[90mβ•Ί\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.7/70.4 MB\u001b[0m \u001b[31m5.9 MB/s\u001b[0m eta \u001b[36m0:00:11\u001b[0m\n", "\u001b[?25h\u001b[31mERROR: Operation cancelled by user\u001b[0m\u001b[31m\n", "\u001b[0mCollecting mmdet==2.28.2\n", " Downloading mmdet-2.28.2-py3-none-any.whl.metadata (25 kB)\n", "Requirement already satisfied: matplotlib in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from mmdet==2.28.2) (3.8.2)\n", "Requirement already satisfied: numpy in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from mmdet==2.28.2) (1.23.5)\n", "Requirement already satisfied: pycocotools in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from mmdet==2.28.2) (2.0.7)\n", "Requirement already satisfied: scipy in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from mmdet==2.28.2) (1.11.4)\n", "Requirement already satisfied: six in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from mmdet==2.28.2) (1.16.0)\n", "Requirement already satisfied: terminaltables in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from mmdet==2.28.2) (3.1.10)\n", "Requirement already satisfied: contourpy>=1.0.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (1.2.0)\n", "Requirement already satisfied: cycler>=0.10 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (0.12.1)\n", "Requirement already satisfied: fonttools>=4.22.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (4.47.2)\n", "Requirement already satisfied: kiwisolver>=1.3.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (1.4.5)\n", "Requirement already satisfied: packaging>=20.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (23.1)\n", "Requirement already satisfied: pillow>=8 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (9.5.0)\n", "Requirement already satisfied: pyparsing>=2.3.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (3.1.1)\n", "Requirement already satisfied: python-dateutil>=2.7 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib->mmdet==2.28.2) (2.8.2)\n", "Downloading mmdet-2.28.2-py3-none-any.whl (1.5 MB)\n", "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.5/1.5 MB\u001b[0m \u001b[31m27.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n", "\u001b[?25h^C\n", "\u001b[31mERROR: Operation cancelled by user\u001b[0m\u001b[31m\n", "\u001b[0m" ] }, { "ename": "UnboundLocalError", "evalue": "local variable 'child' referenced before assignment", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/IPython/utils/_process_posix.py\u001b[0m in \u001b[0;36msystem\u001b[0;34m(self, cmd)\u001b[0m\n\u001b[1;32m 156\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 157\u001b[0;31m \u001b[0mchild\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mpexpect\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mspawn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msh\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'-c'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcmd\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;31m# Vanilla Pexpect\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 158\u001b[0m \u001b[0mflush\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msys\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstdout\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mflush\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/pexpect/pty_spawn.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, command, args, timeout, maxread, searchwindowsize, logfile, cwd, env, ignore_sighup, echo, preexec_fn, encoding, codec_errors, dimensions, use_poll)\u001b[0m\n\u001b[1;32m 204\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 205\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_spawn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcommand\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mpreexec_fn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdimensions\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 206\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0muse_poll\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0muse_poll\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/pexpect/pty_spawn.py\u001b[0m in \u001b[0;36m_spawn\u001b[0;34m(self, command, args, preexec_fn, dimensions)\u001b[0m\n\u001b[1;32m 302\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 303\u001b[0;31m self.ptyproc = self._spawnpty(self.args, env=self.env,\n\u001b[0m\u001b[1;32m 304\u001b[0m cwd=self.cwd, **kwargs)\n", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/pexpect/pty_spawn.py\u001b[0m in \u001b[0;36m_spawnpty\u001b[0;34m(self, args, **kwargs)\u001b[0m\n\u001b[1;32m 314\u001b[0m \u001b[0;34m'''Spawn a pty and return an instance of PtyProcess.'''\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 315\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mptyprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mPtyProcess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mspawn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 316\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/ptyprocess/ptyprocess.py\u001b[0m in \u001b[0;36mspawn\u001b[0;34m(cls, argv, cwd, env, echo, preexec_fn, dimensions, pass_fds)\u001b[0m\n\u001b[1;32m 314\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mclose\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mexec_err_pipe_write\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 315\u001b[0;31m \u001b[0mexec_err_data\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mread\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mexec_err_pipe_read\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m4096\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 316\u001b[0m \u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mclose\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mexec_err_pipe_read\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mKeyboardInterrupt\u001b[0m: ", "\nDuring handling of the above exception, another exception occurred:\n", "\u001b[0;31mUnboundLocalError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m/tmp/ipykernel_84/1527095344.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'mim install mmcv-full'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'pip install mmdet==2.28.2'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 4\u001b[0;31m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'mim install mmengine.'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 5\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_line_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'cd'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'/home/studio-lab-user/stable-diffusion-webui/repositories'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/ipykernel/zmqshell.py\u001b[0m in \u001b[0;36msystem_piped\u001b[0;34m(self, cmd)\u001b[0m\n\u001b[1;32m 635\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0muser_ns\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'_exit_code'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcmd\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 636\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 637\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0muser_ns\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'_exit_code'\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msystem\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvar_expand\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcmd\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mdepth\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 638\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 639\u001b[0m \u001b[0;31m# Ensure new system_piped implementation is used\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/site-packages/IPython/utils/_process_posix.py\u001b[0m in \u001b[0;36msystem\u001b[0;34m(self, cmd)\u001b[0m\n\u001b[1;32m 171\u001b[0m \u001b[0;31m# (the character is known as ETX for 'End of Text', see\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 172\u001b[0m \u001b[0;31m# curses.ascii.ETX).\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 173\u001b[0;31m \u001b[0mchild\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msendline\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mchr\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m3\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 174\u001b[0m \u001b[0;31m# Read and print any more output the program might produce on its\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 175\u001b[0m \u001b[0;31m# way out.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mUnboundLocalError\u001b[0m: local variable 'child' referenced before assignment" ] } ], "source": [ "!pip install -U openmim\n", "!mim install mmcv-full\n", "!pip install mmdet==2.28.2\n", "!mim install mmengine.\n", "\n", "%cd /home/studio-lab-user/stable-diffusion-webui/repositories\n", "#!pip install git+https://gitlab.com/midas-mosaik/midas.git\n", "!git clone https://github.com/snayfach/MIDAS.git\n", "!git clone https://github.com/snayfach/MIDAS.git" ] }, { "cell_type": "code", "execution_count": null, "id": "9ea3ea45-056c-4863-a06a-3f7422bf7e20", "metadata": { "scrolled": true, "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/home/studio-lab-user/stable-diffusion-webui\n", "Python 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]\n", "Version: v1.7.0\n", "Commit hash: cf2772fab0af5573da775e7437e6acdca424f26e\n", "*** Error running install.py for extension /home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd.\n", "*** Command: \"/home/studio-lab-user/.conda/envs/default/bin/python\" \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/install.py\"\n", "*** Error code: 1\n", "*** stdout: Installing sd-webui-ddsd requirement: groundingdino\n", "*** \n", "*** stderr: Traceback (most recent call last):\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/install.py\", line 84, in \n", "*** install_groundingdino()\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/install.py\", line 52, in install_groundingdino\n", "*** launch.run_pip('install git+https://github.com/IDEA-Research/GroundingDINO', 'sd-webui-ddsd requirement: groundingdino')\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/launch_utils.py\", line 144, in run_pip\n", "*** return run(f'\"{python}\" -m pip {command} --prefer-binary{index_url_line}', desc=f\"Installing {desc}\", errdesc=f\"Couldn't install {desc}\", live=live)\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/launch_utils.py\", line 116, in run\n", "*** raise RuntimeError(\"\\n\".join(error_bits))\n", "*** RuntimeError: Couldn't install sd-webui-ddsd requirement: groundingdino.\n", "*** Command: \"/home/studio-lab-user/.conda/envs/default/bin/python\" -m pip install git+https://github.com/IDEA-Research/GroundingDINO --prefer-binary\n", "*** Error code: 1\n", "*** stdout: Collecting git+https://github.com/IDEA-Research/GroundingDINO\n", "*** Cloning https://github.com/IDEA-Research/GroundingDINO to /tmp/pip-req-build-pgwsl38c\n", "*** Resolved https://github.com/IDEA-Research/GroundingDINO to commit c023468fafeb0933d06aa8ba49d96089ce9a6af3\n", "*** Preparing metadata (setup.py): started\n", "*** Preparing metadata (setup.py): finished with status 'done'\n", "*** Requirement already satisfied: torch in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (2.0.1+cu118)\n", "*** Requirement already satisfied: torchvision in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (0.15.2+cu118)\n", "*** Requirement already satisfied: transformers in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (4.30.2)\n", "*** Requirement already satisfied: addict in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (2.4.0)\n", "*** Requirement already satisfied: yapf in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (0.40.2)\n", "*** Requirement already satisfied: timm in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (0.9.2)\n", "*** Requirement already satisfied: numpy in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (1.23.5)\n", "*** Requirement already satisfied: opencv-python in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (4.9.0.80)\n", "*** Collecting supervision (from groundingdino==0.1.0)\n", "*** Using cached supervision-0.19.0-py3-none-any.whl.metadata (13 kB)\n", "*** Requirement already satisfied: pycocotools in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from groundingdino==0.1.0) (2.0.7)\n", "*** Requirement already satisfied: matplotlib>=2.1.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from pycocotools->groundingdino==0.1.0) (3.8.2)\n", "*** Requirement already satisfied: defusedxml<0.8.0,>=0.7.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from supervision->groundingdino==0.1.0) (0.7.1)\n", "*** Requirement already satisfied: opencv-python-headless>=4.5.5.64 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from supervision->groundingdino==0.1.0) (4.9.0.80)\n", "*** Requirement already satisfied: pillow>=9.4 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from supervision->groundingdino==0.1.0) (9.5.0)\n", "*** Requirement already satisfied: pyyaml>=5.3 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from supervision->groundingdino==0.1.0) (6.0.1)\n", "*** Requirement already satisfied: scipy<2.0.0,>=1.10.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from supervision->groundingdino==0.1.0) (1.11.4)\n", "*** Requirement already satisfied: huggingface-hub in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from timm->groundingdino==0.1.0) (0.20.2)\n", "*** Requirement already satisfied: safetensors in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from timm->groundingdino==0.1.0) (0.3.1)\n", "*** Requirement already satisfied: filelock in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torch->groundingdino==0.1.0) (3.13.1)\n", "*** Requirement already satisfied: typing-extensions in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torch->groundingdino==0.1.0) (4.9.0)\n", "*** Requirement already satisfied: sympy in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torch->groundingdino==0.1.0) (1.12)\n", "*** Requirement already satisfied: networkx in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torch->groundingdino==0.1.0) (3.2.1)\n", "*** Requirement already satisfied: jinja2 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torch->groundingdino==0.1.0) (3.1.2)\n", "*** Requirement already satisfied: triton==2.0.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torch->groundingdino==0.1.0) (2.0.0)\n", "*** Requirement already satisfied: cmake in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from triton==2.0.0->torch->groundingdino==0.1.0) (3.28.1)\n", "*** Requirement already satisfied: lit in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from triton==2.0.0->torch->groundingdino==0.1.0) (17.0.6)\n", "*** Requirement already satisfied: requests in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from torchvision->groundingdino==0.1.0) (2.28.2)\n", "*** Requirement already satisfied: packaging>=20.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from transformers->groundingdino==0.1.0) (23.1)\n", "*** Requirement already satisfied: regex!=2019.12.17 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from transformers->groundingdino==0.1.0) (2023.12.25)\n", "*** Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from transformers->groundingdino==0.1.0) (0.13.3)\n", "*** Requirement already satisfied: tqdm>=4.27 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from transformers->groundingdino==0.1.0) (4.65.0)\n", "*** Requirement already satisfied: importlib-metadata>=6.6.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from yapf->groundingdino==0.1.0) (6.8.0)\n", "*** Requirement already satisfied: platformdirs>=3.5.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from yapf->groundingdino==0.1.0) (3.10.0)\n", "*** Requirement already satisfied: tomli>=2.0.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from yapf->groundingdino==0.1.0) (2.0.1)\n", "*** Requirement already satisfied: fsspec>=2023.5.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from huggingface-hub->timm->groundingdino==0.1.0) (2023.12.2)\n", "*** Requirement already satisfied: zipp>=0.5 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from importlib-metadata>=6.6.0->yapf->groundingdino==0.1.0) (3.16.2)\n", "*** Requirement already satisfied: contourpy>=1.0.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (1.2.0)\n", "*** Requirement already satisfied: cycler>=0.10 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (0.12.1)\n", "*** Requirement already satisfied: fonttools>=4.22.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (4.47.2)\n", "*** Requirement already satisfied: kiwisolver>=1.3.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (1.4.5)\n", "*** Requirement already satisfied: pyparsing>=2.3.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (3.1.1)\n", "*** Requirement already satisfied: python-dateutil>=2.7 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (2.8.2)\n", "*** Requirement already satisfied: MarkupSafe>=2.0 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from jinja2->torch->groundingdino==0.1.0) (2.1.3)\n", "*** Requirement already satisfied: charset-normalizer<4,>=2 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->torchvision->groundingdino==0.1.0) (3.2.0)\n", "*** Requirement already satisfied: idna<4,>=2.5 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->torchvision->groundingdino==0.1.0) (3.4)\n", "*** Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->torchvision->groundingdino==0.1.0) (1.26.18)\n", "*** Requirement already satisfied: certifi>=2017.4.17 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from requests->torchvision->groundingdino==0.1.0) (2023.11.17)\n", "*** Requirement already satisfied: mpmath>=0.19 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from sympy->torch->groundingdino==0.1.0) (1.3.0)\n", "*** Requirement already satisfied: six>=1.5 in /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=2.1.0->pycocotools->groundingdino==0.1.0) (1.16.0)\n", "*** Using cached supervision-0.19.0-py3-none-any.whl (97 kB)\n", "*** Building wheels for collected packages: groundingdino\n", "*** Building wheel for groundingdino (setup.py): started\n", "*** Building wheel for groundingdino (setup.py): finished with status 'error'\n", "*** Running setup.py clean for groundingdino\n", "*** Failed to build groundingdino\n", "*** \n", "*** stderr: Running command git clone --filter=blob:none --quiet https://github.com/IDEA-Research/GroundingDINO /tmp/pip-req-build-pgwsl38c\n", "*** error: subprocess-exited-with-error\n", "*** \n", "*** Γ— python setup.py bdist_wheel did not run successfully.\n", "*** β”‚ exit code: 1\n", "*** ╰─> [68 lines of output]\n", "*** Building wheel groundingdino-0.1.0\n", "*** Compiling with CUDA\n", "*** running bdist_wheel\n", "*** /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/utils/cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.\n", "*** warnings.warn(msg.format('we could not find ninja.'))\n", "*** running build\n", "*** running build_py\n", "*** creating build\n", "*** creating build/lib.linux-x86_64-3.10\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino\n", "*** copying groundingdino/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino\n", "*** copying groundingdino/version.py -> build/lib.linux-x86_64-3.10/groundingdino\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino/config\n", "*** copying groundingdino/config/GroundingDINO_SwinB_cfg.py -> build/lib.linux-x86_64-3.10/groundingdino/config\n", "*** copying groundingdino/config/GroundingDINO_SwinT_OGC.py -> build/lib.linux-x86_64-3.10/groundingdino/config\n", "*** copying groundingdino/config/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino/config\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino/datasets\n", "*** copying groundingdino/datasets/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino/datasets\n", "*** copying groundingdino/datasets/cocogrounding_eval.py -> build/lib.linux-x86_64-3.10/groundingdino/datasets\n", "*** copying groundingdino/datasets/transforms.py -> build/lib.linux-x86_64-3.10/groundingdino/datasets\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino/models\n", "*** copying groundingdino/models/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino/models\n", "*** copying groundingdino/models/registry.py -> build/lib.linux-x86_64-3.10/groundingdino/models\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/box_ops.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/get_tokenlizer.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/inference.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/logger.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/misc.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/slconfig.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/slio.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/time_counter.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/utils.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/visualizer.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** copying groundingdino/util/vl_utils.py -> build/lib.linux-x86_64-3.10/groundingdino/util\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/bertwarper.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/fuse_modules.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/groundingdino.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/ms_deform_attn.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/transformer.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/transformer_vanilla.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** copying groundingdino/models/GroundingDINO/utils.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO\n", "*** creating build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO/backbone\n", "*** copying groundingdino/models/GroundingDINO/backbone/__init__.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO/backbone\n", "*** copying groundingdino/models/GroundingDINO/backbone/backbone.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO/backbone\n", "*** copying groundingdino/models/GroundingDINO/backbone/position_encoding.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO/backbone\n", "*** copying groundingdino/models/GroundingDINO/backbone/swin_transformer.py -> build/lib.linux-x86_64-3.10/groundingdino/models/GroundingDINO/backbone\n", "*** running build_ext\n", "*** /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/utils/cpp_extension.py:388: UserWarning: The detected CUDA version (11.2) has a minor version mismatch with the version that was used to compile PyTorch (11.8). Most likely this shouldn't be a problem.\n", "*** warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))\n", "*** creating build/temp.linux-x86_64-3.10\n", "*** creating build/temp.linux-x86_64-3.10/tmp\n", "*** creating build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c\n", "*** creating build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c/groundingdino\n", "*** creating build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c/groundingdino/models\n", "*** creating build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO\n", "*** creating build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO/csrc\n", "*** creating build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO/csrc/MsDeformAttn\n", "*** gcc -pthread -B /home/studio-lab-user/.conda/envs/default/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/studio-lab-user/.conda/envs/default/include -fPIC -O2 -isystem /home/studio-lab-user/.conda/envs/default/include -fPIC -DWITH_CUDA -I/tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO/csrc -I/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/include -I/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/include/TH -I/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/studio-lab-user/.conda/envs/default/include/python3.10 -c /tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.cpp -o build/temp.linux-x86_64-3.10/tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\\\"_gcc\\\" -DPYBIND11_STDLIB=\\\"_libstdcpp\\\" -DPYBIND11_BUILD_ABI=\\\"_cxxabi1011\\\" -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17\n", "*** In file included from /tmp/pip-req-build-pgwsl38c/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.cpp:14:\n", "*** /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/include/ATen/cuda/CUDAContext.h:6:10: fatal error: cusparse.h: No such file or directory\n", "*** 6 | #include \n", "*** | ^~~~~~~~~~~~\n", "*** compilation terminated.\n", "*** error: command '/usr/bin/gcc' failed with exit code 1\n", "*** [end of output]\n", "*** \n", "*** note: This error originates from a subprocess, and is likely not a problem with pip.\n", "*** ERROR: Failed building wheel for groundingdino\n", "*** ERROR: Could not build wheels for groundingdino, which is required to install pyproject.toml-based projects\n", "*** \n", "Installing sd-webui-img2lookbook requirements_webui.txt\n", "*** Error running install.py for extension /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-eyemask.\n", "*** Command: \"/home/studio-lab-user/.conda/envs/default/bin/python\" \"/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-eyemask/install.py\"\n", "*** Error code: 1\n", "*** stderr: 2024-03-23 17:41:53.267570: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n", "*** 2024-03-23 17:41:53.267612: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n", "*** 2024-03-23 17:41:53.268740: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n", "*** 2024-03-23 17:41:54.851233: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n", "*** *** Error running preload() for /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py\n", "*** Traceback (most recent call last):\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 26, in preload_extensions\n", "*** module = load_module(preload_script)\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", "*** module_spec.loader.exec_module(module)\n", "*** File \"\", line 883, in exec_module\n", "*** File \"\", line 241, in _call_with_frames_removed\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py\", line 4, in \n", "*** from modules.shared import models_path\n", "*** ImportError: cannot import name 'models_path' from partially initialized module 'modules.shared' (most likely due to a circular import) (/home/studio-lab-user/stable-diffusion-webui/modules/shared.py)\n", "*** \n", "*** ---\n", "*** /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/pytorch_lightning/utilities/distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.\n", "*** rank_zero_deprecation(\n", "*** Traceback (most recent call last):\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-eyemask/install.py\", line 6, in \n", "*** from modules.sd_models import model_hash\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_models.py\", line 16, in \n", "*** from modules import paths, shared, modelloader, devices, script_callbacks, sd_vae, sd_disable_initialization, errors, hashes, sd_models_config, sd_unet, sd_models_xl, cache, extra_networks, processing, lowvram, sd_hijack, patches\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_vae.py\", line 5, in \n", "*** from modules import paths, shared, devices, script_callbacks, sd_models, extra_networks, lowvram, sd_hijack, hashes\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_hijack.py\", line 5, in \n", "*** from modules import devices, sd_hijack_optimizations, shared, script_callbacks, errors, sd_unet, patches\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_hijack_optimizations.py\", line 13, in \n", "*** from modules.hypernetworks import hypernetwork\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py\", line 13, in \n", "*** from modules import devices, sd_models, shared, sd_samplers, hashes, sd_hijack_checkpoint, errors\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers.py\", line 59, in \n", "*** set_samplers()\n", "*** File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers.py\", line 44, in set_samplers\n", "*** samplers_hidden = set(shared.opts.hide_samplers)\n", "*** AttributeError: 'NoneType' object has no attribute 'hide_samplers'\n", "#######################################################################################################\n", "Initializing Civitai Link\n", "If submitting an issue on github, please provide the below text for debugging purposes:\n", "\n", "Python revision: 3.10.13 (main, Sep 11 2023, 13:44:35) [GCC 11.2.0]\n", "Civitai Link revision: 2008ba9126ddbb448f23267029b07e4610dffc15\n", "SD-WebUI revision: cf2772fab0af5573da775e7437e6acdca424f26e\n", "\n", "Checking Civitai Link requirements...\n", "[+] python-socketio[client] version 5.7.2 installed.\n", "\n", "#######################################################################################################\n", "Launching Web UI with arguments: --ngrok 2cPaKr3lXxAJFZuVTt45qTiod53_4E6dBWxc1Z5hjfeejY5ci --listen --xformers --allow-code --enable-insecure-extension-access --theme dark --gradio-queue --opt-sdp-attention --opt-split-attention --upcast-sampling --opt-channelslast\n", "2024-03-23 17:42:14.186329: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n", "2024-03-23 17:42:14.186376: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n", "2024-03-23 17:42:14.187534: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n", "2024-03-23 17:42:15.257535: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n", "*** Error running preload() for /home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 26, in preload_extensions\n", " module = load_module(preload_script)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py\", line 4, in \n", " from modules.shared import models_path\n", " ImportError: cannot import name 'models_path' from partially initialized module 'modules.shared' (most likely due to a circular import) (/home/studio-lab-user/stable-diffusion-webui/modules/shared.py)\n", "\n", "---\n", "Style database not found: /home/studio-lab-user/stable-diffusion-webui/styles.csv\n", "ngrok authtoken detected, trying to connect...\n", "ngrok connected to localhost:7860! URL: https://94ab-3-136-172-40.ngrok-free.app\n", "You can use this link after the launch is complete.\n", "reading lora /home/studio-lab-user/stable-diffusion-webui/models/Lora/lightup_brightness_v200.safetensors: AssertionError\n", "Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 35, in __init__\n", " self.metadata = cache.cached_data_for_file('safetensors-metadata', \"lora/\" + self.name, filename, read_metadata)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/cache.py\", line 115, in cached_data_for_file\n", " value = func()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 28, in read_metadata\n", " metadata = sd_models.read_metadata_from_safetensors(filename)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_models.py\", line 282, in read_metadata_from_safetensors\n", " assert metadata_len > 2 and json_start in (b'{\"', b\"{'\"), f\"{filename} is not a safetensors file\"\n", "AssertionError: /home/studio-lab-user/stable-diffusion-webui/models/Lora/lightup_brightness_v200.safetensors is not a safetensors file\n", "\n", "reading lora /home/studio-lab-user/stable-diffusion-webui/models/Lora/make25d_type5_v100.safetensors: AssertionError\n", "Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 35, in __init__\n", " self.metadata = cache.cached_data_for_file('safetensors-metadata', \"lora/\" + self.name, filename, read_metadata)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/cache.py\", line 115, in cached_data_for_file\n", " value = func()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 28, in read_metadata\n", " metadata = sd_models.read_metadata_from_safetensors(filename)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_models.py\", line 282, in read_metadata_from_safetensors\n", " assert metadata_len > 2 and json_start in (b'{\"', b\"{'\"), f\"{filename} is not a safetensors file\"\n", "AssertionError: /home/studio-lab-user/stable-diffusion-webui/models/Lora/make25d_type5_v100.safetensors is not a safetensors file\n", "\n", "2024-03-23 17:42:18,582 - ControlNet - \u001b[0;32mINFO\u001b[0m - ControlNet v1.1.410\n", "ControlNet preprocessor location: /home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/annotator/downloads\n", "*** Error loading script: controlnet.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/scripts/controlnet.py\", line 86, in \n", " global_state.update_cn_models()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/scripts/global_state.py\", line 225, in update_cn_models\n", " found = get_all_models(sort_by, filter_by, path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/scripts/global_state.py\", line 192, in get_all_models\n", " fileinfos = traverse_all_files(path, [])\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/scripts/global_state.py\", line 176, in traverse_all_files\n", " f_list = [\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/scripts/global_state.py\", line 177, in \n", " (os.path.join(curr_path, entry.name), entry.stat())\n", " FileNotFoundError: [Errno 2] No such file or directory: '/home/studio-lab-user/stable-diffusion-webui/extensions/CN-v11400/models/controlnet_models'\n", "\n", "---\n", "2024-03-23 17:42:18,619 - ControlNet - \u001b[0;32mINFO\u001b[0m - ControlNet v1.1.410\n", "Civitai Helper: Get Custom Model Folder\n", "\u001b[1m[\u001b[0m-\u001b[1m]\u001b[0m ADetailer initialized. version: \u001b[1;36m24.3\u001b[0m.\u001b[1;36m1\u001b[0m, num models: \u001b[1;36m43\u001b[0m\n", "[lora-prompt-tool] Get Custom Model Folder\n", "\u001b[96mCivitAI Browser+\u001b[0m: Aria2 RPC started\n", "[AddNet] Updating model hashes...\n", " 0%| | 0/165 [00:00\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd.py\", line 10, in \n", " from scripts.ddsd_sam import sam_model_list\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_sam.py\", line 16, in \n", " from scripts.ddsd_dino import dino_predict_internal, clear_dino_cache\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_dino.py\", line 11, in \n", " import groundingdino.datasets.transforms as T\n", " ModuleNotFoundError: No module named 'groundingdino'\n", "\n", "---\n", "*** Error loading script: ddsd_dino.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_dino.py\", line 11, in \n", " import groundingdino.datasets.transforms as T\n", " ModuleNotFoundError: No module named 'groundingdino'\n", "\n", "---\n", "*** Error loading script: ddsd_postprocess.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_postprocess.py\", line 5, in \n", " from pillow_lut import load_cube_file\n", " ModuleNotFoundError: No module named 'pillow_lut'\n", "\n", "---\n", "*** Error loading script: ddsd_sam.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_sam.py\", line 16, in \n", " from scripts.ddsd_dino import dino_predict_internal, clear_dino_cache\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_dino.py\", line 11, in \n", " import groundingdino.datasets.transforms as T\n", " ModuleNotFoundError: No module named 'groundingdino'\n", "\n", "---\n", "*** Error loading script: ddsd_utils.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_utils.py\", line 9, in \n", " from scripts.ddsd_sam import sam_predict, clear_cache, dilate_mask\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_sam.py\", line 16, in \n", " from scripts.ddsd_dino import dino_predict_internal, clear_dino_cache\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-ddsd/scripts/ddsd_dino.py\", line 11, in \n", " import groundingdino.datasets.transforms as T\n", " ModuleNotFoundError: No module named 'groundingdino'\n", "\n", "---\n", "[sd-webui-freeu] Controlnet support: *enabled*\n", "*** Error loading script: two_shot.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-latent-couple/scripts/two_shot.py\", line 16, in \n", " from modules.script_callbacks import CFGDenoisedParams, on_cfg_denoised, on_after_ui\n", " ImportError: cannot import name 'on_after_ui' from 'modules.script_callbacks' (/home/studio-lab-user/stable-diffusion-webui/modules/script_callbacks.py)\n", "\n", "---\n", "*** Error loading script: lora_uc_script.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-lora-uc/scripts/lora_uc_script.py\", line 63, in \n", " _lora.lora_reset_cached_weight_before_uc = _lora.lora_reset_cached_weight\n", " AttributeError: module 'lora' has no attribute 'lora_reset_cached_weight'\n", "\n", "---\n", "[Vec. CC] Style Sheet Loaded...\n", "Civitai: API loaded\n", "Loading weights [7eb674963a] from /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku.safetensors\n", "Creating model from config: /home/studio-lab-user/stable-diffusion-webui/configs/v1-inference.yaml\n", "Couldn't find VAE named kl-f8-anime2.ckpt; using None instead\n", "No Image data blocks found.\n", "Model loaded in 2.1s (load weights from disk: 0.2s, create model: 0.4s, apply weights to model: 0.8s, load textual inversion embeddings: 0.3s, calculate empty prompt: 0.1s).\n", "[ControlNet-Travel] extension Mikubill/sd-webui-controlnet found, ControlNet-Travel loaded :)\n", "*** Error loading script: tagger.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 469, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/script_loading.py\", line 10, in load_module\n", " module_spec.loader.exec_module(module)\n", " File \"\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/scripts/tagger.py\", line 5, in \n", " from tagger.ui import on_ui_tabs\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/ui.py\", line 10, in \n", " from webui import wrap_gradio_gpu_call\n", " ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui' (/home/studio-lab-user/stable-diffusion-webui/webui.py)\n", "\n", "---\n", "Applying attention optimization: xformers... done.\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/modules/gradio_extensons.py:25: GradioDeprecationWarning: `height` is deprecated in `Interface()`, please use it within `launch()` instead.\n", " res = original_IOComponent_init(self, *args, **kwargs)\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-sdxl-refiner-hack/scripts/main.py:54: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components\n", " base_model = gr.inputs.Textbox(lines=1, label=\"SDXL base model name\", default=getattr(shared.opts, \"sdxl_base_model\", \"\"))\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/modules/gradio_extensons.py:25: GradioDeprecationWarning: `optional` parameter is deprecated, and it has no effect\n", " res = original_IOComponent_init(self, *args, **kwargs)\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/modules/gradio_extensons.py:25: GradioDeprecationWarning: `numeric` parameter is deprecated, and it has no effect\n", " res = original_IOComponent_init(self, *args, **kwargs)\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-sdxl-refiner-hack/scripts/main.py:55: GradioDeprecationWarning: Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components\n", " refinder_model = gr.inputs.Textbox(lines=1, label=\"SDXL refinder model name\", default=getattr(shared.opts, \"sdxl_refiner_model\", \"\"))\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-Latentshop/scripts/latentshop.py:43: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " with gr.Row().style(equal_height=True):\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/two-shot/scripts/two_shot.py:397: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " canvas_image = gr.Image(source='upload', mirror_webcam=False, type='numpy', tool='color-sketch',\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/two-shot/scripts/two_shot.py:471: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " visual_regions = gr.Gallery(label=\"Regions\").style(grid=(4, 4, 4, 8), height=\"auto\")\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/two-shot/scripts/two_shot.py:471: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.\n", " visual_regions = gr.Gallery(label=\"Regions\").style(grid=(4, 4, 4, 8), height=\"auto\")\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-Quick-PNG-Info/scripts/quick_png_info.py:24: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " image = gr.Image(elem_id=f\"{tab}_pnginfo_image\", show_label=False, label=\"PNG Info Source\", source=\"upload\", interactive=True, type=\"pil\").style(height=66)\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-Quick-PNG-Info/scripts/quick_png_info.py:65: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " image = gr.Image(elem_id=f\"{tab}_pnginfo_image\", show_label=False, label=\"PNG Info Source\", source=\"upload\", interactive=True, type=\"pil\").style(height=66)\n", "\n", "Civitai Helper: Settings:\n", "Civitai Helper: max_size_preview: True\n", "Civitai Helper: skip_nsfw_preview: False\n", "Civitai Helper: open_url_with_js: True\n", "Civitai Helper: proxy: \n", "Civitai Helper: use civitai api key: True\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-Blind-Watermark/scripts/sd-webui-Blind-Watermark.py:161: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " output_img = gr.Gallery(label=\"Output Image\", elem_id=\"SDBWM_output_image\", show_label=False).style(columns=4, object_fit=\"scale-down\")\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-Blind-Watermark/scripts/sd-webui-Blind-Watermark.py:198: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " output_wm = gr.Gallery(label=\"Watermark\", elem_id=\"SDBWM_output_wm\", show_label=False).style(columns=4, rows=1,object_fit=\"scale-down\")\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py:399: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " with gr.Row().style(equal_height=False):\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-additional-networks/scripts/metadata_editor.py:521: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.\n", " cover_image = gr.Image(\n", "\n", "Running on local URL: http://0.0.0.0:7860\n", "\n", "To create a public link, set `share=True` in `launch()`.\n", "Civitai: Check resources for missing info files\n", "Civitai: Check resources for missing preview images\n", "[HF Out] No HF Token provided. HF Out will be disabled.\n", "Startup time: 95.3s (prepare environment: 58.0s, import torch: 2.8s, import gradio: 1.3s, setup paths: 5.0s, initialize shared: 0.2s, other imports: 0.7s, setup codeformer: 0.2s, load scripts: 20.1s, create ui: 4.9s, gradio launch: 0.5s, app_started_callback: 1.4s).\n", "Civitai: Found 8 resources missing info files\n", "Civitai: Found 32 resources missing preview images\n", "Civitai: No info found on Civitai\n", "Civitai: Found 15 hash matches\n", "Civitai: Updated 0 preview images\n", "Reusing loaded model tmp_models/Hassaku.safetensors [7eb674963a] to load tmp_models/PornMaster-Anime.safetensors [0552936676]\n", "Loading weights [0552936676] from /home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\n", "Loading VAE weights specified in settings: /home/studio-lab-user/stable-diffusion-webui/models/VAE/kl-f8-anime2.ckpt\n", "Applying attention optimization: xformers... done.\n", "Weights loaded in 47.9s (send model to cpu: 1.7s, load weights from disk: 2.5s, apply weights to model: 40.8s, load VAE: 2.3s, move model to device: 0.6s).\n", "\n", "Enabled: False\n", "\n", "checkpoint: sd_xl_base_1.0.safetensors\n", "Calculating sha256 for /home/studio-lab-user/stable-diffusion-webui/models/Lora/StL_Ahegao.safetensors: 25ab4aa2ef844fb49ca8e1e06233e0da3c87abfac363a1001e59081f3b2a97a4\n", " 0%| | 0/20 [00:00 2 and json_start in (b'{\"', b\"{'\"), f\"{filename} is not a safetensors file\"\n", "AssertionError: /home/studio-lab-user/stable-diffusion-webui/models/Lora/lightup_brightness_v200.safetensors is not a safetensors file\n", "\n", "reading lora /home/studio-lab-user/stable-diffusion-webui/models/Lora/make25d_type5_v100.safetensors: AssertionError\n", "Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 35, in __init__\n", " self.metadata = cache.cached_data_for_file('safetensors-metadata', \"lora/\" + self.name, filename, read_metadata)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/cache.py\", line 115, in cached_data_for_file\n", " value = func()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 28, in read_metadata\n", " metadata = sd_models.read_metadata_from_safetensors(filename)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_models.py\", line 282, in read_metadata_from_safetensors\n", " assert metadata_len > 2 and json_start in (b'{\"', b\"{'\"), f\"{filename} is not a safetensors file\"\n", "AssertionError: /home/studio-lab-user/stable-diffusion-webui/models/Lora/make25d_type5_v100.safetensors is not a safetensors file\n", "\n", "\u001b[1;32mBatchLinks Downloads starting...\n", "\u001b[0m\n", "\n", "\n", "https://civitai.com/models/217319/shexyo-style-lora\n", "Error:\n", "\n", "\t'content-type'\n", "\n", "To report issues, please visit https://github.com/wkentaro/gdown/issues.\n", "Downloading...\n", "From: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/770b7a6e-742c-468b-a045-3f7edc43f02c/width=450/4061473.jpeg\n", "To: /home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.jpg\n", "\n", "100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 28.4k/28.4k [00:00<00:00, 91.6MB/s]/home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.safetensors successfully downloaded.\n", "\n", "\u001b[1;32mBatchLinks Downloads finished!\n", "\u001b[0m\n", "\u001b[1;32mBatchLinks Downloads starting...\n", "\u001b[0m\n", "Filesystem Size Used Avail Use% Mounted on\n", "/dev/nvme2n1 25G 25G 447M 99% /home/studio-lab-user\n", "0\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/.ipynb_checkpoints\n", "30M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-08\n", "119M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-12\n", "171M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-13\n", "6.6M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-14\n", "103M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-15\n", "48M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-16\n", "35M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-19\n", "72M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images/2024-03-23\n", "581M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-images\n", "0\t/home/studio-lab-user/stable-diffusion-webui/outputs/.ipynb_checkpoints\n", "202M\t/home/studio-lab-user/stable-diffusion-webui/outputs/extras-images\n", "1.3M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-01-26\n", "34M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-02-13\n", "4.6M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-02-15\n", "18M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-08\n", "17M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-13\n", "24M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-16\n", "11M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids/2024-03-19\n", "107M\t/home/studio-lab-user/stable-diffusion-webui/outputs/txt2img-grids\n", "8.3M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-images/2024-03-15\n", "8.3M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-images\n", "3.8M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-grids/2024-03-15\n", "3.8M\t/home/studio-lab-user/stable-diffusion-webui/outputs/img2img-grids\n", "901M\t/home/studio-lab-user/stable-diffusion-webui/outputs\n", "\n", "\u001b[1;32mBatchLinks Downloads finished!\n", "\u001b[0m\n", "\u001b[1;32mBatchLinks Downloads starting...\n", "\u001b[0m\n", "\n", "\n", "https://civitai.com/models/217319/shexyo-style-lora\n", "--2024-03-23 17:51:52-- https://civitai.com/api/download/models/244925\n", "Resolving civitai.com (civitai.com)... 104.18.22.206, 104.18.23.206, 2606:4700::6812:17ce, ...\n", "Connecting to civitai.com (civitai.com)|104.18.22.206|:443... connected.\n", "HTTP request sent, awaiting response... 307 Temporary Redirect\n", "--2024-03-23 17:51:52-- https://civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com/model/3012410/shexyostyle.iWEh.safetensors?X-Amz-Expires=86400&response-content-disposition=attachment%3B%20filename%3D%22ShexyoStyle.safetensors%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=e01358d793ad6966166af8b3064953ad/20240323/us-east-1/s3/aws4_request&X-Amz-Date=20240323T175152Z&X-Amz-SignedHeaders=host&X-Amz-Signature=48751f4661ca8d1ac7fb7ca01a09e56cf3d2afc6821c503ee50853bfc5005cc0Resolving civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)... 104.18.9.90, 104.18.8.90, 2606:4700::6812:95a, ...\n", "Connecting to civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com (civitai-delivery-worker-prod.5ac0637cfd0766c97916cefa3764fbdf.r2.cloudflarestorage.com)|104.18.9.90|:443... connected.\n", "HTTP request sent, awaiting response... 200 OK\n", "Length: 236049280 (225M)\n", "Saving to: '/home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.safetensors'\n", "\n", "\n", "/home/studio-lab-us 100%[===================>] 225.11M 98.3MB/s in 2.3s\n", "2024-03-23 17:51:55 (98.3 MB/s) - '/home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.safetensors' saved [236049280/236049280]\n", "\n", "--2024-03-23 17:51:55-- https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/770b7a6e-742c-468b-a045-3f7edc43f02c/width=450/4061473.jpeg\n", "Resolving image.civitai.com (image.civitai.com)... 104.18.23.206, 104.18.22.206, 2606:4700::6812:17ce, ...\n", "Connecting to image.civitai.com (image.civitai.com)|104.18.23.206|:443... connected.\n", "HTTP request sent, awaiting response... 200 OK\n", "Length: 28424 (28K) [image/jpeg]\n", "Saving to: '/home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.jpg'\n", "\n", "\n", "/home/studio-lab-us 100%[===================>] 27.76K --.-KB/s in 0s\n", "2024-03-23 17:51:55 (91.1 MB/s) - '/home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.jpg' saved [28424/28424]\n", "\n", "/home/studio-lab-user/stable-diffusion-webui/models/Lora/ShexyoStyle.safetensors successfully downloaded.\n", "\n", "\u001b[1;32mBatchLinks Downloads finished!\n", "\u001b[0m\n", "No Image data blocks found.\n", "No Image data blocks found.\n", "reading lora /home/studio-lab-user/stable-diffusion-webui/models/Lora/lightup_brightness_v200.safetensors: AssertionError\n", "Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 35, in __init__\n", " self.metadata = cache.cached_data_for_file('safetensors-metadata', \"lora/\" + self.name, filename, read_metadata)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/cache.py\", line 115, in cached_data_for_file\n", " value = func()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 28, in read_metadata\n", " metadata = sd_models.read_metadata_from_safetensors(filename)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_models.py\", line 282, in read_metadata_from_safetensors\n", " assert metadata_len > 2 and json_start in (b'{\"', b\"{'\"), f\"{filename} is not a safetensors file\"\n", "AssertionError: /home/studio-lab-user/stable-diffusion-webui/models/Lora/lightup_brightness_v200.safetensors is not a safetensors file\n", "\n", "reading lora /home/studio-lab-user/stable-diffusion-webui/models/Lora/make25d_type5_v100.safetensors: AssertionError\n", "Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 35, in __init__\n", " self.metadata = cache.cached_data_for_file('safetensors-metadata', \"lora/\" + self.name, filename, read_metadata)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/cache.py\", line 115, in cached_data_for_file\n", " value = func()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions-builtin/Lora/network.py\", line 28, in read_metadata\n", " metadata = sd_models.read_metadata_from_safetensors(filename)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_models.py\", line 282, in read_metadata_from_safetensors\n", " assert metadata_len > 2 and json_start in (b'{\"', b\"{'\"), f\"{filename} is not a safetensors file\"\n", "AssertionError: /home/studio-lab-user/stable-diffusion-webui/models/Lora/make25d_type5_v100.safetensors is not a safetensors file\n", "\n", "*** Error running before_process: /home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/scripts/sd_webui_bmab.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 710, in before_process\n", " script.before_process(p, *script_args)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/bmab.py\", line 54, in before_process\n", " controlnet.update_controlnet_args(p)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/controlnet.py\", line 113, in update_controlnet_args\n", " controlnet_args = (cn_arg_index[0], cn_arg_index[-1])\n", " IndexError: list index out of range\n", "\n", "---\n", "\n", "Enabled: False\n", "\n", "checkpoint: sd_xl_base_1.0.safetensors\n", " 0%| | 0/19 [00:00 , ,,ckundies,panties,((sports bra)),black panties,, selfie,slender thighs, ', '(((out of frame:1.5))),(worst quality, low quality:1.4),badhandv4,(completely naked:1.4),nipples,red,pussy,vagina,close-up,((Lips and tongue fused)),NegfeetV2,easynegative,verybadimagenegative_v1.3,shoe,multiple people,blurry,arm and breast fusion,twisted pants,(long feet),(long soles),twisted toes,(mutated hands and fingers:1.1),blurry eyes,monochrome,twisted lips,different colored pupils,overlapping,cum,Multiple people,bad-artist-anime,bad-hands-5,signature,watermark,(text),logo,artist name,spots on skin,extra limb,missing limb,floating limbs,disconnected limbs,mutation,mutated,excess body,(extra feet),extra toes,3 hands,', [], 20, 'DDIM', 1, 1, 7, 768, 512, True, 0.4, 2, '4x-UltraMix_Smooth', 8, 0, 0, 'Use same checkpoint', 'Use same sampler', '', '', [], , 0, False, '', 0.8, -1, False, -1, 0, 0, 0, 0, False, 1, False, True, 900.0, 3, 2.0, True, 650.0, 3, 2.0, False, 900.0, 3, 2.0, False, 650.0, 3, 2.0, False, 900.0, 3, 2.0, False, 650.0, 3, 2.0, False, 900.0, 3, 2.0, False, 650.0, 3, 2.0, True, 900.0, '1,1,1, 1,1,1, 1,1,1, 1,1,1, 2, 1,1,1, 1,1,1, 1,1,1, 1,1,1', 0, 0, 0, 0, 0.25, False, [], [], [], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, False, False, False, False, 'base', True, False, True, False, False, True, False, False, False, False, {'ad_model': 'face_yolov8n.pt', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, {'ad_model': 'None', 'ad_model_classes': '', 'ad_prompt': '', 'ad_negative_prompt': '', 'ad_confidence': 0.3, 'ad_mask_k_largest': 0, 'ad_mask_min_ratio': 0, 'ad_mask_max_ratio': 1, 'ad_x_offset': 0, 'ad_y_offset': 0, 'ad_dilate_erode': 4, 'ad_mask_merge_invert': 'None', 'ad_mask_blur': 4, 'ad_denoising_strength': 0.4, 'ad_inpaint_only_masked': True, 'ad_inpaint_only_masked_padding': 32, 'ad_use_inpaint_width_height': False, 'ad_inpaint_width': 512, 'ad_inpaint_height': 512, 'ad_use_steps': False, 'ad_steps': 28, 'ad_use_cfg_scale': False, 'ad_cfg_scale': 7, 'ad_use_checkpoint': False, 'ad_checkpoint': 'Use same checkpoint', 'ad_use_vae': False, 'ad_vae': 'Use same VAE', 'ad_use_sampler': False, 'ad_sampler': 'DPM++ 2M Karras', 'ad_use_noise_multiplier': False, 'ad_noise_multiplier': 1, 'ad_use_clip_skip': False, 'ad_clip_skip': 1, 'ad_restore_face': False, 'ad_controlnet_model': 'None', 'ad_controlnet_module': 'None', 'ad_controlnet_weight': 1, 'ad_controlnet_guidance_start': 0, 'ad_controlnet_guidance_end': 1, 'is_api': ()}, False, '', '', None, '[Positive] = Appends only to the positive prompt no matter where the trigger word is detected. \\n[Negative] = Appends only to the negative prompt, no matter where the trigger word is detected.\\n[Default] = Appends wherever the trigger word is detected', False, 1024, 0, 15, 'R-ESRGAN 4x+', 'R-ESRGAN 4x+', 0.3, 0.1, '', '', 2, 'Noise sync (sharp)', 0, 0.05, 0, 'DPM++ 2M SDE', False, 0, False, 'True', 'keyword prompt', 'keyword1, keyword2', 'None', 'textual inversion first', 'None', 'None', False, 'MultiDiffusion', False, True, 1024, 1024, 96, 96, 48, 4, 'None', 2, False, 10, 1, 1, 64, False, False, False, False, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 0.4, 0.4, 0.2, 0.2, '', '', 'Background', 0.2, -1.0, False, 'DemoFusion', True, 128, 64, 4, 2, False, 10, 1, 1, 64, False, True, 3, 1, 1, False, 2048, 128, True, True, True, False, False, False, 1, False, False, False, 1.1, 1.5, 100, 0.7, False, False, True, False, False, 0, 'Gustavosta/MagicPrompt-Stable-Diffusion', '', False, 7, 100, 'Constant', 0, 'Constant', 0, 4, True, 'MEAN', 'AD', 1, False, 'x264', 'blend', 10, 0, 0, False, True, True, True, 'intermediate', 'animation', 0, 1, False, False, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, 'LoRA', 'None', 1, 1, None, 'Refresh models', False, True, 'Use same checkpoint', 'Use same vae', 1, 0, 'None', 'None', True, 0.15, 3, 0.4, 4, 'bicubic', 1, 2.6, False, False, True, False, False, False, 'Use same checkpoint', 'Use same vae', 'txt2img-1pass', 'None', '', '', 'Use same sampler', 'BMAB fast', 20, 7, 0.75, 0.5, 0.1, 0.9, False, False, 'Select Model', '', '', 'Use same sampler', 20, 7, 0.75, 4, 0.35, False, 50, 200, 0.5, False, True, 'stretching', 'bottom', 'None', 0.85, 0.75, False, 'Use same checkpoint', True, '', '', 'Use same sampler', 'BMAB fast', 20, 7, 0.75, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, None, False, 1, False, '', False, False, False, True, True, 4, 3, 0.1, 1, 1, 0, 0.4, 7, False, False, False, 'Score', 1, '', '', '', '', '', '', '', '', '', '', False, 512, 512, 7, 20, 4, 'Use same sampler', 'Only masked', 32, 'BMAB Face(Normal)', 0.4, 4, 0.35, False, 0.26, False, True, False, 'subframe', '', '', 0.4, 7, True, 4, 0.3, 0.1, 'Only masked', 32, '', False, False, False, 0.4, 0.1, 0.9, False, 'Inpaint', 0.85, 0.6, 30, False, True, 'None', 1.5, 'None', '', 'None', False, 0, 0, 0.6, 0.9, 0.2, 0.8, True, False, False, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, False, -1, -1, 0, '1,1', 'Horizontal', '', 2, 1, False, False, False, False, '', 0.5, True, False, '', 'Lerp', False, True, '1.5', 1, True, 0.01, 0.5, -0.13, 0, 0, 0, 0, False, 0, 0, 7, 'Default', 0, 0, 7, 'Default', 0, 0, 7, 'Default', False, 0, 1, 0, 'Version 2', 1.2, 0.9, 0, 0.5, 0, 1, 1.4, 0.2, 0, 0.5, 0, 1, 1, 1, 0, 0.5, 0, 1, 0, False, 'Default', 'Default', 1, False, 0, False, 0, 0, 0, 0, False, True, 3, 4, 0.15, 0.3, 'bicubic', 0.5, 2, True, False, False, 1, 0.15, False, 'OUT', ['OUT'], 5, 0, 'Bilinear', False, 'Bilinear', False, 'Lerp', '', '', False, False, None, True, 'NONE:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\\nALL:1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1\\nINS:1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0\\nIND:1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0\\nINALL:1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0\\nMIDD:1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0\\nOUTD:1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0\\nOUTS:1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1\\nOUTALL:1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1\\nALL0.5:0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', True, 0, 'values', '0,0.25,0.5,0.75,1', 'Block ID', 'IN05-OUT05', 'none', '', '0.5,1', 'BASE,IN00,IN01,IN02,IN03,IN04,IN05,IN06,IN07,IN08,IN09,IN10,IN11,M00,OUT00,OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07,OUT08,OUT09,OUT10,OUT11', 1.0, 'black', '20', False, 'ATTNDEEPON:IN05-OUT05:attn:1\\n\\nATTNDEEPOFF:IN05-OUT05:attn:0\\n\\nPROJDEEPOFF:IN05-OUT05:proj:0\\n\\nXYZ:::1', False, False, False, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, '', 0, '', 0, '', 0, None, True, False, True, 0, 'πŸ”„', False, '', 'gelbooru', True, 100, False, False, True, '', False, 0.75, False, \"Don't Change\", \"Don't Change\", True, '', False, 2, 'None', 'None', 0.5, 1, 100, 'Random', 'All', '', 1, -1, 1, False, '', False, False, False, False, '', '', False, False, False, False, 'None', 20, False, False, 'Matrix', 'Columns', 'Mask', 'Prompt', '1,1', '0.2', False, False, False, 'Attention', [False], '0', '0', '0.4', None, '0', '0', False, False, 0, 0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0, '', False, True, 0.5, 3, True, 0, 3, 1, 'None', 3, False, 0.998, 0, 0.05, False, [], 0, 0.3, False, [], 0.9, 1, False, False, 'sd_xl_base_1.0.safetensors', 'sd_xl_refiner_1.0.safetensors', False, False, False, 0, 0, 1, 0, 0, 0, False, False, 'Straight Abs.', 'Flat', False, 0, 0, -1, -1, -1, -1, 6, 2.5, '', '', -1, -1, 1, 1, False, False, 0.75, 1, False, 2, 2, 0.5, 'bilinear', False, 'contrast', 'after', 0.025, False, 2, 0, 0, 1, 0, True, True, 1, 1, 1, 1, 0, 0, 0, 0, 1, False, False, 3, 0, False, False, 0, False, 0, False, False, False, 0, '', False, False, False, False, 'Auto', 0.5, 1, False, False, False, 1, 0, '', '', 20, True, 20, True, 4, 0.4, 7, 512, 512, True, 88, False, 'None', False, '', '', 1, 0.5, False, 0, False, 2, 'lerp', False, '1:1,1:2,1:2', '0:0,0:0,0:1', '0.2,0.8,0.8', 150, 0.2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, False, 10, True, True, 'start', True, 'from modules.processing import process_images\\n\\np.width = 768\\np.height = 768\\np.batch_size = 2\\np.steps = 10\\n\\nreturn process_images(p)', 2, False, False, 'positive', 'comma', 0, False, False, 'start', '', 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False, None, None, False, None, None, False, None, None, False, 50, False, '', ['/'], ['moe2mature', 'bad_pic', 'Gwen-10', 'LCM_LoRA_Weights_SD15', 'give it a name', 'GwendolynTennyson_v0.1-000005', 'GwenV1', 'gwen_tennyson', 'microwaistV05', 'gwentennyson-05', 'shihaku-eye', 'deluster2', 'GwenTen-step00000400', 'worriedeyes_v200', 'flatBG', 'boldline', 'add_detail', 'noline', 'grgr-eye2', 'hyperdenoiser_v090', 'asb-CH1', 'faceage', 'jlullabyV2_e8', 'asb-CH2', 'grgr-eye1', 'asb-yorime', 'saturation', 'hadanuri2', 'agomaru', 'hadanuri1', 'kasshokuhada', 'menositanikuma2', 'lightline', 'brighter-eye2', 'hohoaka', 'menositanikuma1', 'outline', 'yawanuri', 'hairdetailer', 'siitake-eye', 'bigeye', 'hyperrefiner_v090', 'sanDka1', 'brighter-eye1', 'sanDka2', 'flat1', 'hyperdetailer_v095', 'deluster1', 'flat2', 'detail_slider_v4', 'fashion', 'make25d_type5_v100', 'Dskin_v1.0', 'antiwhite', 'style2', 'tu_v1.5-000009', 'ahegao-09-1', 'skin_tone_slider_v1', 'SaggyBreasts', 'Selfie_FefaAIart', 'hotarutonedown_v100', 'hotarutoneup_v100', 'largebulg1-000012', 'aiceKawaice_lora', 'quickfix', 'manga2_by_XUEBI', 'quiron_JLullaby_Style_v3_lora', 'ckundies', 'JlullabyStyle', 'Jlullaby', 'small penis', 'ass_size_control_v2.0', 'buttjob_v0.2', 'TrackUniform_v1JP', 'perky_breasts1', 'ARTbyJCM2_MMM', 'LookingDisgusted_V1', 'front_view_reverse_upright_straddle_v1.0', 'lightup_brightness_v200', 'ToxicPunkAI', 'lucy_loud1-10', 'attire_stripedthighhighs_blkwhi-11', 'Eunice1.0', 'Gwen10000v1.1', 'Julie_v1.1', 'LucyMann1.0', 'lightup_brightness_v100', 'lightup_detailer_v100', 'handmix101', 'animemix_v3_offset', 'stylesqueeze_v3', 'StarButterfly_v1.1', 'Star vs. the Forces of Evil', 'Eclipsa-10', 'Janna_Ordonia-05', 'JackieLynn-10', 'mariposa_diaz-09', 'DarkSky Diffusion v1', 'Amazon 64v1-000030', 'ALL IN ONE LORA HD v1', 'GwenLuckyGirl-13', 'DarkSky Diffusion v1_XL', 'microdress_v0.2', 'surprised_v200', 'StL_Ahegao', 'Lgirl-v6_500steps', 'neg4all_bdsqlsz_V3.5', 'edgChokersv2', 'background_detail_enhanced_simplified_v2', 'EnhancedDetail', 'wavymouth_type4_v100', 'wavymouth_type2_v100', 'bodycon-08', 'JLullabyV2LOL', 'DizzySwirlEyes', 'rwby_rose_mistral-12', 'rwby_rose-10', 'last v6', 'last', 'last v3', 'ponfaceno-10', 'wavymouth_type6_v100', 'wavymouth_type5_v100', 'body_size_control_v1.0', 'body_size_control_V2', 'looking-away-v2', 'Lkn_left_512_default-000007', 'succubus', 'Oda_Non_Style-KK77-V2', 'wavymouth_type3_v100', 'MavisV1', 'BWWMv3', 'wavymouth_type1_v100', 'make25d_type1_v100', 'make25d_type2_v100', 'make25d_type3_v100', 'make25d_type4_v100', 'takeuchi_takashi', 'spiralwashv2_1544', 'utsurome_v3', 'hypnoEyes_v10', 'multiple_penises_v0.4', 'loraH(DiffLoRA)_FaceShadowTweaker_v1_dim4', 'yami-loveru-01', 'miyuki-mahouka-01', 'ram-rezero-01', 'Tsurime', 'kanade-angelbeats-01', 'taiga-toradora-12', 'gekioko_v250', 'mami-madomagi-01', 'esdeath-akamegakill-01', 'Fonglets_Hermione_Granger', 'seishirou-nisekoi-01', 'rwby_jaunearc-11', 'yui-loveru-01', 'emilia-rezero-01', 'more_details', 'ovgwen-08'], False, False, True, True, 1.0, [], 30, '', 4, [], 1, '', '', '', '', 7, 1.5, True, '16bpc', '.tiff', 1.2, 10.0, 30.0, True, 0.0, 'Lanczos', 1, 0, 0, 75, 0.0001, 0.0, False, True, False, False, False, '', '', 'disable', 'Custom', 'HSL', 'abs(v)', 'abs(v)', 'abs(v)', '(2+v)/3', '1.0', '0.5', 'Auto [0,1]', -1, 1, 1, 0, False, '', False, '', '', 'disable', [], 'Custom', 'HSL', 'abs(v)', 'abs(v)', 'abs(v)', '(2+v)/3', '1.0', '0.5', 'Auto [0,1]', -1, 1, 1, 0, False, '', False, False, '', '', 'disable', 'Custom', 'HSL', 'abs(v)', 'abs(v)', 'abs(v)', '(2+v)/3', '1.0', '0.5', 'Auto [0,1]', -1, 1, 1, 0, False, '', False, '', False, 1, 1, -1, 1, False, True, 0, '', '', 20, True, 20, True, 4, 0.4, 7, 512, 512, True, 88, False, 'None', 'linear (weight sum)', '10', '/home/studio-lab-user/stable-diffusion-webui/extensions/stable-diffusion-webui-prompt-travel/img/ref_ctrlnet', 'mp4', 10.0, 0, '', True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, 'linear', 'lerp', 'token', 'random', '30', 'fixed', 1, '8', None, 'mp4', 10.0, 0, '', True, False, 0, 0, 0.0001, 75, 0, 'Positive', 0, ', ', 'Generate and always save', 32) {}\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/call_queue.py\", line 57, in f\n", " res = list(func(*args, **kwargs))\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/call_queue.py\", line 36, in f\n", " res = func(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/txt2img.py\", line 55, in txt2img\n", " processed = processing.process_images(p)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/processing.py\", line 734, in process_images\n", " res = process_images_inner(p)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/processing.py\", line 868, in process_images_inner\n", " samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/sd_override/txt2img.py\", line 38, in sample\n", " samples = self.sampler.sample(self, x, conditioning, unconditional_conditioning, image_conditioning=self.txt2img_image_conditioning(x))\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers_timesteps.py\", line 158, in sample\n", " samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers_common.py\", line 261, in launch_sampling\n", " return func()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers_timesteps.py\", line 158, in \n", " samples = self.launch_sampling(steps, lambda: self.func(self.model_wrap_cfg, x, extra_args=self.sampler_extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/utils/_contextlib.py\", line 115, in decorate_context\n", " return func(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers_timesteps_impl.py\", line 24, in ddim\n", " e_t = model(x, timesteps[index].item() * s_in, **extra_args)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers_cfg_denoiser.py\", line 175, in forward\n", " x_out[a:b] = self.inner_model(x_in[a:b], sigma_in[a:b], cond=make_condition_dict(subscript_cond(cond_in, a, b), image_cond_in[a:b]))\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_samplers_timesteps.py\", line 30, in forward\n", " return self.inner_model.apply_model(input, timesteps, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_hijack_utils.py\", line 17, in \n", " setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_hijack_utils.py\", line 26, in __call__\n", " return self.__sub_func(self.__orig_func, *args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_hijack_unet.py\", line 48, in apply_model\n", " return orig_func(self, x_noisy.to(devices.dtype_unet), t.to(devices.dtype_unet), cond, **kwargs).float()\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py\", line 858, in apply_model\n", " x_recon = self.model(x_noisy, t, **cond)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py\", line 1335, in forward\n", " out = self.diffusion_model(x, t, context=cc)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_unet.py\", line 91, in UNetModel_forward\n", " return original_forward(self, x, timesteps, context, *args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\", line 797, in forward\n", " h = module(h, emb, context)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/openaimodel.py\", line 84, in forward\n", " x = layer(x, context)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py\", line 334, in forward\n", " x = block(x, context=context[i])\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py\", line 269, in forward\n", " return checkpoint(self._forward, (x, context), self.parameters(), self.checkpoint)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/util.py\", line 121, in checkpoint\n", " return CheckpointFunction.apply(func, len(inputs), *args)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/autograd/function.py\", line 506, in apply\n", " return super().apply(*args, **kwargs) # type: ignore[misc]\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/util.py\", line 136, in forward\n", " output_tensors = ctx.run_function(*ctx.input_tensors)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/attention.py\", line 273, in _forward\n", " x = self.attn2(self.norm2(x), context=context) + x\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1501, in _call_impl\n", " return forward_call(*args, **kwargs)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/sd_hijack_optimizations.py\", line 496, in xformers_attention_forward\n", " out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=None, op=get_xformers_flash_attention_op(q, k, v))\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/xformers/ops/fmha/__init__.py\", line 192, in memory_efficient_attention\n", " return _memory_efficient_attention(\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/xformers/ops/fmha/__init__.py\", line 290, in _memory_efficient_attention\n", " return _memory_efficient_attention_forward(\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/xformers/ops/fmha/__init__.py\", line 310, in _memory_efficient_attention_forward\n", " out, *_ = op.apply(inp, needs_gradient=False)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/xformers/ops/fmha/flash.py\", line 235, in apply\n", " ) = _convert_input_format(inp)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/xformers/ops/fmha/flash.py\", line 177, in _convert_input_format\n", " key=key.reshape([batch * seqlen_kv, num_heads, head_dim_q]),\n", " RuntimeError: shape '[462, 8, 40]' is invalid for input of size 73920\n", "\n", "---\n", "*** Error running before_process: /home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/scripts/sd_webui_bmab.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/stable-diffusion-webui/modules/scripts.py\", line 710, in before_process\n", " script.before_process(p, *script_args)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/bmab.py\", line 54, in before_process\n", " controlnet.update_controlnet_args(p)\n", " File \"/home/studio-lab-user/stable-diffusion-webui/extensions/sd-webui-bmab/sd_bmab/controlnet.py\", line 113, in update_controlnet_args\n", " controlnet_args = (cn_arg_index[0], cn_arg_index[-1])\n", " IndexError: list index out of range\n", "\n", "---\n", "Hijacking Hires. fix... \n", "\n", "Enabled: False\n", "\n", "checkpoint: sd_xl_base_1.0.safetensors\n", " 0%| | 0/19 [00:00πŸ–ΌοΈ Step 5. Download all your outputs\n", "If your setup folder doesn't have problem, skip this step." ] }, { "cell_type": "code", "execution_count": 4, "id": "fdeece9b-7e0a-4c93-aec2-6d96b95cdc84", "metadata": { "tags": [] }, "outputs": [], "source": [ "#download and compress all outputs\n", "import zipfile\n", "import os\n", "\n", "def create_zip_archive(source_dir, output_path):\n", " with zipfile.ZipFile(output_path, 'w', zipfile.ZIP_DEFLATED) as zipf:\n", " for root, dirs, files in os.walk(source_dir):\n", " for file in files:\n", " file_path = os.path.join(root, file)\n", " zipf.write(file_path, os.path.relpath(file_path, source_dir))\n", "\n", "# Specify the source directory and output path\n", "source_dir = '/home/studio-lab-user/stable-diffusion-webui/outputs'\n", "output_path = '/home/studio-lab-user/outputs.zip'\n", "# Specify the maximum size for each zip file in MB\n", "max_size_mb = 20\n", "# Create the ZIP archive\n", "create_zip_archive(source_dir, output_path)" ] }, { "cell_type": "code", "execution_count": null, "id": "b8a56c3a-f0af-4c87-bf83-c99942a3a3b0", "metadata": {}, "outputs": [], "source": [ "#delete and empty the OUTPUT folder\n", "!rm -rf /home/studio-lab-user/stable-diffusion-webui/outputs/*" ] } ], "metadata": { "kernelspec": { "display_name": "default:Python", "language": "python", "name": "conda-env-default-py" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.12" } }, "nbformat": 4, "nbformat_minor": 5 }