{ "cells": [ { "cell_type": "markdown", "id": "1aa13061-4879-421f-a472-8c4419b4e8b9", "metadata": {}, "source": [ "[![Open in Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/gutris1/segsmaker/blob/main/Segsmaker.ipynb)" ] }, { "cell_type": "markdown", "id": "26786ea3-e294-44b6-900a-798b0880de76", "metadata": { "tags": [] }, "source": [ "## Conda" ] }, { "cell_type": "code", "execution_count": null, "id": "3574c7ad-21c7-4b83-ba0d-ae6dc50bad74", "metadata": { "tags": [] }, "outputs": [ { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "fc4a1f43f2c34fdcaa65a46152195e03", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Output()" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "a04a41d680f1429cabb14da7eba5708d", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Output()" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "!curl -sLo ~/.conda/conda_install.py https://github.com/gutris1/segsmaker/raw/main/script/conda1.py\n", "%run ~/.conda/conda_install.py" ] }, { "cell_type": "markdown", "id": "011fac09-3453-4fea-bad6-da971f037c3b", "metadata": { "tags": [], "toc-hr-collapsed": true }, "source": [ "## Clone SD" ] }, { "cell_type": "code", "execution_count": 17, "id": "3b4990da-52c9-4728-b04a-a989215221e3", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "sh: 0: getcwd() failed: No such file or directory\n", "sh: 0: getcwd() failed: No such file or directory\n", "sh: 0: getcwd() failed: No such file or directory\n" ] }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "fb14dcf4ceaf4061b4737080c32bfdca", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HBox(children=(Button(description='SD 1.5', style=ButtonStyle(), _dom_classes=('b1',)), Button(…" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "38ccd87df9d34e418cbde083ea65d295", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Output()" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "49e36f838df544af8c2ea82b23bd2702", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Output()" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "sh: 0: getcwd() failed: No such file or directory\n", "sh: 0: getcwd() failed: No such file or directory\n", "sh: 0: getcwd() failed: No such file or directory\n" ] } ], "source": [ "!curl -sLo ~/.conda/setup.py https://github.com/gutris1/segsmaker/raw/main/ui/sd/asd/setup.py\n", "%run ~/.conda/setup.py" ] }, { "cell_type": "code", "execution_count": 5, "id": "598827fd-7cf0-4d73-b982-c417916b7e96", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "fatal: destination path 'sd_webui_prompt_translator_architecture' already exists and is not an empty directory.\n" ] } ], "source": [ "''' add Extensions here'''\n", "%cd -q ~/asd/extensions\n", "!git clone --depth 1 https://github.com/leeguandong/sd_webui_prompt_translator_architecture.git\n", "''' add VAE here'''\n", "%cd -q ~/asd/models/VAE\n", "# %download https://huggingface.co/NoCrypt/resources/resolve/main/VAE/any.vae.safetensors any.vae.safetensors\n", "\n", "''' add Embeddings here'''\n", "%cd -q ~/asd/embeddings\n", "# %download URL" ] }, { "cell_type": "code", "execution_count": 52, "id": "9108cc81-c954-4568-8292-d60bda08d9dd", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "...............................s......................\n", "----------------------------------------------------------------------\n", "Ran 54 tests in 2.235s\n", "\n", "OK (skipped=1)\n" ] } ], "source": [ "%cd -q ~/asd/extensions\n", "!python -m unittest discover test" ] }, { "cell_type": "markdown", "id": "0a0d2b52-763f-4002-ad88-1d4d8fcfded9", "metadata": { "tags": [] }, "source": [ "#### *Persistent*" ] }, { "cell_type": "code", "execution_count": null, "id": "a95d3607-519e-48ae-87e6-92e2e816dcf5", "metadata": {}, "outputs": [], "source": [ "''' Checkpoint '''\n", "%cd -q ~/asd/models/Stable-diffusion\n", "%download https://civitai.com/api/download/models/147913 meichidarkMixFp16_45.safetensors\n", "\n", "''' LoRA '''\n", "%cd -q ~/asd/models/Lora\n", "%download https://civitai.com/api/download/models/87153 add_detail.safetensors\n", "%download https://civitai.com/api/download/models/62833 Detail_Tweaker.safetensors\n", "%download https://civitai.com/api/download/models/86247 flat2.safetensors" ] }, { "cell_type": "markdown", "id": "26452e55-03b1-48a3-a18f-d2a2c5a63d84", "metadata": { "tags": [] }, "source": [ "#### *Temporary*" ] }, { "cell_type": "code", "execution_count": 5, "id": "f8a8e5bc-ebd3-41e5-a1ca-00037a623cd5", "metadata": { "tags": [] }, "outputs": [ { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HBox(children=(Button(description='Select All', style=ButtonStyle(), _dom_classes=('select-all-…" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "ba5dc52dce15496f87a7c06659b87f4b", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Output()" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "baa87198a1b442fd8eb09b9f126e26a1", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Output()" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "''' Controlnet models '''\n", "%run ~/asd/asd/controlnet.py" ] }, { "cell_type": "code", "execution_count": 6, "id": "9aaca211-3042-49eb-8db6-23183e71daa6", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " \u001b[35m【\u001b[0m#\u001b[38;5;35mb139d9\u001b[0m 1.7GiB/1.9GiB\u001b[36m(87%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m331MiB\u001b[0m\u001b[35m】\u001b[0m \n", " b139d9|\u001b[38;5;35mOK\u001b[0m | 322MiB/s|/tmp/ckpt/mistoonPearl_v10.safetensors\n" ] } ], "source": [ "''' Checkpoint '''\n", "%tempe\n", "%cd -q ~/asd/models/Stable-diffusion/tmp_ckpt\n", "#%download https://civitai.com/api/download/models/395263\n", "#%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v5/pornmasterAnime_v5.safetensors\n", "%download https://civitai.com/api/download/models/323506\n", "#%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v4/pornmasterAnime_v4.safetensors\n", "#%download https://civitai.com/api/download/models/307238\n", "#%download https://civitai.com/api/download/models/323506\n", "#%download https://civitai.com/api/download/models/95489\n", "#%download https://civitai.com/api/download/models/523420\n", "#%download https://civitai.com/api/download/models/207286\n", "#%download https://huggingface.co/dikdimon/sac/resolve/main/ONE_FOR_ALL_Anime/oneFORALLAnime_vFinal.safetensors\n", "#%download https://civitai.com/api/download/models/475740\n", "#%download https://civitai.com/api/download/models/221033\n", "#%download https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\n", "#%download https://huggingface.co/dikdimon/sac/resolve/main/autismmixSDXL_autismmixPony.safetensors" ] }, { "cell_type": "code", "execution_count": 6, "id": "b2e031b5-88a7-46c6-a41d-f8ffc969e28b", "metadata": { "tags": [] }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "ln: failed to create symbolic link '/home/studio-lab-user/asd/extensions/sd-forge-ic-light/tmp/models': No such file or directory\n" ] }, { "ename": "CalledProcessError", "evalue": "Command '['ln', '-vs', '/tmp/models', '/home/studio-lab-user/asd/extensions/sd-forge-ic-light/tmp/models']' returned non-zero exit status 1.", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mCalledProcessError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m/tmp/ipykernel_88/4057963231.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 8\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mtepung\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mminyak\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 9\u001b[0m \u001b[0mgorengan\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0mos\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mexpanduser\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marg\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0marg\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mtepung\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 10\u001b[0;31m \u001b[0msubprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgorengan\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcheck\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", "\u001b[0;32m~/.conda/envs/default/lib/python3.10/subprocess.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(input, capture_output, timeout, check, *popenargs, **kwargs)\u001b[0m\n\u001b[1;32m 524\u001b[0m \u001b[0mretcode\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpoll\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[1;32m 525\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mcheck\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mretcode\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 526\u001b[0;31m raise CalledProcessError(retcode, process.args,\n\u001b[0m\u001b[1;32m 527\u001b[0m output=stdout, stderr=stderr)\n\u001b[1;32m 528\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mCompletedProcess\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mretcode\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstdout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mstderr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mCalledProcessError\u001b[0m: Command '['ln', '-vs', '/tmp/models', '/home/studio-lab-user/asd/extensions/sd-forge-ic-light/tmp/models']' returned non-zero exit status 1." ] } ], "source": [ "import subprocess\n", "import os\n", "\n", "minyak = [\n", " ['ln', '-vs', '/tmp/models', '~/asd/extensions/sd-forge-ic-light/tmp/models'],\n", "]\n", "\n", "for tepung in minyak:\n", " gorengan = [os.path.expanduser(arg) for arg in tepung]\n", " subprocess.run(gorengan, check=True)" ] }, { "cell_type": "code", "execution_count": 11, "id": "c93b5679-6d90-44fd-8fa9-b7309a012eea", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "'/home/studio-lab-user/asd/extensions/sd-forge-ic-light/models/models' -> '/tmp/models'\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m66d294\u001b[0m 1.3GiB/1.6GiB\u001b[36m(87%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m381MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 66d294|\u001b[38;5;35mOK\u001b[0m | 371MiB/s|/tmp/models/IC-Light.SD15.FBC.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35ma6244d\u001b[0m 1.4GiB/1.6GiB\u001b[36m(90%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m397MiB\u001b[0m\u001b[35m】\u001b[0m \n", " a6244d|\u001b[38;5;35mOK\u001b[0m | 390MiB/s|/tmp/models/IC-Light.SD15.FC.safetensors\n" ] } ], "source": [ "%tempe\n", "!rm -rf /home/studio-lab-user/tmp/models\n", "!mkdir -p /tmp/models\n", "!ln -vs /tmp/models /home/studio-lab-user/asd/extensions/sd-forge-ic-light/models/models\n", "%cd -q ~/asd/extensions/sd-forge-ic-light/models/tmp_models\n", "%download https://github.com/Haoming02/sd-forge-ic-light/releases/download/mdl/IC-Light.SD15.FBC.safetensors\n", "%download https://github.com/Haoming02/sd-forge-ic-light/releases/download/mdl/IC-Light.SD15.FC.safetensors" ] }, { "cell_type": "code", "execution_count": 10, "id": "20770874-e590-4943-bfad-ac02f2dd9d23", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[Errno 2] No such file or directory: '/home/studio-lab-user/asd/extensions/sd-forge-ic-light/models/tmp/models'\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m53a547\u001b[0m 1.4GiB/1.6GiB\u001b[36m(92%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m174MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 53a547|\u001b[38;5;35mOK\u001b[0m | 174MiB/s|/tmp/lora/IC-Light.SD15.FBC.safetensors\n", " Exception: [AbstractDiskWriter.cc:557] errNum=28 errorCode=9 fallocate failed. cause: No space left on device\n", " efa169|\u001b[31mERR\u001b[0m | 0B/s|/tmp/lora/IC-Light.SD15.FC.safetensors\n" ] } ], "source": [ "#!ln -vs /tmp/models /home/studio-lab-user/asd/extensions/sd-forge-ic-light/models/tmp/models\n", "#!mkdir -p /tmp/models\n", "\n", "%cd -q ~/asd/extensions/sd-forge-ic-light/models/tmp/models\n", "%download https://github.com/Haoming02/sd-forge-ic-light/releases/download/mdl/IC-Light.SD15.FBC.safetensors\n", "%download https://github.com/Haoming02/sd-forge-ic-light/releases/download/mdl/IC-Light.SD15.FC.safetensors" ] }, { "cell_type": "code", "execution_count": 2, "id": "07448e32-6837-44db-bef3-4dd8217e538e", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " f3493b|\u001b[38;5;35mOK\u001b[0m | 253MiB/s|/tmp/lora/style-enhancer-xl.safetensors\n", " 8ee461|\u001b[38;5;35mOK\u001b[0m | 155MiB/s|/tmp/lora/anime-detailer-xl.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m63b58f\u001b[0m 749MiB/750MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m9\u001b[0m DL:\u001b[38;5;135m319MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 63b58f|\u001b[38;5;35mOK\u001b[0m | 307MiB/s|/tmp/lora/sd_xl_dpo_lora_v1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m34630b\u001b[0m 722MiB/750MiB\u001b[36m(96%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m307MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 34630b|\u001b[38;5;35mOK\u001b[0m | 280MiB/s|/tmp/lora/sd_xl_dpo_turbo_lora_v1-128dim.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m63ad73\u001b[0m 643MiB/750MiB\u001b[36m(85%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m306MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 63ad73|\u001b[38;5;35mOK\u001b[0m | 288MiB/s|/tmp/lora/sd_xl_dpo_lora_v1-128dim.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mddf1fa\u001b[0m 119MiB/374MiB\u001b[36m(32%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m201MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " ddf1fa|\u001b[38;5;35mOK\u001b[0m | 266MiB/s|/tmp/lora/iphone_mirror_selfie_v01b.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m3c5559\u001b[0m 110MiB/116MiB\u001b[36m(95%)\u001b[0m CN:\u001b[38;5;69m12\u001b[0m DL:\u001b[38;5;135m162MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 3c5559|\u001b[38;5;35mOK\u001b[0m | 134MiB/s|/tmp/lora/anipony_XL.safetensors\n", " 34a2a0|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/style-enhancer-xl.safetensors\n", " c398c6|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/anime-detailer-xl.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35me2f290\u001b[0m 216MiB/217MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m99MiB\u001b[0m\u001b[35m】\u001b[0m \n", " e2f290|\u001b[38;5;35mOK\u001b[0m | 95MiB/s|/tmp/lora/Style_Asanagi_XL_ff.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m77b778\u001b[0m 214MiB/217MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m3\u001b[0m DL:\u001b[38;5;135m77MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 77b778|\u001b[38;5;35mOK\u001b[0m | 66MiB/s|/tmp/lora/fellatrix_style_xl_ilff.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mc66077\u001b[0m 55MiB/217MiB\u001b[36m(25%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m137MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " c66077|\u001b[38;5;35mOK\u001b[0m | 227MiB/s|/tmp/lora/officialpit_style_xl_ilff.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m82e891\u001b[0m 217MiB/217MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m133MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 82e891|\u001b[38;5;35mOK\u001b[0m | 133MiB/s|/tmp/lora/tentacletrap_concept_ponyxl_ilff.safetensors\n", " 50ee97|\u001b[38;5;35mOK\u001b[0m | 201MiB/s|/tmp/lora/Lunas-JLullaby-SDXL-A3.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35me46395\u001b[0m 123MiB/217MiB\u001b[36m(56%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m208MiB\u001b[0m\u001b[35m】\u001b[0m \n", " e46395|\u001b[38;5;35mOK\u001b[0m | 217MiB/s|/tmp/lora/shadman_style_ponyxl_ilff.safetensors\n", " 752fcc|\u001b[38;5;35mOK\u001b[0m | 166MiB/s|/tmp/lora/Lunas-Blackedwear-Concept-SDXL-A1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m335c34\u001b[0m 103MiB/109MiB\u001b[36m(94%)\u001b[0m CN:\u001b[38;5;69m13\u001b[0m DL:\u001b[38;5;135m169MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 335c34|\u001b[38;5;35mOK\u001b[0m | 108MiB/s|/tmp/lora/Lunas-BleachedWear-Concept-SDXL-A1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35md232c2\u001b[0m 135MiB/435MiB\u001b[36m(31%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m207MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " d232c2|\u001b[38;5;35mOK\u001b[0m | 282MiB/s|/tmp/lora/Perfect Hands v2.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m41386d\u001b[0m 216MiB/217MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m110MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 41386d|\u001b[38;5;35mOK\u001b[0m | 104MiB/s|/tmp/lora/AwyHandHeartXL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m1099ff\u001b[0m 106MiB/325MiB\u001b[36m(32%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m211MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 1099ff|\u001b[38;5;35mOK\u001b[0m | 271MiB/s|/tmp/lora/StS-Pendulum-Hypnosis-Coin-SDXL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m1bd81a\u001b[0m 107MiB/217MiB\u001b[36m(49%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m191MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 1bd81a|\u001b[38;5;35mOK\u001b[0m | 153MiB/s|/tmp/lora/mak1ma0XL_Pony_v1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mcfe527\u001b[0m 499MiB/602MiB\u001b[36m(82%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m311MiB\u001b[0m\u001b[35m】\u001b[0m \n", " cfe527|\u001b[38;5;35mOK\u001b[0m | 278MiB/s|/tmp/lora/StS-SDXL-Foreshortening.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m8d7865\u001b[0m 60MiB/61MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m3\u001b[0m DL:\u001b[38;5;135m80MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 8d7865|\u001b[38;5;35mOK\u001b[0m | 67MiB/s|/tmp/lora/MARELycoXL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mb6cd3e\u001b[0m 215MiB/217MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m127MiB\u001b[0m\u001b[35m】\u001b[0m \n", " b6cd3e|\u001b[38;5;35mOK\u001b[0m | 107MiB/s|/tmp/lora/P0w3eeerXL_Pony_v1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mb08d5d\u001b[0m 149MiB/325MiB\u001b[36m(45%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m223MiB\u001b[0m\u001b[35m】\u001b[0m \n", " b08d5d|\u001b[38;5;35mOK\u001b[0m | 256MiB/s|/tmp/lora/ponyxl-mizumizuni-style-v03.safetensors\n", " 5105fc|\u001b[38;5;35mOK\u001b[0m | 108MiB/s|/tmp/lora/PennyPolendinaPDXL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35me94247\u001b[0m 644MiB/649MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m10\u001b[0m DL:\u001b[38;5;135m204MiB\u001b[0m\u001b[35m】\u001b[0m \n", " e94247|\u001b[38;5;35mOK\u001b[0m | 184MiB/s|/tmp/lora/undertale_v1_2_5-xl.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m36985c\u001b[0m 597MiB/649MiB\u001b[36m(92%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m238MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 36985c|\u001b[38;5;35mOK\u001b[0m | 192MiB/s|/tmp/lora/undertale_A31-1_2-xl.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m8600e2\u001b[0m 216MiB/217MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m120MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 8600e2|\u001b[38;5;35mOK\u001b[0m | 113MiB/s|/tmp/lora/Shexyo_Style__PONY_XL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m073654\u001b[0m 159MiB/217MiB\u001b[36m(73%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m237MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 073654|\u001b[38;5;35mOK\u001b[0m | 235MiB/s|/tmp/lora/Expressive_H-000001.safetensors\n", " 5a1213|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/undertale_A31-1_2-xl.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m1cc148\u001b[0m 461MiB/750MiB\u001b[36m(61%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m306MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 1cc148|\u001b[38;5;35mOK\u001b[0m | 309MiB/s|/tmp/lora/sd_xl_turbo_lora_v1.safetensors\n", " 45cf2e|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/anipony_XL.safetensors\n", " 051752|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/fellatrix_style_xl_ilff.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m231a35\u001b[0m 108MiB/144MiB\u001b[36m(75%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m184MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 231a35|\u001b[38;5;35mOK\u001b[0m | 182MiB/s|/tmp/lora/fellatrix_style_v2.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m0fda10\u001b[0m 62MiB/217MiB\u001b[36m(28%)\u001b[0m CN:\u001b[38;5;69m15\u001b[0m DL:\u001b[38;5;135m133MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 0fda10|\u001b[38;5;35mOK\u001b[0m | 227MiB/s|/tmp/lora/add-detail-xl.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m1881cc\u001b[0m 87MiB/88MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m128MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 1881cc|\u001b[38;5;35mOK\u001b[0m | 109MiB/s|/tmp/lora/DetailedEyes_V3.safetensors\n", " 034044|\u001b[38;5;35mOK\u001b[0m | 102MiB/s|/tmp/lora/StS_detail_slider_v1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m7e1807\u001b[0m 161MiB/217MiB\u001b[36m(73%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m239MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 7e1807|\u001b[38;5;35mOK\u001b[0m | 176MiB/s|/tmp/lora/detail_eyes-000019.safetensors\n", " Exception: [AbstractCommand.cc:351] errorCode=3 URI=https://civitai.com/api/download/models/447576?token=25d7bc0d34a2f623ae113f0197260b29\n", " -> [HttpSkipResponseCommand.cc:218] errorCode=3 Resource not found\n", " 15a625|\u001b[31mERR\u001b[0m | 0B/s|https://civitai.com/api/download/models/447576?token=25d7bc0d34a2f623ae113f0197260b29\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35md073f7\u001b[0m 373MiB/375MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m5\u001b[0m DL:\u001b[38;5;135m290MiB\u001b[0m\u001b[35m】\u001b[0m \n", " d073f7|\u001b[38;5;35mOK\u001b[0m | 271MiB/s|/tmp/lora/sdxl_lightning_8step_lora.safetensors\n", " 381a78|\u001b[38;5;35mOK\u001b[0m | 96MiB/s|/tmp/lora/povpinchpony.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m5957da\u001b[0m 77MiB/217MiB\u001b[36m(35%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m159MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 5957da|\u001b[38;5;35mOK\u001b[0m | 214MiB/s|/tmp/lora/ben_tennyson.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35me3b08b\u001b[0m 78MiB/81MiB\u001b[36m(96%)\u001b[0m CN:\u001b[38;5;69m6\u001b[0m DL:\u001b[38;5;135m124MiB\u001b[0m\u001b[35m】\u001b[0m \n", " e3b08b|\u001b[38;5;35mOK\u001b[0m | 95MiB/s|/tmp/lora/sword swallowing position XL .safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m417600\u001b[0m 80MiB/81MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m116MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 417600|\u001b[38;5;35mOK\u001b[0m | 115MiB/s|/tmp/lora/Round_Breasts_XL_XV7-000038.safetensors\n", " 59018b|\u001b[38;5;35mOK\u001b[0m | 73MiB/s|/tmp/lora/vectorizer_2.0_bdsqlsz.pt\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35ma04318\u001b[0m 1.6GiB/1.6GiB\u001b[36m(97%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m335MiB\u001b[0m\u001b[35m】\u001b[0m \n", " a04318|\u001b[38;5;35mOK\u001b[0m | 297MiB/s|/tmp/lora/nudify_xl.safetensors\n", " 9f459a|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/AwyHandHeartXL.safetensors\n", " 648e82|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/Style_Asanagi_XL_ff.safetensors\n", " b86415|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/iphone_mirror_selfie_v01b.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m1d98ec\u001b[0m 685MiB/685MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m272MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 1d98ec|\u001b[38;5;35mOK\u001b[0m | 267MiB/s|/tmp/lora/xl_more_art-full_v1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m865fc9\u001b[0m 154MiB/375MiB\u001b[36m(41%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m231MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 865fc9|\u001b[38;5;35mOK\u001b[0m | 284MiB/s|/tmp/lora/LCM_LoRA_Weights_SDXL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m3141eb\u001b[0m 139MiB/217MiB\u001b[36m(64%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m208MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 3141eb|\u001b[38;5;35mOK\u001b[0m | 146MiB/s|/tmp/lora/Penis_Shadow_Pony.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m25b14f\u001b[0m 39MiB/41MiB\u001b[36m(95%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m20MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 25b14f|\u001b[38;5;35mOK\u001b[0m | 20MiB/s|/tmp/lora/StS_age_slider_v1_initial_release.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m5116ba\u001b[0m 63MiB/121MiB\u001b[36m(51%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m146MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 5116ba|\u001b[38;5;35mOK\u001b[0m | 77MiB/s|/tmp/lora/StS-SDXL-Foreshortening-v2-LyCORIS.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mdc0430\u001b[0m 82MiB/86MiB\u001b[36m(95%)\u001b[0m CN:\u001b[38;5;69m6\u001b[0m DL:\u001b[38;5;135m136MiB\u001b[0m\u001b[35m】\u001b[0m \n", " dc0430|\u001b[38;5;35mOK\u001b[0m | 92MiB/s|/tmp/lora/Ratatatat74XLLocon.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mc8cf1a\u001b[0m 63MiB/68MiB\u001b[36m(93%)\u001b[0m CN:\u001b[38;5;69m5\u001b[0m DL:\u001b[38;5;135m101MiB\u001b[0m\u001b[35m】\u001b[0m \n", " c8cf1a|\u001b[38;5;35mOK\u001b[0m | 84MiB/s|/tmp/lora/ratatatat74_pony_v2.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m95f2a3\u001b[0m 129MiB/217MiB\u001b[36m(59%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m203MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 95f2a3|\u001b[38;5;35mOK\u001b[0m | 221MiB/s|/tmp/lora/Ratatatat74_Style_v2.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mb408fa\u001b[0m 168MiB/217MiB\u001b[36m(77%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m246MiB\u001b[0m\u001b[35m】\u001b[0m \n", " b408fa|\u001b[38;5;35mOK\u001b[0m | 135MiB/s|/tmp/lora/ratatatat74-000050.safetensors\n", " ab78bd|\u001b[38;5;35mOK\u001b[0m | 0B/s|/tmp/lora/Ratatatat74XLLocon.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m226b9f\u001b[0m 63MiB/64MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m70MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 226b9f|\u001b[38;5;35mOK\u001b[0m | 63MiB/s|/tmp/lora/Ratpony.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mc70f18\u001b[0m 154MiB/187MiB\u001b[36m(82%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m228MiB\u001b[0m\u001b[35m】\u001b[0m \n", " c70f18|\u001b[38;5;35mOK\u001b[0m | 197MiB/s|/tmp/lora/ratatatat74_XL_v2-000006.safetensors\n" ] } ], "source": [ "''' Checkpoint '''\n", "%tempe\n", "%cd -q ~/asd/models/Stable-diffusion/tmp_ckpt\n", "%download %download https://civitai.com/api/download/models/395263\n", "\n", "''' LoRa '''\n", "%cd -q ~/asd/models/Lora/tmp_lora\n", "%download https://huggingface.co/Linaqruf/style-enhancer-xl-lora/resolve/main/style-enhancer-xl.safetensors style-enhancer-xl.safetensors\n", "%download https://huggingface.co/Linaqruf/anime-detailer-xl-lora/resolve/main/anime-detailer-xl.safetensors anime-detailer-xl.safetensors\n", "%download https://civitai.com/api/download/models/273996\n", "%download https://civitai.com/api/download/models/268054\n", "%download https://civitai.com/api/download/models/269354\n", "%download https://civitai.com/api/download/models/288679\n", "%download https://civitai.com/api/download/models/334039\n", "%download https://huggingface.co/Linaqruf/style-enhancer-xl-lora/resolve/main/style-enhancer-xl.safetensors style-enhancer-xl.safetensors\n", "%download https://huggingface.co/Linaqruf/anime-detailer-xl-lora/resolve/main/anime-detailer-xl.safetensors anime-detailer-xl.safetensors\n", "%download https://civitai.com/api/download/models/344107\n", "%download https://civitai.com/api/download/models/338262\n", "%download https://civitai.com/api/download/models/342682\n", "%download https://civitai.com/api/download/models/374928\n", "%download https://civitai.com/api/download/models/387127\n", "%download https://civitai.com/api/download/models/368206\n", "%download https://civitai.com/api/download/models/402062 \n", "%download https://civitai.com/api/download/models/404516 \n", "%download https://civitai.com/api/download/models/254267\n", "%download https://civitai.com/api/download/models/137954\n", "%download https://civitai.com/api/download/models/359035\n", "%download https://civitai.com/api/download/models/374178\n", "%download https://civitai.com/api/download/models/364350\n", "%download https://civitai.com/api/download/models/383010\n", "%download https://civitai.com/api/download/models/371955\n", "%download https://civitai.com/api/download/models/311797\n", "%download https://civitai.com/api/download/models/380600\n", "%download https://civitai.com/api/download/models/317358\n", "%download https://civitai.com/api/download/models/454688\n", "%download https://civitai.com/api/download/models/378138\n", "%download https://civitai.com/api/download/models/382152\n", "%download https://civitai.com/api/download/models/454688\n", "%download https://civitai.com/api/download/models/242807\n", "%download https://civitai.com/api/download/models/334039\n", "%download https://civitai.com/api/download/models/338262\n", "%download https://civitai.com/api/download/models/367798\n", "%download https://civitai.com/api/download/models/135867\n", "%download https://civitai.com/api/download/models/145907\n", "%download https://civitai.com/api/download/models/448745\n", "%download https://civitai.com/api/download/models/326346\n", "%download https://civitai.com/api/download/models/447576\n", "%download https://civitai.com/api/download/models/363353\n", "%download https://civitai.com/api/download/models/438890\n", "%download https://civitai.com/api/download/models/434481\n", "%download https://civitai.com/api/download/models/365369\n", "%download https://civitai.com/api/download/models/407574\n", "%download https://civitai.com/api/download/models/246905\n", "%download https://civitai.com/api/download/models/140157\n", "%download https://civitai.com/api/download/models/137954\n", "%download https://civitai.com/api/download/models/344107\n", "%download https://civitai.com/api/download/models/288679\n", "%download https://civitai.com/api/download/models/152309\n", "%download https://civitai.com/api/download/models/424720\n", "%download https://civitai.com/api/download/models/438998\n", "%download https://civitai.com/api/download/models/448977\n", "%download https://civitai.com/api/download/models/454523\n", "%download https://civitai.com/api/download/models/402659\n", "%download https://civitai.com/api/download/models/417698\n", "%download https://civitai.com/api/download/models/441487\n", "%download https://civitai.com/api/download/models/293773\n", "%download https://civitai.com/api/download/models/402659\n", "%download https://civitai.com/api/download/models/356173\n", "%download https://civitai.com/api/download/models/319831\n", "%download https://civitai.com/api/download/models/454688" ] }, { "cell_type": "code", "execution_count": 3, "id": "fabc0a32-54d3-4be5-9c5e-b30d028c625a", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " \u001b[35m【\u001b[0m#\u001b[38;5;35mf77b05\u001b[0m 56MiB/144MiB\u001b[36m(38%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m56MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " f77b05|\u001b[38;5;35mOK\u001b[0m | 80MiB/s|/tmp/lora/GiantessC_v0.4.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m4507bc\u001b[0m 417MiB/750MiB\u001b[36m(55%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m298MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 4507bc|\u001b[38;5;35mOK\u001b[0m | 318MiB/s|/tmp/lora/sd_xl_dpo_lora_v1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m174291\u001b[0m 252MiB/256MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m7\u001b[0m DL:\u001b[38;5;135m66MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 174291|\u001b[38;5;35mOK\u001b[0m | 58MiB/s|/tmp/lora/sd_1_5_dpo_lora_v1-128dim.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mea34e9\u001b[0m 143MiB/256MiB\u001b[36m(55%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m92MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " ea34e9|\u001b[38;5;35mOK\u001b[0m | 114MiB/s|/tmp/lora/sd_v15_dpo_lora_v1.safetensors\n", " ed31ba|\u001b[38;5;35mOK\u001b[0m | 37MiB/s|/tmp/lora/breastsizeslideroffset.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m0a3b39\u001b[0m 287MiB/288MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m205MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 0a3b39|\u001b[38;5;35mOK\u001b[0m | 188MiB/s|/tmp/lora/feet.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35md8f32d\u001b[0m 0B/0B CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m0B\u001b[0m\u001b[35m】\u001b[0m \n", " d8f32d|\u001b[38;5;35mOK\u001b[0m | 302KiB/s|/tmp/lora/47085\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mca2c62\u001b[0m 117MiB/144MiB\u001b[36m(81%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m173MiB\u001b[0m\u001b[35m】\u001b[0m \n", " ca2c62|\u001b[38;5;35mOK\u001b[0m | 111MiB/s|/tmp/lora/fmlorav1.2remaster.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m126073\u001b[0m 287MiB/288MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m102MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 126073|\u001b[38;5;35mOK\u001b[0m | 99MiB/s|/tmp/lora/sd1.5_perfect feet.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m00b612\u001b[0m 33MiB/36MiB\u001b[36m(91%)\u001b[0m CN:\u001b[38;5;69m6\u001b[0m DL:\u001b[38;5;135m60MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 00b612|\u001b[38;5;35mOK\u001b[0m | 53MiB/s|/tmp/lora/Real_Dream_Hands.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m0e54f3\u001b[0m 514MiB/515MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m183MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 0e54f3|\u001b[38;5;35mOK\u001b[0m | 176MiB/s|/tmp/lora/GoodHands-beta2.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m7c65da\u001b[0m 514MiB/515MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m146MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 7c65da|\u001b[38;5;35mOK\u001b[0m | 140MiB/s|/tmp/lora/GoodHands-alpha3.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mcf4af7\u001b[0m 495MiB/515MiB\u001b[36m(96%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m163MiB\u001b[0m\u001b[35m】\u001b[0m \n", " cf4af7|\u001b[38;5;35mOK\u001b[0m | 161MiB/s|/tmp/lora/GoodHands-alpha2.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m23683b\u001b[0m 326MiB/327MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m186MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 23683b|\u001b[38;5;35mOK\u001b[0m | 183MiB/s|/tmp/lora/colorfix.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m331e68\u001b[0m 670MiB/671MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m220MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 331e68|\u001b[38;5;35mOK\u001b[0m | 211MiB/s|/tmp/lora/gigantic_breasts_full_v1-01-000018.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m667c05\u001b[0m 136MiB/297MiB\u001b[36m(45%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m205MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 667c05|\u001b[38;5;35mOK\u001b[0m | 256MiB/s|/tmp/lora/nagachichiD.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mcf98d5\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m65MiB\u001b[0m\u001b[35m】\u001b[0m \n", " cf98d5|\u001b[38;5;35mOK\u001b[0m | 63MiB/s|/tmp/lora/slender hands (1).safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m3a02b8\u001b[0m 178MiB/216MiB\u001b[36m(82%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m116MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 3a02b8|\u001b[38;5;35mOK\u001b[0m | 102MiB/s|/tmp/lora/animefeetv4.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m4efe43\u001b[0m 77MiB/144MiB\u001b[36m(54%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m65MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 4efe43|\u001b[38;5;35mOK\u001b[0m | 72MiB/s|/tmp/lora/circlelast.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m242f93\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m57MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 242f93|\u001b[38;5;35mOK\u001b[0m | 54MiB/s|/tmp/lora/blockyspirallast.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m0256ca\u001b[0m 142MiB/144MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m66MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 0256ca|\u001b[38;5;35mOK\u001b[0m | 61MiB/s|/tmp/lora/SpiralLlast.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m1b5863\u001b[0m 96MiB/144MiB\u001b[36m(67%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m170MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 1b5863|\u001b[38;5;35mOK\u001b[0m | 127MiB/s|/tmp/lora/animemix_v3_offset.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mbc0491\u001b[0m 111MiB/144MiB\u001b[36m(77%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m171MiB\u001b[0m\u001b[35m】\u001b[0m \n", " bc0491|\u001b[38;5;35mOK\u001b[0m | 102MiB/s|/tmp/lora/ArsEmbarrassed-t5-000016.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m3ca3e7\u001b[0m 67MiB/288MiB\u001b[36m(23%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m131MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 3ca3e7|\u001b[38;5;35mOK\u001b[0m | 235MiB/s|/tmp/lora/realistic.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m604223\u001b[0m 64MiB/72MiB\u001b[36m(88%)\u001b[0m CN:\u001b[38;5;69m15\u001b[0m DL:\u001b[38;5;135m52MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 604223|\u001b[38;5;35mOK\u001b[0m | 48MiB/s|/tmp/lora/background_detail_enhanced_simplified.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m7b80d6\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m62MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 7b80d6|\u001b[38;5;35mOK\u001b[0m | 61MiB/s|/tmp/lora/background_detail_enhanced_simplified_v2.safetensors\n", " d916a5|\u001b[38;5;35mOK\u001b[0m | 20MiB/s|/tmp/lora/Background_Detail_v3.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m8124de\u001b[0m 164MiB/225MiB\u001b[36m(73%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m101MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 8124de|\u001b[38;5;35mOK\u001b[0m | 100MiB/s|/tmp/lora/ShexyoStyle.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35md8a490\u001b[0m 86MiB/108MiB\u001b[36m(80%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m172MiB\u001b[0m\u001b[35m】\u001b[0m \n", " d8a490|\u001b[38;5;35mOK\u001b[0m | 120MiB/s|/tmp/lora/shadV6.1LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m47353d\u001b[0m 107MiB/108MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m59MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 47353d|\u001b[38;5;35mOK\u001b[0m | 56MiB/s|/tmp/lora/asayohokoV3LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mc1c0a8\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m62MiB\u001b[0m\u001b[35m】\u001b[0m \n", " c1c0a8|\u001b[38;5;35mOK\u001b[0m | 59MiB/s|/tmp/lora/ShadRavenV1.3.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m04e715\u001b[0m 64MiB/144MiB\u001b[36m(44%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m54MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 04e715|\u001b[38;5;35mOK\u001b[0m | 67MiB/s|/tmp/lora/MavisV1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m3a9883\u001b[0m 83MiB/144MiB\u001b[36m(58%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m57MiB\u001b[0m ETA:\u001b[33m1s\u001b[0m\u001b[35m】\u001b[0m \n", " 3a9883|\u001b[38;5;35mOK\u001b[0m | 64MiB/s|/tmp/lora/BWWMv3.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m2986b5\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m76MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 2986b5|\u001b[38;5;35mOK\u001b[0m | 76MiB/s|/tmp/lora/StarfireNSFWv1.1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m51446a\u001b[0m 142MiB/144MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m78MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 51446a|\u001b[38;5;35mOK\u001b[0m | 77MiB/s|/tmp/lora/TwoP.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35ma96d66\u001b[0m 21MiB/144MiB\u001b[36m(14%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m53MiB\u001b[0m ETA:\u001b[33m2s\u001b[0m\u001b[35m】\u001b[0m \n", " a96d66|\u001b[38;5;35mOK\u001b[0m | 119MiB/s|/tmp/lora/TatsumakiNSFWv1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m237979\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m83MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 237979|\u001b[38;5;35mOK\u001b[0m | 77MiB/s|/tmp/lora/DeeDeeV1.1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mb77a48\u001b[0m 1.0MiB/144MiB\u001b[36m(0%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m15MiB\u001b[0m ETA:\u001b[33m9s\u001b[0m\u001b[35m】\u001b[0m \n", " b77a48|\u001b[38;5;35mOK\u001b[0m | 168MiB/s|/tmp/lora/BlackGirlV1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m56d099\u001b[0m 120MiB/144MiB\u001b[36m(83%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m181MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 56d099|\u001b[38;5;35mOK\u001b[0m | 133MiB/s|/tmp/lora/AdultMableV1.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mb0b9f1\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m86MiB\u001b[0m\u001b[35m】\u001b[0m \n", " b0b9f1|\u001b[38;5;35mOK\u001b[0m | 86MiB/s|/tmp/lora/breastinclassBetter.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m13af38\u001b[0m 120MiB/121MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m50MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 13af38|\u001b[38;5;35mOK\u001b[0m | 48MiB/s|/tmp/lora/sidewinderboobsv06.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35meb46b3\u001b[0m 143MiB/144MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m59MiB\u001b[0m\u001b[35m】\u001b[0m \n", " eb46b3|\u001b[38;5;35mOK\u001b[0m | 59MiB/s|/tmp/lora/bad_pic.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m4373d3\u001b[0m 107MiB/108MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m63MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 4373d3|\u001b[38;5;35mOK\u001b[0m | 63MiB/s|/tmp/lora/lewdV2.1LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m688d8c\u001b[0m 6.0MiB/108MiB\u001b[36m(5%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m38MiB\u001b[0m ETA:\u001b[33m2s\u001b[0m\u001b[35m】\u001b[0m \n", " 688d8c|\u001b[38;5;35mOK\u001b[0m | 96MiB/s|/tmp/lora/sunagawaV1.5LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35ma23dab\u001b[0m 107MiB/108MiB\u001b[36m(99%)\u001b[0m CN:\u001b[38;5;69m1\u001b[0m DL:\u001b[38;5;135m49MiB\u001b[0m\u001b[35m】\u001b[0m \n", " a23dab|\u001b[38;5;35mOK\u001b[0m | 48MiB/s|/tmp/lora/ayamiKojimaV1LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m3f99da\u001b[0m 42MiB/108MiB\u001b[36m(39%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m98MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 3f99da|\u001b[38;5;35mOK\u001b[0m | 100MiB/s|/tmp/lora/JLullabyV3LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35ma05eaa\u001b[0m 106MiB/108MiB\u001b[36m(98%)\u001b[0m CN:\u001b[38;5;69m2\u001b[0m DL:\u001b[38;5;135m60MiB\u001b[0m\u001b[35m】\u001b[0m \n", " a05eaa|\u001b[38;5;35mOK\u001b[0m | 45MiB/s|/tmp/lora/oryuutoV1.5LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35md29157\u001b[0m 104MiB/108MiB\u001b[36m(96%)\u001b[0m CN:\u001b[38;5;69m4\u001b[0m DL:\u001b[38;5;135m59MiB\u001b[0m\u001b[35m】\u001b[0m \n", " d29157|\u001b[38;5;35mOK\u001b[0m | 44MiB/s|/tmp/lora/blackfootwearV1LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m460db0\u001b[0m 2.7MiB/108MiB\u001b[36m(2%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m24MiB\u001b[0m ETA:\u001b[33m4s\u001b[0m\u001b[35m】\u001b[0m \n", " 460db0|\u001b[38;5;35mOK\u001b[0m | 101MiB/s|/tmp/lora/mscV2.5LOL.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35mf0a33c\u001b[0m 82MiB/128MiB\u001b[36m(64%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m126MiB\u001b[0m\u001b[35m】\u001b[0m \n", " f0a33c|\u001b[38;5;35mOK\u001b[0m | 114MiB/s|/tmp/lora/LCM_LoRA_Weights_SD15.safetensors\n", " 828976|\u001b[38;5;35mOK\u001b[0m | 51MiB/s|/tmp/lora/Shexyoart-10.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m84838b\u001b[0m 87MiB/144MiB\u001b[36m(60%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m68MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 84838b|\u001b[38;5;35mOK\u001b[0m | 84MiB/s|/tmp/lora/shexyo_style_v2_cleaned_goofy.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m0deeb4\u001b[0m 23MiB/25MiB\u001b[36m(88%)\u001b[0m CN:\u001b[38;5;69m12\u001b[0m DL:\u001b[38;5;135m59MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 0deeb4|\u001b[38;5;35mOK\u001b[0m | 26MiB/s|/tmp/lora/Shexyo.safetensors\n", " \u001b[35m【\u001b[0m#\u001b[38;5;35m6062fc\u001b[0m 92MiB/144MiB\u001b[36m(64%)\u001b[0m CN:\u001b[38;5;69m16\u001b[0m DL:\u001b[38;5;135m80MiB\u001b[0m\u001b[35m】\u001b[0m \n", " 6062fc|\u001b[38;5;35mOK\u001b[0m | 76MiB/s|/tmp/lora/Shexyo.safetensors\n" ] } ], "source": [ "''' LoRa '''\n", "%cd -q ~/asd/models/Lora/tmp_lora\n", "%download https://civitai.com/api/download/models/159707\n", "%download https://civitai.com/api/download/models/273996\n", "%download https://civitai.com/api/download/models/269377\n", "%download https://civitai.com/api/download/models/273993\n", "%download https://civitai.com/api/download/models/146600\n", "%download https://civitai.com/api/download/models/161366\n", "%download https://civitai.com/models/47085?modelVersionId=53396\n", "%download https://civitai.com/api/download/models/255800\n", "%download https://civitai.com/api/download/models/227997\n", "%download https://civitai.com/api/download/models/290009\n", "%download https://civitai.com/api/download/models/55199\n", "%download https://civitai.com/api/download/models/53396\n", "%download https://civitai.com/api/download/models/52550\n", "%download https://civitai.com/api/download/models/136319\n", "%download https://civitai.com/api/download/models/190406\n", "%download https://civitai.com/api/download/models/19135\n", "%download https://civitai.com/api/download/models/274543\n", "%download https://civitai.com/api/download/models/25848\n", "%download https://civitai.com/api/download/models/7431\n", "%download https://civitai.com/api/download/models/7427\n", "%download https://civitai.com/api/download/models/7428\n", "%download https://civitai.com/api/download/models/60568\n", "%download https://civitai.com/api/download/models/94841\n", "%download https://civitai.com/api/download/models/106626\n", "%download https://civitai.com/api/download/models/121842\n", "%download https://civitai.com/api/download/models/123272\n", "%download https://civitai.com/api/download/models/137901\n", "%download https://civitai.com/api/download/models/244925\n", "%download https://civitai.com/api/download/models/338661\n", "%download https://civitai.com/api/download/models/334075\n", "%download https://civitai.com/api/download/models/194009\n", "%download https://civitai.com/api/download/models/230295\n", "%download https://civitai.com/api/download/models/221136\n", "%download https://civitai.com/api/download/models/193881\n", "%download https://civitai.com/api/download/models/161013\n", "%download https://civitai.com/api/download/models/191797\n", "%download https://civitai.com/api/download/models/159862\n", "%download https://civitai.com/api/download/models/156283\n", "%download https://civitai.com/api/download/models/155278\n", "%download https://civitai.com/api/download/models/23250\n", "%download https://civitai.com/api/download/models/163324\n", "%download https://civitai.com/api/download/models/89519\n", "%download https://civitai.com/api/download/models/446036\n", "%download https://civitai.com/api/download/models/441480\n", "%download https://civitai.com/api/download/models/383113\n", "%download https://civitai.com/api/download/models/336421\n", "%download https://civitai.com/api/download/models/452239\n", "%download https://civitai.com/api/download/models/454378\n", "%download https://civitai.com/api/download/models/478963\n", "%download https://civitai.com/api/download/models/424706\n", "%download https://civitai.com/api/download/models/324149\n", "%download https://civitai.com/api/download/models/456168\n", "%download https://civitai.com/api/download/models/17410\n", "%download https://civitai.com/api/download/models/8131" ] }, { "cell_type": "markdown", "id": "b4b19ba2-ae2b-481b-9b39-be6eac7a0f77", "metadata": { "tags": [] }, "source": [ "## WEB UI" ] }, { "cell_type": "code", "execution_count": null, "id": "ee62d9df-7cde-48bd-9b8b-cf01a2ae3a1c", "metadata": {}, "outputs": [], "source": [ "''' Pinggy tunnel, relaunch every 1 hour '''\n", "\n", "%cd -q ~/asd\n", "!python pinggy.py --xformers --enable-insecure-extension-access --disable-console-progressbars --theme dark\n", "2V69OCUyZ8WP23WVjGKphbfS0vh_39HSyrW7to5DQTr1WKcGs\n", "2cHSIEODavHnLN7VgulLNM6i5Y2_2WSv9MVaqkMq4AqWnaz7n" ] }, { "cell_type": "code", "execution_count": 3, "id": "4cffd230-2fd0-49b2-a91d-eb5b826be801", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Python 3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]\n", "Version: 1.9.3\n", "Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0\n" ] } ], "source": [ "token = \"unoVaKYezHAC\"\n", "\n", "%cd -q ~/asd\n", "!python zrok.py {token} --allow-code --xformers --enable-insecure-extension-access --disable-safe-unpickle --disable-console-progressbars --theme dark" ] }, { "cell_type": "code", "execution_count": null, "id": "84ee12ed-30a3-42a2-93d7-c63802226c97", "metadata": { "tags": [] }, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "b201e749-2765-4c3c-8663-8134916c1b2e", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Python 3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]\n", "Version: 1.9.3\n", "Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0\n", "Installing None\n", "Installing installing requirements for sd-webui-system-control\n", "Installing requirement for Model Manager\n", "Installing requirement for Model Manager\n", "Installing requirement for Model Manager\n", "Installing requirement for Model Manager\n", "Installing requirement: dlib\n", "Couldn't install requirement: dlib.\n", "Command: \"/home/studio-lab-user/.conda/envs/default/bin/python\" -m pip install dlib --prefer-binary\n", "Error code: 1\n", "stdout: Collecting dlib\n", " Downloading dlib-19.24.4.tar.gz (3.3 MB)\n", " Installing build dependencies: started\n", " Installing build dependencies: finished with status 'done'\n", " Getting requirements to build wheel: started\n", " Getting requirements to build wheel: finished with status 'done'\n", " Preparing wheel metadata: started\n", " Preparing wheel metadata: finished with status 'done'\n", "Building wheels for collected packages: dlib\n", " Building wheel for dlib (PEP 517): started\n", " Building wheel for dlib (PEP 517): finished with status 'error'\n", "Failed to build dlib\n", "\n", "stderr: ERROR: Command errored out with exit status 1:\n", " command: /home/studio-lab-user/.conda/envs/default/bin/python /home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp87pt1ddk\n", " cwd: /tmp/pip-install-ozz4ex_j/dlib_079c95b04aee483f87a9bdf3d69d1ace\n", " Complete output (6 lines):\n", " running bdist_wheel\n", " running build\n", " running build_ext\n", " \n", " ERROR: CMake must be installed to build dlib\n", " \n", " ----------------------------------------\n", " ERROR: Failed building wheel for dlib\n", "ERROR: Could not build wheels for dlib which use PEP 517 and cannot be installed directly\n", "\n", "Warning: Failed to install dlib, some preprocessors may not work.\n", "Installing requirement: git+https://github.com/andresprados/SPIGA\n", "Installing requirement: git+https://github.com/sajjjadayobi/FaceLib.git\n", "Launching Web UI with arguments: --ngrok 2caKiqhBKpYOVXNYlpsPmnYCEen_2689uRLasgYjVPc4haYdt --xformers --enable-insecure-extension-access --styles-file=.\\styles*.csv --disable-console-progressbars --theme dark\n", "ngrok authtoken detected, trying to connect...\n", "ngrok connected to localhost:7860! URL: https://fe18-3-136-172-40.ngrok-free.app\n", "You can use this link after the launch is complete.\n", "hand_yolov8n.pt: 0%| | 0.00/6.24M [00:00\", line 883, in exec_module\n", " File \"\", line 241, in _call_with_frames_removed\n", " File \"/home/studio-lab-user/asd/extensions/sd-webui-Stable-Makeup/scripts/template_on_tab.py\", line 3, in \n", " import dlib\n", " ModuleNotFoundError: No module named 'dlib'\n", "\n", "---\n", "ControlNet preprocessor location: /home/studio-lab-user/asd/extensions/sd-webui-controlnet/annotator/downloads\n", "2024-06-22 13:41:29,086 - ControlNet - \u001b[0;32mINFO\u001b[0m - ControlNet v1.1.449\n", "Please 'pip install apex'\n", "*** Error loading script: xlclipskip.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, 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/asd/extensions/sd-webui-enable-xl-clip-skip/scripts/xlclipskip.py\", line 185, in \n", " sd_hijack_clip.FrozenCLIPEmbedderForSDXLWithCustomWords.encode_with_transformers = encode_with_transformers\n", " NameError: name 'encode_with_transformers' is not defined\n", "\n", "---\n", "Loading FABRIC v0.6.6\n", "*** Error loading script: attn_seletor.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, 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/asd/extensions/sd-webui-flash-attention-zluda-win/scripts/attn_seletor.py\", line 24, in \n", " os.add_dll_directory(os.path.join(os.environ[\"HIP_PATH\"], \"bin\"))\n", " AttributeError: module 'os' has no attribute 'add_dll_directory'\n", "\n", "---\n", "[sd-webui-freeu] Controlnet support: *enabled*\n", "INFO:scripts.incantation_base:Incantation: Debug scripts are disabled. Set INCANT_DEBUG environment variable to enable them.\n", "INFO:incantation_base.py:Incantation: Debug scripts are disabled. Set INCANT_DEBUG environment variable to enable them.\n", "\u001b[96m[Model Manager (13:41:32:008)] \u001b[0mCache file not found at /home/studio-lab-user/asd/extensions/sd-webui-model-manager/data/storage_cache.json\n", "\u001b[96m[Model Manager (13:41:32:009)] \u001b[0mLoaded cache file from /home/studio-lab-user/asd/extensions/sd-webui-model-manager/data/storage_cache.json\n", "[i] Loaded 26 resolutions!\n", "[i] Updating SDXL styles from storage ...\n", "[i] Reading SDXL styles from sdxl_styles_diva.json ...\n", "[i] Reading SDXL styles from sdxl_styles_fooocus.json ...\n", "[i] Reading SDXL styles from sdxl_styles_mre.json ...\n", "[i] Reading SDXL styles from sdxl_styles_sai.json ...\n", "[i] Reading SDXL styles from sdxl_styles_twri.json ...\n", "[i] Loaded 213 styles!\n", "[Vec. CC] Style Sheet Loaded...\n", "Model already exists\n", "*** Error loading script: styleaddtab.py\n", " Traceback (most recent call last):\n", " File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n", " script_module = script_loading.load_module(scriptfile.path)\n", " File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, 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/asd/extensions/yoinked-style-adder/scripts/styleaddtab.py\", line 25, in \n", " styles = refresh()\n", " File \"/home/studio-lab-user/asd/extensions/yoinked-style-adder/scripts/styleaddtab.py\", line 9, in refresh\n", " csvpath = Path(cmd_opts.styles_file).parent\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/pathlib.py\", line 960, in __new__\n", " self = cls._from_parts(args)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/pathlib.py\", line 594, in _from_parts\n", " drv, root, parts = self._parse_args(args)\n", " File \"/home/studio-lab-user/.conda/envs/default/lib/python3.10/pathlib.py\", line 578, in _parse_args\n", " a = os.fspath(a)\n", " TypeError: expected str, bytes or os.PathLike object, not list\n", "\n", "---\n", "Checkpoint tmp_ckpt/mistoonPearl_v10.safetensors [9668aafc26] not found; loading fallback tmp_ckpt/mistoonPearl_v10.safetensors\n", "Calculating sha256 for /home/studio-lab-user/asd/models/Stable-diffusion/tmp_ckpt/mistoonPearl_v10.safetensors: WARNING:incantation_base.py:Module CFG Combiner does not implement get_xyz_axis_options\n", "WARNING:scripts.incantation_base:Module CFG Combiner does not implement get_xyz_axis_options\n", "\n", "[EZ Tags] \"tags\" folder has been deprecated. You may delete it~\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/.conda/envs/default/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n", " warnings.warn(\n", "\n", "tokenizer_config.json: 100%|███████████████| 8.24k/8.24k [00:00<00:00, 39.8MB/s]\n", "tokenization_dart.py: 100%|████████████████| 2.52k/2.52k [00:00<00:00, 22.6MB/s]\n", "tokenizer.json: 100%|██████████████████████| 2.25M/2.25M [00:00<00:00, 35.4MB/s]\n", "special_tokens_map.json: 100%|██████████████████| 111/111 [00:00<00:00, 872kB/s]\n", "9668aafc26f98c9a87332a53540c351a42c2a17229f0f262b3a1fb461d32dda5\n", "Loading weights [9668aafc26] from /home/studio-lab-user/asd/models/Stable-diffusion/tmp_ckpt/mistoonPearl_v10.safetensors\n", "Creating model from config: /home/studio-lab-user/asd/configs/v1-inference.yaml\n", "vocab.json: 100%|████████████████████████████| 961k/961k [00:00<00:00, 26.8MB/s]\n", "merges.txt: 100%|████████████████████████████| 525k/525k [00:00<00:00, 38.6MB/s]\n", "special_tokens_map.json: 100%|█████████████████| 389/389 [00:00<00:00, 2.82MB/s]\n", "tokenizer_config.json: 100%|███████████████████| 905/905 [00:00<00:00, 7.04MB/s]\n", "config.json: 100%|█████████████████████████| 4.52k/4.52k [00:00<00:00, 27.5MB/s]\n", "Loading VAE weights specified in settings: /home/studio-lab-user/asd/models/VAE/kl-f8-anime2.ckpt\n", "Applying attention optimization: xformers... done.\n", "Model loaded in 18.9s (calculate hash: 6.2s, create model: 1.5s, apply weights to model: 0.8s, load VAE: 2.2s, load textual inversion embeddings: 7.6s, calculate empty prompt: 0.4s).\n", "WARNING:py.warnings:/home/studio-lab-user/asd/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/asd/extensions/sd-webui-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/asd/extensions/sd-webui-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/asd/extensions/sd-webui-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/.conda/envs/default/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n", " warnings.warn(\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/asd/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", "2024-06-22 13:42:00,161 - ControlNet - \u001b[0;32mINFO\u001b[0m - ControlNet UI callback registered.\n", "WARNING:py.warnings:/home/studio-lab-user/asd/extensions/sd-webui-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/asd/extensions/sd-webui-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/asd/extensions/sd-webui-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", "add tab\n", "[([button, button, button, button, button], button, gallery), ([button, button, button, button, button], button, gallery)]\n", "WARNING:py.warnings:/home/studio-lab-user/asd/modules/gradio_extensons.py:55: GradioDeprecationWarning: `width` is deprecated in `Interface()`, please use it within `launch()` instead.\n", " res = original_BlockContext_init(self, *args, **kwargs)\n", "\n", "WARNING:py.warnings:/home/studio-lab-user/asd/modules/gradio_extensons.py:25: GradioDeprecationWarning: 'scale' value should be an integer. Using 0.3 will cause issues.\n", " res = original_IOComponent_init(self, *args, **kwargs)\n", "\n", "Running on local URL: http://127.0.0.1:7860\n", "\n", "To create a public link, set `share=True` in `launch()`.\n", "[console log integrater] start stdout capture\n", "[console log integrater] start stderr capture\n", "INFO:scripts.baidu_netdisk.logger:\n" ] } ], "source": [ "token = \"2caKiqhBKpYOVXNYlpsPmnYCEen_2689uRLasgYjVPc4haYdt\"\n", "\n", "%tempe\n", "%cd -q ~/asd\n", "!python launch.py --ngrok {token} --xformers --enable-insecure-extension-access --styles-file=\".\\styles*.csv\" --disable-console-progressbars --theme dark" ] }, { "cell_type": "markdown", "id": "bfc58f9f-9be7-431e-9859-f75684eda0cf", "metadata": { "tags": [] }, "source": [ "## Extras" ] }, { "cell_type": "code", "execution_count": 10, "id": "bdf1c5e2-14ae-418b-aa87-3dfcf07e9135", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "\n", "Copy and Paste this command into Terminal\n", "\n" ] }, { "data": { "text/html": [ "~/.zrok/bin/zrok invite" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "name": "stdout", "output_type": "stream", "text": [ "\n", "press Tab to move the cursor\n", "or you can watch this short video https://youtu.be/prTD99GbWlQ\n", "\n" ] } ], "source": [ "''' Run this cell to register a ZROK account '''\n", "%run ~/asd/asd/zrok_reg.py" ] }, { "cell_type": "markdown", "id": "6b74f461-3a60-44fe-8d96-b6fe2f0105a5", "metadata": { "id": "bf5499c3-18fb-4325-8c37-5298751e4f97", "slideshow": { "slide_type": "skip" }, "tags": [] }, "source": [ "#### Storage" ] }, { "cell_type": "code", "execution_count": 1, "id": "fe9b41c3-932e-442c-9d5e-d43b83a8096d", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Size = 24.99 GB\n", "Used = 24.39 GB | 97.6% \n", "Free = 611.83 MB | 2.4% \n", "\n", "/Stable-diffusion 0 KB\n", "/VAE-approx 212 KB\n", "/VAE 1.1 MB\n", "/deepbooru 0 KB\n", "/karlo 8 KB\n", "/Lora 3.4 GB\n", "/ESRGAN 1.2 GB\n", "/hypernetworks 0 KB\n", "/Codeformer 0 KB\n", "/GFPGAN 0 KB\n", "/adetailer 709.6 MB\n", "/layer_model 0 KB\n", "/.ipynb_checkpoints 0 KB\n", "/RealESRGAN 17.1 MB\n", "/bmab 6.5 MB\n", "/models 5.3 GB\n", "Size = 24.99 GB\n", "Used = 24.39 GB | 97.6% \n", "Free = 611.83 MB | 2.4% \n", "\n", "/.ipynb_checkpoints 0 KB\n", "/txt2img-images 592 KB\n", "/outputs 592 KB\n" ] } ], "source": [ "''' Check Storage '''\n", "\n", "%storage /home/studio-lab-user/asd/models\n", "%storage /home/studio-lab-user/asd/outputs" ] }, { "cell_type": "code", "execution_count": null, "id": "9951220b-4c44-4e52-80db-9fe37ab3a6f2", "metadata": { "tags": [] }, "outputs": [], "source": [ "''' Delete output images '''\n", "\n", "!rm -rf ~/asd/outputs/* ~/.cache/*" ] }, { "cell_type": "code", "execution_count": 16, "id": "ad29fba3-221f-4748-a0c1-9fef2c745c3f", "metadata": { "tags": [] }, "outputs": [], "source": [ "''' Delete Stable Diffusion '''\n", "\n", "!rm -rf ~/tmp/* ~/asd ~/tmp ~/.cache/*" ] }, { "cell_type": "code", "execution_count": 20, "id": "30fa389a-25cd-4f35-ae0f-19be7b5a5d95", "metadata": { "tags": [] }, "outputs": [], "source": [ "!rm -r /home/studio-lab-user/.cache" ] }, { "cell_type": "code", "execution_count": null, "id": "9e058676-e9cc-4a39-aeae-c86852d44f5e", "metadata": { "tags": [] }, "outputs": [], "source": [ "''' DELETE EVERYTHING , restart jupyterlab afterward '''\n", "\n", "%delete /home/studio-lab-user" ] }, { "cell_type": "markdown", "id": "89f767e5-2ab8-41b0-81ed-8fda5af53342", "metadata": { "tags": [] }, "source": [ "#### ```zip``` Output images" ] }, { "cell_type": "code", "execution_count": 22, "id": "e264e27c-0b24-463a-8ac7-88571517d370", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "zipping : [▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶▶] [568/568]\n" ] } ], "source": [ "%%zipping\n", "\n", "input_folder = '/home/studio-lab-user/asd/outputs'\n", "output_folder = '/home/studio-lab-user'" ] }, { "cell_type": "code", "execution_count": null, "id": "e609e8bb-9b3b-4f82-b47d-f10fb4a22eae", "metadata": {}, "outputs": [], "source": [] } ], "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 }