ThiennNguyen commited on
Commit
7437a86
β€’
1 Parent(s): 601b892

Upload controlnettraining.ipynb

Browse files
Files changed (1) hide show
  1. controlnettraining.ipynb +1 -0
controlnettraining.ipynb ADDED
@@ -0,0 +1 @@
 
 
1
+ {"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.10","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"!git clone https://github.com/huggingface/diffusers","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-06-09T03:52:16.658520Z","iopub.execute_input":"2023-06-09T03:52:16.659063Z","iopub.status.idle":"2023-06-09T03:52:21.446442Z","shell.execute_reply.started":"2023-06-09T03:52:16.659030Z","shell.execute_reply":"2023-06-09T03:52:21.445336Z"},"trusted":true},"execution_count":1,"outputs":[{"name":"stdout","text":"Cloning into 'diffusers'...\nremote: Enumerating objects: 26997, done.\u001b[K\nremote: Counting objects: 100% (561/561), done.\u001b[K\nremote: Compressing objects: 100% (261/261), done.\u001b[K\nremote: Total 26997 (delta 326), reused 442 (delta 275), pack-reused 26436\u001b[K\nReceiving objects: 100% (26997/26997), 18.55 MiB | 11.95 MiB/s, done.\nResolving deltas: 100% (19614/19614), done.\n","output_type":"stream"}]},{"cell_type":"code","source":"cd diffusers","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:52:21.448687Z","iopub.execute_input":"2023-06-09T03:52:21.449208Z","iopub.status.idle":"2023-06-09T03:52:21.458844Z","shell.execute_reply.started":"2023-06-09T03:52:21.449150Z","shell.execute_reply":"2023-06-09T03:52:21.457565Z"},"trusted":true},"execution_count":2,"outputs":[{"name":"stdout","text":"/kaggle/working/diffusers\n","output_type":"stream"}]},{"cell_type":"code","source":"!pip install -e .","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:52:21.460851Z","iopub.execute_input":"2023-06-09T03:52:21.461343Z","iopub.status.idle":"2023-06-09T03:52:46.431633Z","shell.execute_reply.started":"2023-06-09T03:52:21.461310Z","shell.execute_reply":"2023-06-09T03:52:46.430437Z"},"trusted":true},"execution_count":3,"outputs":[{"name":"stdout","text":"Obtaining file:///kaggle/working/diffusers\n Installing build dependencies ... \u001b[?25ldone\n\u001b[?25h Checking if build backend supports build_editable ... \u001b[?25ldone\n\u001b[?25h Getting requirements to build editable ... \u001b[?25ldone\n\u001b[?25h Preparing editable metadata (pyproject.toml) ... \u001b[?25ldone\n\u001b[?25hRequirement already satisfied: importlib-metadata in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (5.2.0)\nRequirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (3.12.0)\nRequirement already satisfied: huggingface-hub>=0.13.2 in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (0.14.1)\nRequirement already satisfied: numpy in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (1.23.5)\nRequirement already satisfied: regex!=2019.12.17 in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (2023.5.5)\nRequirement already satisfied: requests in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (2.28.2)\nRequirement already satisfied: Pillow in /opt/conda/lib/python3.10/site-packages (from diffusers==0.18.0.dev0) (9.5.0)\nRequirement already satisfied: fsspec in /opt/conda/lib/python3.10/site-packages (from huggingface-hub>=0.13.2->diffusers==0.18.0.dev0) (2023.5.0)\nRequirement already satisfied: tqdm>=4.42.1 in /opt/conda/lib/python3.10/site-packages (from huggingface-hub>=0.13.2->diffusers==0.18.0.dev0) (4.64.1)\nRequirement already satisfied: pyyaml>=5.1 in /opt/conda/lib/python3.10/site-packages (from huggingface-hub>=0.13.2->diffusers==0.18.0.dev0) (5.4.1)\nRequirement already satisfied: typing-extensions>=3.7.4.3 in /opt/conda/lib/python3.10/site-packages (from huggingface-hub>=0.13.2->diffusers==0.18.0.dev0) (4.5.0)\nRequirement already satisfied: packaging>=20.9 in /opt/conda/lib/python3.10/site-packages (from huggingface-hub>=0.13.2->diffusers==0.18.0.dev0) (21.3)\nRequirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.10/site-packages (from importlib-metadata->diffusers==0.18.0.dev0) (3.15.0)\nRequirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.10/site-packages (from requests->diffusers==0.18.0.dev0) (2.1.1)\nRequirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.10/site-packages (from requests->diffusers==0.18.0.dev0) (3.4)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.10/site-packages (from requests->diffusers==0.18.0.dev0) (1.26.15)\nRequirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.10/site-packages (from requests->diffusers==0.18.0.dev0) (2023.5.7)\nRequirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/conda/lib/python3.10/site-packages (from packaging>=20.9->huggingface-hub>=0.13.2->diffusers==0.18.0.dev0) (3.0.9)\nBuilding wheels for collected packages: diffusers\n Building editable for diffusers (pyproject.toml) ... \u001b[?25ldone\n\u001b[?25h Created wheel for diffusers: filename=diffusers-0.18.0.dev0-0.editable-py3-none-any.whl size=10525 sha256=7f271941268af79a74c9c6bad137cf04f88ec0c0bfb331ea0cc91b33d9bbf901\n Stored in directory: /tmp/pip-ephem-wheel-cache-7s3q5gp5/wheels/f5/3d/4b/8e63ecf8f8467b91f49c2a926abe66393983fca5c47830e6e6\nSuccessfully built diffusers\nInstalling collected packages: diffusers\nSuccessfully installed diffusers-0.18.0.dev0\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0m","output_type":"stream"}]},{"cell_type":"code","source":"cd examples/controlnet","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:52:46.435517Z","iopub.execute_input":"2023-06-09T03:52:46.435868Z","iopub.status.idle":"2023-06-09T03:52:46.445004Z","shell.execute_reply.started":"2023-06-09T03:52:46.435838Z","shell.execute_reply":"2023-06-09T03:52:46.443930Z"},"trusted":true},"execution_count":4,"outputs":[{"name":"stdout","text":"/kaggle/working/diffusers/examples/controlnet\n","output_type":"stream"}]},{"cell_type":"code","source":"!pip install -r requirements.txt","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:52:46.446534Z","iopub.execute_input":"2023-06-09T03:52:46.447011Z","iopub.status.idle":"2023-06-09T03:52:58.612309Z","shell.execute_reply.started":"2023-06-09T03:52:46.446980Z","shell.execute_reply":"2023-06-09T03:52:58.611156Z"},"trusted":true},"execution_count":5,"outputs":[{"name":"stdout","text":"Collecting accelerate>=0.16.0 (from -r requirements.txt (line 1))\n Downloading accelerate-0.20.3-py3-none-any.whl (227 kB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m227.6/227.6 kB\u001b[0m \u001b[31m9.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hRequirement already satisfied: torchvision in /opt/conda/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (0.15.1)\nRequirement already satisfied: transformers>=4.25.1 in /opt/conda/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (4.29.2)\nCollecting ftfy (from -r requirements.txt (line 4))\n Downloading ftfy-6.1.1-py3-none-any.whl (53 kB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m53.1/53.1 kB\u001b[0m \u001b[31m5.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hRequirement already satisfied: tensorboard in /opt/conda/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (2.12.3)\nRequirement already satisfied: datasets in /opt/conda/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (2.1.0)\nRequirement already satisfied: numpy>=1.17 in /opt/conda/lib/python3.10/site-packages (from accelerate>=0.16.0->-r requirements.txt (line 1)) (1.23.5)\nRequirement already satisfied: packaging>=20.0 in /opt/conda/lib/python3.10/site-packages (from accelerate>=0.16.0->-r requirements.txt (line 1)) (21.3)\nRequirement already satisfied: psutil in /opt/conda/lib/python3.10/site-packages (from accelerate>=0.16.0->-r requirements.txt (line 1)) (5.9.3)\nRequirement already satisfied: pyyaml in /opt/conda/lib/python3.10/site-packages (from accelerate>=0.16.0->-r requirements.txt (line 1)) (5.4.1)\nRequirement already satisfied: torch>=1.6.0 in /opt/conda/lib/python3.10/site-packages (from accelerate>=0.16.0->-r requirements.txt (line 1)) (2.0.0)\nRequirement already satisfied: requests in /opt/conda/lib/python3.10/site-packages (from torchvision->-r requirements.txt (line 2)) (2.28.2)\nRequirement already satisfied: pillow!=8.3.*,>=5.3.0 in /opt/conda/lib/python3.10/site-packages (from torchvision->-r requirements.txt (line 2)) (9.5.0)\nRequirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from transformers>=4.25.1->-r requirements.txt (line 3)) (3.12.0)\nRequirement already satisfied: huggingface-hub<1.0,>=0.14.1 in /opt/conda/lib/python3.10/site-packages (from transformers>=4.25.1->-r requirements.txt (line 3)) (0.14.1)\nRequirement already satisfied: regex!=2019.12.17 in /opt/conda/lib/python3.10/site-packages (from transformers>=4.25.1->-r requirements.txt (line 3)) (2023.5.5)\nRequirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /opt/conda/lib/python3.10/site-packages (from transformers>=4.25.1->-r requirements.txt (line 3)) (0.13.3)\nRequirement already satisfied: tqdm>=4.27 in /opt/conda/lib/python3.10/site-packages (from transformers>=4.25.1->-r requirements.txt (line 3)) (4.64.1)\nRequirement already satisfied: wcwidth>=0.2.5 in /opt/conda/lib/python3.10/site-packages (from ftfy->-r requirements.txt (line 4)) (0.2.6)\nRequirement already satisfied: absl-py>=0.4 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (1.4.0)\nRequirement already satisfied: grpcio>=1.48.2 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (1.51.1)\nRequirement already satisfied: google-auth<3,>=1.6.3 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (2.17.3)\nRequirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (1.0.0)\nRequirement already satisfied: markdown>=2.6.8 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (3.4.3)\nRequirement already satisfied: protobuf>=3.19.6 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (3.20.3)\nRequirement already satisfied: setuptools>=41.0.0 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (59.8.0)\nRequirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (0.7.0)\nRequirement already satisfied: werkzeug>=1.0.1 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (2.3.4)\nRequirement already satisfied: wheel>=0.26 in /opt/conda/lib/python3.10/site-packages (from tensorboard->-r requirements.txt (line 5)) (0.40.0)\nRequirement already satisfied: pyarrow>=5.0.0 in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (10.0.1)\nRequirement already satisfied: dill in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (0.3.6)\nRequirement already satisfied: pandas in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (1.5.3)\nRequirement already satisfied: xxhash in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (3.2.0)\nRequirement already satisfied: multiprocess in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (0.70.14)\nRequirement already satisfied: fsspec[http]>=2021.05.0 in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (2023.5.0)\nRequirement already satisfied: aiohttp in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (3.8.4)\nRequirement already satisfied: responses<0.19 in /opt/conda/lib/python3.10/site-packages (from datasets->-r requirements.txt (line 6)) (0.18.0)\nRequirement already satisfied: attrs>=17.3.0 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (23.1.0)\nRequirement already satisfied: charset-normalizer<4.0,>=2.0 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (2.1.1)\nRequirement already satisfied: multidict<7.0,>=4.5 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (6.0.4)\nRequirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (4.0.2)\nRequirement already satisfied: yarl<2.0,>=1.0 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (1.9.1)\nRequirement already satisfied: frozenlist>=1.1.1 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (1.3.3)\nRequirement already satisfied: aiosignal>=1.1.2 in /opt/conda/lib/python3.10/site-packages (from aiohttp->datasets->-r requirements.txt (line 6)) (1.3.1)\nRequirement already satisfied: cachetools<6.0,>=2.0.0 in /opt/conda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements.txt (line 5)) (4.2.4)\nRequirement already satisfied: pyasn1-modules>=0.2.1 in /opt/conda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements.txt (line 5)) (0.2.7)\nRequirement already satisfied: six>=1.9.0 in /opt/conda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements.txt (line 5)) (1.16.0)\nRequirement already satisfied: rsa<5,>=3.1.4 in /opt/conda/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements.txt (line 5)) (4.9)\nRequirement already satisfied: requests-oauthlib>=0.7.0 in /opt/conda/lib/python3.10/site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard->-r requirements.txt (line 5)) (1.3.1)\nRequirement already satisfied: typing-extensions>=3.7.4.3 in /opt/conda/lib/python3.10/site-packages (from huggingface-hub<1.0,>=0.14.1->transformers>=4.25.1->-r requirements.txt (line 3)) (4.5.0)\nRequirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/conda/lib/python3.10/site-packages (from packaging>=20.0->accelerate>=0.16.0->-r requirements.txt (line 1)) (3.0.9)\nRequirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->-r requirements.txt (line 2)) (3.4)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->-r requirements.txt (line 2)) (1.26.15)\nRequirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.10/site-packages (from requests->torchvision->-r requirements.txt (line 2)) (2023.5.7)\nRequirement already satisfied: sympy in /opt/conda/lib/python3.10/site-packages (from torch>=1.6.0->accelerate>=0.16.0->-r requirements.txt (line 1)) (1.12)\nRequirement already satisfied: networkx in /opt/conda/lib/python3.10/site-packages (from torch>=1.6.0->accelerate>=0.16.0->-r requirements.txt (line 1)) (3.1)\nRequirement already satisfied: jinja2 in /opt/conda/lib/python3.10/site-packages (from torch>=1.6.0->accelerate>=0.16.0->-r requirements.txt (line 1)) (3.1.2)\nRequirement already satisfied: MarkupSafe>=2.1.1 in /opt/conda/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard->-r requirements.txt (line 5)) (2.1.2)\nRequirement already satisfied: python-dateutil>=2.8.1 in /opt/conda/lib/python3.10/site-packages (from pandas->datasets->-r requirements.txt (line 6)) (2.8.2)\nRequirement already satisfied: pytz>=2020.1 in /opt/conda/lib/python3.10/site-packages (from pandas->datasets->-r requirements.txt (line 6)) (2023.3)\nRequirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /opt/conda/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard->-r requirements.txt (line 5)) (0.4.8)\nRequirement already satisfied: oauthlib>=3.0.0 in /opt/conda/lib/python3.10/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard->-r requirements.txt (line 5)) (3.2.2)\nRequirement already satisfied: mpmath>=0.19 in /opt/conda/lib/python3.10/site-packages (from sympy->torch>=1.6.0->accelerate>=0.16.0->-r requirements.txt (line 1)) (1.3.0)\nInstalling collected packages: ftfy, accelerate\n Attempting uninstall: accelerate\n Found existing installation: accelerate 0.12.0\n Uninstalling accelerate-0.12.0:\n Successfully uninstalled accelerate-0.12.0\nSuccessfully installed accelerate-0.20.3 ftfy-6.1.1\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0m","output_type":"stream"}]},{"cell_type":"code","source":"!pip install gdown\n!pip install xformers\n!pip install accelerate==0.17.1\n!pip install bitsandbytes","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:52:58.614561Z","iopub.execute_input":"2023-06-09T03:52:58.614958Z","iopub.status.idle":"2023-06-09T03:56:01.804661Z","shell.execute_reply.started":"2023-06-09T03:52:58.614921Z","shell.execute_reply":"2023-06-09T03:56:01.803507Z"},"trusted":true},"execution_count":6,"outputs":[{"name":"stdout","text":"Collecting gdown\n Downloading gdown-4.7.1-py3-none-any.whl (15 kB)\nRequirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from gdown) (3.12.0)\nRequirement already satisfied: requests[socks] in /opt/conda/lib/python3.10/site-packages (from gdown) (2.28.2)\nRequirement already satisfied: six in /opt/conda/lib/python3.10/site-packages (from gdown) (1.16.0)\nRequirement already satisfied: tqdm in /opt/conda/lib/python3.10/site-packages (from gdown) (4.64.1)\nRequirement already satisfied: beautifulsoup4 in /opt/conda/lib/python3.10/site-packages (from gdown) (4.12.2)\nRequirement already satisfied: soupsieve>1.2 in /opt/conda/lib/python3.10/site-packages (from beautifulsoup4->gdown) (2.3.2.post1)\nRequirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.10/site-packages (from requests[socks]->gdown) (2.1.1)\nRequirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.10/site-packages (from requests[socks]->gdown) (3.4)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.10/site-packages (from requests[socks]->gdown) (1.26.15)\nRequirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.10/site-packages (from requests[socks]->gdown) (2023.5.7)\nRequirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /opt/conda/lib/python3.10/site-packages (from requests[socks]->gdown) (1.7.1)\nInstalling collected packages: gdown\nSuccessfully installed gdown-4.7.1\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0mCollecting xformers\n Downloading xformers-0.0.20-cp310-cp310-manylinux2014_x86_64.whl (109.1 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m109.1/109.1 MB\u001b[0m \u001b[31m11.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hRequirement already satisfied: numpy in /opt/conda/lib/python3.10/site-packages (from xformers) (1.23.5)\nCollecting pyre-extensions==0.0.29 (from xformers)\n Downloading pyre_extensions-0.0.29-py3-none-any.whl (12 kB)\nCollecting torch==2.0.1 (from xformers)\n Downloading torch-2.0.1-cp310-cp310-manylinux1_x86_64.whl (619.9 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m619.9/619.9 MB\u001b[0m \u001b[31m1.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hRequirement already satisfied: typing-inspect in /opt/conda/lib/python3.10/site-packages (from pyre-extensions==0.0.29->xformers) (0.8.0)\nRequirement already satisfied: typing-extensions in /opt/conda/lib/python3.10/site-packages (from pyre-extensions==0.0.29->xformers) (4.5.0)\nRequirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->xformers) (3.12.0)\nRequirement already satisfied: sympy in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->xformers) (1.12)\nRequirement already satisfied: networkx in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->xformers) (3.1)\nRequirement already satisfied: jinja2 in /opt/conda/lib/python3.10/site-packages (from torch==2.0.1->xformers) (3.1.2)\nCollecting nvidia-cuda-nvrtc-cu11==11.7.99 (from torch==2.0.1->xformers)\n Downloading nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl (21.0 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.0/21.0 MB\u001b[0m \u001b[31m55.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-cuda-runtime-cu11==11.7.99 (from torch==2.0.1->xformers)\n Downloading nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl (849 kB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m849.3/849.3 kB\u001b[0m \u001b[31m50.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hCollecting nvidia-cuda-cupti-cu11==11.7.101 (from torch==2.0.1->xformers)\n Downloading nvidia_cuda_cupti_cu11-11.7.101-py3-none-manylinux1_x86_64.whl (11.8 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m11.8/11.8 MB\u001b[0m \u001b[31m80.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-cudnn-cu11==8.5.0.96 (from torch==2.0.1->xformers)\n Downloading nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl (557.1 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m557.1/557.1 MB\u001b[0m \u001b[31m1.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-cublas-cu11==11.10.3.66 (from torch==2.0.1->xformers)\n Downloading nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl (317.1 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m317.1/317.1 MB\u001b[0m \u001b[31m3.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-cufft-cu11==10.9.0.58 (from torch==2.0.1->xformers)\n Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m168.4/168.4 MB\u001b[0m \u001b[31m7.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-curand-cu11==10.2.10.91 (from torch==2.0.1->xformers)\n Downloading nvidia_curand_cu11-10.2.10.91-py3-none-manylinux1_x86_64.whl (54.6 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.6/54.6 MB\u001b[0m \u001b[31m21.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-cusolver-cu11==11.4.0.1 (from torch==2.0.1->xformers)\n Downloading nvidia_cusolver_cu11-11.4.0.1-2-py3-none-manylinux1_x86_64.whl (102.6 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m102.6/102.6 MB\u001b[0m \u001b[31m12.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-cusparse-cu11==11.7.4.91 (from torch==2.0.1->xformers)\n Downloading nvidia_cusparse_cu11-11.7.4.91-py3-none-manylinux1_x86_64.whl (173.2 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m173.2/173.2 MB\u001b[0m \u001b[31m7.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-nccl-cu11==2.14.3 (from torch==2.0.1->xformers)\n Downloading nvidia_nccl_cu11-2.14.3-py3-none-manylinux1_x86_64.whl (177.1 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m177.1/177.1 MB\u001b[0m \u001b[31m7.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting nvidia-nvtx-cu11==11.7.91 (from torch==2.0.1->xformers)\n Downloading nvidia_nvtx_cu11-11.7.91-py3-none-manylinux1_x86_64.whl (98 kB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m98.6/98.6 kB\u001b[0m \u001b[31m8.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hCollecting triton==2.0.0 (from torch==2.0.1->xformers)\n Downloading triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.3 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m63.3/63.3 MB\u001b[0m \u001b[31m19.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hRequirement already satisfied: setuptools in /opt/conda/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch==2.0.1->xformers) (59.8.0)\nRequirement already satisfied: wheel in /opt/conda/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch==2.0.1->xformers) (0.40.0)\nCollecting cmake (from triton==2.0.0->torch==2.0.1->xformers)\n Downloading cmake-3.26.4-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (24.0 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m24.0/24.0 MB\u001b[0m \u001b[31m4.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m:00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hCollecting lit (from triton==2.0.0->torch==2.0.1->xformers)\n Downloading lit-16.0.5.post0.tar.gz (138 kB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m138.1/138.1 kB\u001b[0m \u001b[31m13.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25ldone\n\u001b[?25hRequirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.10/site-packages (from jinja2->torch==2.0.1->xformers) (2.1.2)\nRequirement already satisfied: mpmath>=0.19 in /opt/conda/lib/python3.10/site-packages (from sympy->torch==2.0.1->xformers) (1.3.0)\nRequirement already satisfied: mypy-extensions>=0.3.0 in /opt/conda/lib/python3.10/site-packages (from typing-inspect->pyre-extensions==0.0.29->xformers) (1.0.0)\nBuilding wheels for collected packages: lit\n Building wheel for lit (setup.py) ... \u001b[?25ldone\n\u001b[?25h Created wheel for lit: filename=lit-16.0.5.post0-py3-none-any.whl size=88269 sha256=67620c72c2ce2a3cf1fa7aca3ab9b9ab864f6ae1854e1d243ae5a3c36e549968\n Stored in directory: /root/.cache/pip/wheels/1a/24/92/1e1c9e37be8411a7c7c18a4c54962f5d0a75c56bab4a6f7f57\nSuccessfully built lit\nInstalling collected packages: lit, cmake, nvidia-nvtx-cu11, nvidia-nccl-cu11, nvidia-cusparse-cu11, nvidia-curand-cu11, nvidia-cufft-cu11, nvidia-cuda-runtime-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-cupti-cu11, nvidia-cublas-cu11, pyre-extensions, nvidia-cusolver-cu11, nvidia-cudnn-cu11, triton, torch, xformers\n Attempting uninstall: torch\n Found existing installation: torch 2.0.0\n Uninstalling torch-2.0.0:\n Successfully uninstalled torch-2.0.0\n\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\ntorchdata 0.6.0 requires torch==2.0.0, but you have torch 2.0.1 which is incompatible.\u001b[0m\u001b[31m\n\u001b[0mSuccessfully installed cmake-3.26.4 lit-16.0.5.post0 nvidia-cublas-cu11-11.10.3.66 nvidia-cuda-cupti-cu11-11.7.101 nvidia-cuda-nvrtc-cu11-11.7.99 nvidia-cuda-runtime-cu11-11.7.99 nvidia-cudnn-cu11-8.5.0.96 nvidia-cufft-cu11-10.9.0.58 nvidia-curand-cu11-10.2.10.91 nvidia-cusolver-cu11-11.4.0.1 nvidia-cusparse-cu11-11.7.4.91 nvidia-nccl-cu11-2.14.3 nvidia-nvtx-cu11-11.7.91 pyre-extensions-0.0.29 torch-2.0.1 triton-2.0.0 xformers-0.0.20\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0mCollecting accelerate==0.17.1\n Downloading accelerate-0.17.1-py3-none-any.whl (212 kB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m212.8/212.8 kB\u001b[0m \u001b[31m7.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n\u001b[?25hRequirement already satisfied: numpy>=1.17 in /opt/conda/lib/python3.10/site-packages (from accelerate==0.17.1) (1.23.5)\nRequirement already satisfied: packaging>=20.0 in /opt/conda/lib/python3.10/site-packages (from accelerate==0.17.1) (21.3)\nRequirement already satisfied: psutil in /opt/conda/lib/python3.10/site-packages (from accelerate==0.17.1) (5.9.3)\nRequirement already satisfied: pyyaml in /opt/conda/lib/python3.10/site-packages (from accelerate==0.17.1) (5.4.1)\nRequirement already satisfied: torch>=1.4.0 in /opt/conda/lib/python3.10/site-packages (from accelerate==0.17.1) (2.0.1)\nRequirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/conda/lib/python3.10/site-packages (from packaging>=20.0->accelerate==0.17.1) (3.0.9)\nRequirement already satisfied: filelock in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (3.12.0)\nRequirement already satisfied: typing-extensions in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (4.5.0)\nRequirement already satisfied: sympy in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (1.12)\nRequirement already satisfied: networkx in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (3.1)\nRequirement already satisfied: jinja2 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (3.1.2)\nRequirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.7.99)\nRequirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.7.99)\nRequirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.7.101)\nRequirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (8.5.0.96)\nRequirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.10.3.66)\nRequirement already satisfied: nvidia-cufft-cu11==10.9.0.58 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (10.9.0.58)\nRequirement already satisfied: nvidia-curand-cu11==10.2.10.91 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (10.2.10.91)\nRequirement already satisfied: nvidia-cusolver-cu11==11.4.0.1 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.4.0.1)\nRequirement already satisfied: nvidia-cusparse-cu11==11.7.4.91 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.7.4.91)\nRequirement already satisfied: nvidia-nccl-cu11==2.14.3 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (2.14.3)\nRequirement already satisfied: nvidia-nvtx-cu11==11.7.91 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (11.7.91)\nRequirement already satisfied: triton==2.0.0 in /opt/conda/lib/python3.10/site-packages (from torch>=1.4.0->accelerate==0.17.1) (2.0.0)\nRequirement already satisfied: setuptools in /opt/conda/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.4.0->accelerate==0.17.1) (59.8.0)\nRequirement already satisfied: wheel in /opt/conda/lib/python3.10/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.4.0->accelerate==0.17.1) (0.40.0)\nRequirement already satisfied: cmake in /opt/conda/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.4.0->accelerate==0.17.1) (3.26.4)\nRequirement already satisfied: lit in /opt/conda/lib/python3.10/site-packages (from triton==2.0.0->torch>=1.4.0->accelerate==0.17.1) (16.0.5.post0)\nRequirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.10/site-packages (from jinja2->torch>=1.4.0->accelerate==0.17.1) (2.1.2)\nRequirement already satisfied: mpmath>=0.19 in /opt/conda/lib/python3.10/site-packages (from sympy->torch>=1.4.0->accelerate==0.17.1) (1.3.0)\nInstalling collected packages: accelerate\n Attempting uninstall: accelerate\n Found existing installation: accelerate 0.20.3\n Uninstalling accelerate-0.20.3:\n Successfully uninstalled accelerate-0.20.3\nSuccessfully installed accelerate-0.17.1\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0mCollecting bitsandbytes\n Downloading bitsandbytes-0.39.0-py3-none-any.whl (92.2 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m92.2/92.2 MB\u001b[0m \u001b[31m12.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n\u001b[?25hInstalling collected packages: bitsandbytes\nSuccessfully installed bitsandbytes-0.39.0\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0m","output_type":"stream"}]},{"cell_type":"code","source":"import gdown\n\noutput = \"v1-5-pruned.ckpt\"\nurl = \"https://drive.google.com/file/d/1Q82ONPnd4gF2CZKxP-PXbAQTzRB0NrbA/view?usp=drive_link\"\ngdown.download(url=url, output=output, quiet=False, fuzzy=True)","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:56:01.808610Z","iopub.execute_input":"2023-06-09T03:56:01.808981Z","iopub.status.idle":"2023-06-09T03:57:25.328231Z","shell.execute_reply.started":"2023-06-09T03:56:01.808952Z","shell.execute_reply":"2023-06-09T03:57:25.327311Z"},"trusted":true},"execution_count":7,"outputs":[{"name":"stderr","text":"Downloading...\nFrom (uriginal): https://drive.google.com/uc?id=1Q82ONPnd4gF2CZKxP-PXbAQTzRB0NrbA\nFrom (redirected): https://drive.google.com/uc?id=1Q82ONPnd4gF2CZKxP-PXbAQTzRB0NrbA&confirm=t&uuid=a68230de-ec6f-45bf-8d80-a4cda54ab65c\nTo: /kaggle/working/diffusers/examples/controlnet/v1-5-pruned.ckpt\n100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7.70G/7.70G [01:22<00:00, 93.6MB/s]\n","output_type":"stream"},{"execution_count":7,"output_type":"execute_result","data":{"text/plain":"'v1-5-pruned.ckpt'"},"metadata":{}}]},{"cell_type":"code","source":"from accelerate.utils import write_basic_config\nwrite_basic_config()","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:57:25.329856Z","iopub.execute_input":"2023-06-09T03:57:25.331866Z","iopub.status.idle":"2023-06-09T03:57:39.644943Z","shell.execute_reply.started":"2023-06-09T03:57:25.331832Z","shell.execute_reply":"2023-06-09T03:57:39.644008Z"},"trusted":true},"execution_count":8,"outputs":[{"name":"stderr","text":"/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:98: UserWarning: unable to load libtensorflow_io_plugins.so: unable to open file: libtensorflow_io_plugins.so, from paths: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so']\ncaused by: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so: undefined symbol: _ZN3tsl6StatusC1EN10tensorflow5error4CodeESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE']\n warnings.warn(f\"unable to load libtensorflow_io_plugins.so: {e}\")\n/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:104: UserWarning: file system plugins are not loaded: unable to open file: libtensorflow_io.so, from paths: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so']\ncaused by: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZTVN10tensorflow13GcsFileSystemE']\n warnings.warn(f\"file system plugins are not loaded: {e}\")\n","output_type":"stream"},{"execution_count":8,"output_type":"execute_result","data":{"text/plain":"PosixPath('/root/.cache/huggingface/accelerate/default_config.yaml')"},"metadata":{}}]},{"cell_type":"code","source":"import gdown\n\noutput = \"conditioning_image_1.png\"\nurl = \"https://drive.google.com/file/d/1n-KCYN7MDQWDlScmJBBMqCE3mdwHXflk/view?usp=drive_link\"\ngdown.download(url=url, output=output, quiet=False, fuzzy=True)\n\noutput = \"conditioning_image_2.png\"\nurl = \"https://drive.google.com/file/d/1QKFSzTtTB7u6E-VGh0ib6jinF103_vb2/view?usp=drive_link\"\ngdown.download(url=url, output=output, quiet=False, fuzzy=True)","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:57:39.647657Z","iopub.execute_input":"2023-06-09T03:57:39.648616Z","iopub.status.idle":"2023-06-09T03:57:42.450451Z","shell.execute_reply.started":"2023-06-09T03:57:39.648579Z","shell.execute_reply":"2023-06-09T03:57:42.449330Z"},"trusted":true},"execution_count":9,"outputs":[{"name":"stderr","text":"Downloading...\nFrom: https://drive.google.com/uc?id=1n-KCYN7MDQWDlScmJBBMqCE3mdwHXflk\nTo: /kaggle/working/diffusers/examples/controlnet/conditioning_image_1.png\n100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 470k/470k [00:00<00:00, 96.5MB/s]\nDownloading...\nFrom: https://drive.google.com/uc?id=1QKFSzTtTB7u6E-VGh0ib6jinF103_vb2\nTo: /kaggle/working/diffusers/examples/controlnet/conditioning_image_2.png\n100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 607k/607k [00:00<00:00, 114MB/s]\n","output_type":"stream"},{"execution_count":9,"output_type":"execute_result","data":{"text/plain":"'conditioning_image_2.png'"},"metadata":{}}]},{"cell_type":"code","source":"from huggingface_hub import notebook_login\nnotebook_login()","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:57:42.452011Z","iopub.execute_input":"2023-06-09T03:57:42.452386Z","iopub.status.idle":"2023-06-09T03:57:42.484611Z","shell.execute_reply.started":"2023-06-09T03:57:42.452351Z","shell.execute_reply":"2023-06-09T03:57:42.483723Z"},"trusted":true},"execution_count":10,"outputs":[{"output_type":"display_data","data":{"text/plain":"VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…","application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"85d958b2e7a848feaadc8bc39f71e453"}},"metadata":{}}]},{"cell_type":"code","source":"import wandb\nwandb.login()","metadata":{"execution":{"iopub.status.busy":"2023-06-09T03:58:20.541485Z","iopub.execute_input":"2023-06-09T03:58:20.542093Z","iopub.status.idle":"2023-06-09T03:58:27.124066Z","shell.execute_reply.started":"2023-06-09T03:58:20.542058Z","shell.execute_reply":"2023-06-09T03:58:27.123216Z"},"trusted":true},"execution_count":11,"outputs":[{"name":"stderr","text":"\u001b[34m\u001b[1mwandb\u001b[0m: Logging into wandb.ai. (Learn how to deploy a W&B server locally: https://wandb.me/wandb-server)\n\u001b[34m\u001b[1mwandb\u001b[0m: You can find your API key in your browser here: https://wandb.ai/authorize\n\u001b[34m\u001b[1mwandb\u001b[0m: Paste an API key from your profile and hit enter, or press ctrl+c to quit:","output_type":"stream"},{"output_type":"stream","name":"stdin","text":" Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·\n"},{"name":"stderr","text":"\u001b[34m\u001b[1mwandb\u001b[0m: Appending key for api.wandb.ai to your netrc file: /root/.netrc\n","output_type":"stream"},{"execution_count":11,"output_type":"execute_result","data":{"text/plain":"True"},"metadata":{}}]},{"cell_type":"code","source":"\n!accelerate launch train_controlnet.py \\\n --pretrained_model_name_or_path=\"runwayml/stable-diffusion-v1-5\" \\\n --output_dir=\"finetuned_sd_test\" \\\n --dataset_name=ThiennNguyen/MangaColoring \\\n --resolution=512 \\\n --learning_rate=1e-5 \\\n --validation_image \"./conditioning_image_1.png\" \"./conditioning_image_2.png\" \\\n --validation_prompt \"yellow stone, and white ship in the sky\" \"black Japanese character in the oval, two students in uniforms with red ties, and the yellow electric light\" \\\n --train_batch_size=1 \\\n --num_train_epochs=οΌ”00\\\n --gradient_accumulation_steps=4 \\\n --gradient_checkpointing \\\n --use_8bit_adam \\\n --enable_xformers_memory_efficient_attention \\\n --set_grads_to_none \\\n --report_to wandb \\\n --push_to_hub","metadata":{"execution":{"iopub.status.busy":"2023-06-09T04:00:06.642807Z","iopub.execute_input":"2023-06-09T04:00:06.643656Z"},"trusted":true},"execution_count":null,"outputs":[{"name":"stdout","text":"/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:98: UserWarning: unable to load libtensorflow_io_plugins.so: unable to open file: libtensorflow_io_plugins.so, from paths: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so']\ncaused by: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so: undefined symbol: _ZN3tsl6StatusC1EN10tensorflow5error4CodeESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE']\n warnings.warn(f\"unable to load libtensorflow_io_plugins.so: {e}\")\n/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:104: UserWarning: file system plugins are not loaded: unable to open file: libtensorflow_io.so, from paths: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so']\ncaused by: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZTVN10tensorflow13GcsFileSystemE']\n warnings.warn(f\"file system plugins are not loaded: {e}\")\n/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:98: UserWarning: unable to load libtensorflow_io_plugins.so: unable to open file: libtensorflow_io_plugins.so, from paths: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so']\ncaused by: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io_plugins.so: undefined symbol: _ZN3tsl6StatusC1EN10tensorflow5error4CodeESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE']\n warnings.warn(f\"unable to load libtensorflow_io_plugins.so: {e}\")\n/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py:104: UserWarning: file system plugins are not loaded: unable to open file: libtensorflow_io.so, from paths: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so']\ncaused by: ['/opt/conda/lib/python3.10/site-packages/tensorflow_io/python/ops/libtensorflow_io.so: undefined symbol: _ZTVN10tensorflow13GcsFileSystemE']\n warnings.warn(f\"file system plugins are not loaded: {e}\")\n/opt/conda/lib/python3.10/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: '/opt/conda/lib/python3.10/site-packages/torchvision/image.so: undefined symbol: _ZN3c107WarningC1ENS_7variantIJNS0_11UserWarningENS0_18DeprecationWarningEEEERKNS_14SourceLocationENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb'If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?\n warn(\nDownloading (…)okenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 806/806 [00:00<00:00, 3.92MB/s]\nDownloading (…)tokenizer/vocab.json: 100%|β–ˆ| 1.06M/1.06M [00:00<00:00, 5.56MB/s]\nDownloading (…)tokenizer/merges.txt: 100%|β–ˆβ–ˆβ–ˆ| 525k/525k [00:00<00:00, 4.10MB/s]\nDownloading (…)cial_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 472/472 [00:00<00:00, 1.86MB/s]\nDownloading (…)_encoder/config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 617/617 [00:00<00:00, 4.08MB/s]\nYou are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.\nDownloading (…)cheduler_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 308/308 [00:00<00:00, 1.88MB/s]\n{'prediction_type', 'variance_type', 'thresholding', 'dynamic_thresholding_ratio', 'clip_sample_range', 'sample_max_value'} was not found in config. Values will be initialized to default values.\nDownloading model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 492M/492M [00:01<00:00, 272MB/s]\nDownloading (…)main/vae/config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 547/547 [00:00<00:00, 3.15MB/s]\nDownloading (…)ch_model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆ| 335M/335M [00:01<00:00, 262MB/s]\n{'scaling_factor'} was not found in config. Values will be initialized to default values.\nDownloading (…)ain/unet/config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 743/743 [00:00<00:00, 4.13MB/s]\nDownloading (…)ch_model.safetensors: 100%|β–ˆβ–ˆ| 3.44G/3.44G [00:15<00:00, 220MB/s]\n{'resnet_out_scale_factor', 'only_cross_attention', 'addition_embed_type', 'dual_cross_attention', 'class_embed_type', 'time_embedding_dim', 'time_embedding_type', 'timestep_post_act', 'projection_class_embeddings_input_dim', 'mid_block_type', 'upcast_attention', 'time_embedding_act_fn', 'class_embeddings_concat', 'conv_out_kernel', 'encoder_hid_dim_type', 'use_linear_projection', 'cross_attention_norm', 'addition_embed_type_num_heads', 'num_class_embeds', 'encoder_hid_dim', 'time_cond_proj_dim', 'mid_block_only_cross_attention', 'resnet_skip_time_act', 'conv_in_kernel', 'resnet_time_scale_shift'} was not found in config. Values will be initialized to default values.\n\n===================================BUG REPORT===================================\nWelcome to bitsandbytes. For bug reports, please run\n\npython -m bitsandbytes\n\n and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues\n================================================================================\nbin /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so\n/opt/conda/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:149: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/usr/local/cuda/lib'), PosixPath('/usr/local/lib/x86_64-linux-gnu'), PosixPath('/usr/local/nvidia/lib')}\n warn(msg)\nCUDA SETUP: CUDA runtime path found: /opt/conda/lib/libcudart.so\nCUDA SETUP: Highest compute capability among GPUs detected: 6.0\nCUDA SETUP: Detected CUDA version 117\n/opt/conda/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:149: UserWarning: WARNING: Compute capability < 7.5 detected! Only slow 8-bit matmul is supported for your GPU!\n warn(msg)\nCUDA SETUP: Loading binary /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so...\nDownloading builder script: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.91k/2.91k [00:00<00:00, 3.31MB/s]\nDownloading and preparing dataset fill50k/default to /root/.cache/huggingface/datasets/ThiennNguyen___fill50k/default/1.0.0/aedb6cfe1f91928e252c8215152288530b68b7956641682a8dca038644d26342...\nDownloading data: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 2.57k/2.57k [00:00<00:00, 3.00MB/s]\nDownloading data: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5.96M/5.96M [00:00<00:00, 11.2MB/s]\nDownloading data: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 8.33M/8.33M [00:00<00:00, 14.4MB/s]\nDataset fill50k downloaded and prepared to /root/.cache/huggingface/datasets/ThiennNguyen___fill50k/default/1.0.0/aedb6cfe1f91928e252c8215152288530b68b7956641682a8dca038644d26342. Subsequent calls will reuse this data.\n100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1/1 [00:00<00:00, 187.07it/s]\n\u001b[34m\u001b[1mwandb\u001b[0m: Currently logged in as: \u001b[33mthiennd\u001b[0m. Use \u001b[1m`wandb login --relogin`\u001b[0m to force relogin\n\u001b[34m\u001b[1mwandb\u001b[0m: wandb version 0.15.4 is available! To upgrade, please run:\n\u001b[34m\u001b[1mwandb\u001b[0m: $ pip install wandb --upgrade\n\u001b[34m\u001b[1mwandb\u001b[0m: Tracking run with wandb version 0.15.3\n\u001b[34m\u001b[1mwandb\u001b[0m: Run data is saved locally in \u001b[35m\u001b[1m/kaggle/working/diffusers/examples/controlnet/wandb/run-20230609_040113-r2yx717v\u001b[0m\n\u001b[34m\u001b[1mwandb\u001b[0m: Run \u001b[1m`wandb offline`\u001b[0m to turn off syncing.\n\u001b[34m\u001b[1mwandb\u001b[0m: Syncing run \u001b[33mvivid-star-1\u001b[0m\n\u001b[34m\u001b[1mwandb\u001b[0m: ⭐️ View project at \u001b[34m\u001b[4mhttps://wandb.ai/thiennd/train_controlnet\u001b[0m\n\u001b[34m\u001b[1mwandb\u001b[0m: πŸš€ View run at \u001b[34m\u001b[4mhttps://wandb.ai/thiennd/train_controlnet/runs/r2yx717v\u001b[0m\nSteps: 6%|β–Œ | 100/1600 [04:42<1:03:06, 2.52s/it, loss=0.00663, lr=1e-5]\nDownloading (…)ain/model_index.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 541/541 [00:00<00:00, 1.66MB/s]\u001b[A\n\nFetching 3 files: 0%| | 0/3 [00:00<?, ?it/s]\u001b[A\n\nDownloading (…)rocessor_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 342/342 [00:00<00:00, 1.03MB/s]\u001b[A\u001b[A\n\nFetching 3 files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 3/3 [00:00<00:00, 13.11it/s]\u001b[A\n{'requires_safety_checker', 'controlnet'} was not found in config. Values will be initialized to default values.\n{'prediction_type'} was not found in config. Values will be initialized to default values.\nYou have disabled the safety checker for <class 'diffusers.pipelines.controlnet.pipeline_controlnet.StableDiffusionControlNetPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .\n{'solver_type', 'predict_x0', 'solver_p', 'dynamic_thresholding_ratio', 'thresholding', 'disable_corrector', 'lower_order_final', 'sample_max_value', 'solver_order'} was not found in config. Values will be initialized to default values.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nSteps: 12%|β–ˆβ–Œ | 200/1600 [11:25<58:43, 2.52s/it, loss=0.107, lr=1e-5]{'requires_safety_checker', 'controlnet'} was not found in config. Values will be initialized to default values.\n{'prediction_type'} was not found in config. Values will be initialized to default values.\nYou have disabled the safety checker for <class 'diffusers.pipelines.controlnet.pipeline_controlnet.StableDiffusionControlNetPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .\n{'solver_type', 'predict_x0', 'solver_p', 'dynamic_thresholding_ratio', 'thresholding', 'disable_corrector', 'lower_order_final', 'sample_max_value', 'solver_order'} was not found in config. Values will be initialized to default values.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nForward upsample size to force interpolation output size.\nSteps: 14%|β–ˆβ–Ž | 217/1600 [14:19<1:05:02, 2.82s/it, loss=0.101, lr=1e-5]","output_type":"stream"}]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}