For RunPod - Automatic ControlNet Installer And Downloader
🕑 Added 2023-06-21 08:50:10 +0000 UTCJoin discord and tell me your discord username to get a special rank : SECourses Discord
This Post Will Not Be Updated Anymore
Updated Post Is Below
https://www.patreon.com/posts/86438018
Older Instructions - Use New Above Link
9 November 2023 Update:
- New 2 SDXL ControlNet models added to the list
- ip-adapter-plus-face_sdxl_vit-h
- ip-adapter-plus_sdxl_vit-h
- Select ip-adapter_clip_sdxl_plus_vith as preprocessor
10 September 2023 Update:
- New SDXL model files added to the download list as well
- Now it will download total 48 models automatically
6 September 2023 Update:
- Now it will download SDXL ControlNet models as well
- It will download best VAE file for SDXL 1.0 model
- Supports both SDXL and SD 1.5 based ControlNet
- Massive ControlNet tutorial for SD 1.5 : https://youtu.be/3E5fhFQUVLo
- It will also update Automatic1111 Web UI to the latest version
How To Use
- Select Stable Diffusion stable-diffusion:web-ui template
- It comes with ControlNet extension
- Select like 200 GB volume disk
- Download attached relauncher.py enter inside stable-diffusion-webui folder, upload relauncher. py. It will ask you to Overwrite so overwrite. Then restart your pod 1 time. This is only necessary 1 time to prevent permanent relaunching of Automatic1111 Web UI.
- Download attached CND_runpod.py and upload it into your Workspace folder
- Screenshot of upload
- Then type as below to run it. It will update ControlNet to latest and download all ControlNet model files into the correct folder
python CND_runpod.py
- It will clone/update ControlNet and then start downloading all ControlNet model pth files
- It will display status of downloads like can be seen here : Screenshot of downloads
- It will skip previously existing models but make sure that those models have been 100% downloaded. Otherwise they will give an error to you
After all downloads have been completed Start your Automatic1111 Web UI as below. Start a new terminal and copy paste
- fuser -k 3000/tcp
- cd /workspace/stable-diffusion-webui
- python relauncher.py
If you had previously installed ControlNet then it will just download the missing model files. You can also delete this folder for fresh install : stable-diffusion-webui\extensions\sd-webui-controlnet
Python command posted github file : https://github.com/FurkanGozukara/Stable-Diffusion/blob/main/Tutorials/How-To-Install-ControlNet-On-RunPod.md
Comments
Furkan Gözükara
well yes. dreambooth extension version is old. so we are using older version of automatic1111. therefore newest version of controlnet will not work. have 2 separate installation of automatic1111. 1 for dreambooth extension 1 for latest automatic1111 version for controlnet
Luis Arellano
Thanks again for the tutorial! I did run the Installer but after restarting SD, I don't see the Control Net. This happened also with Dreambooth (where it gets broken every once in a while). Can you help me understand why on RunPod sometimes the extensions don't seem to work, or get broken? is it a conflict with the requirements? any help in much appreciated
Peter Griffin
ok i will message you on discord and send path there. please wait till i do so
Furkan Gözükara
can you please try again and copy paste the path here? it is better to message me from discord and show screenshot
Peter Griffin
the path was workspace - webui - models - stable diffusion. btw sorry for taking your time
Peter Griffin
I already deleted my pod but i saved it as 50722.safetensors if thats what you mean. the path was workspace
Furkan Gözükara
ok how did you save it into the models folder? can you right click and copy path and tell me?
Peter Griffin
ofc! 3.97 GB, https://civitai.com/api/download/models/50722
Furkan Gözükara
how many mbs its size? can you tell me. also can you copy and paste path of it here?
Peter Griffin
I opened the folder models
Furkan Gözükara
how did you upload can you write here? i have an example on model did you use same way? folders? if you send me screenshot or your notebook from discord i can tell much better
Peter Griffin
hello! when i uploaded civitai model with it it didnt work, but appeared in the stable diffusion model tab? Im new in stable diffusion, please explain the problem
Furkan Gözükara
hi. they deleted some repos. you need to wait extension developer to update. but i updated my roop github file : https://github.com/FurkanGozukara/Stable-Diffusion/blob/main/Tutorials/1-Click-DeepFake-Tutorial.md
Rafał Ryniak
2023-08-21 12:08:52,073 - roop - INFO - roop v0.0.2 *** Error loading script: swapper.py Traceback (most recent call last): File "/workspace/stable-diffusion-webui/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/workspace/stable-diffusion-webui/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/workspace/stable-diffusion-webui/extensions/sd-webui-roop/scripts/swapper.py", line 12, in import insightface ModuleNotFoundError: No module named 'insightface'
Furkan Gözükara
Sorry for the issue fixed it. When that happens look very bottom attachments :)
Stable
hey man! Looks amazing, sadly it seems the CND_runpod.py isnt available anymore Any way to fix that? :) Anyway keep up the great work! really appreciate it
