NokiMo
Furkan Gözükara
Furkan Gözükara

patreon


1 Click Installer for Automatic1111 SD Web UI, SDXL, ControlNet, All ControlNet Models, TensorRT (RTX Accelerator) For RunPod / Any Linux System

Join discord and tell me your discord username to get a special rank : SECourses Discord

Patreon exclusive posts index

6 June 2024 Update

Latest installer files : runpod_auto1111_v19.zip

Download the zip file and extract into any folder.

These scripts are prepared for RunPod but they would work on any Linux system. It can be local or Cloud. Just change the paths accurately.

The install commands and full instructions are provided at the runpod_instructions_READ .txt inside the attached zip file.

If you register RunPod with my link I appreicate : https://runpod.io?ref=1aka98lq

Login your pod you can use this link : https://runpod.io?ref=1aka98lq

If you don't know how to setup a Pod here written tutorial : 

Full ControlNet Tutorial : https://youtu.be/3E5fhFQUVLo

How To Install On RunPod

Install all command is suggest one

After installation to re-run the web UI execute below command

If you use above command and install all, you don't need any of below ones since all will be installed.

Now we have different installers

To run it copy paste below command

If you want to install only TensorRT Extension

The tutorial of TensorRT here : https://youtu.be/kvxX6NrPtEk

And another tutorial of TensorRT : https://youtu.be/eKnMVXVjVoU

Script to execute for install

Let's say you want to download all controlnet models

Then you need to run below command

This above command will download huge amount of models 40GB+

I will hopefully update scripts if there be new model releases.

Using ip-adapter-faceid and instant_id_sdxl are not straight forward. 

However I find that, these both models are working very poor compared to my direct implementation of their pipelines into a single Gradio app with 1 click installer.

You can download them from

1 Click Automatic Installer & A Very Advanced GUI For InstantId For Windows, RunPod, Linux & Kaggle Notebook:

IP-Adapter-FaceID-PlusV2 - 0 Shot Face Transfer - Auto Installer & Gradio App

Both of my apps has instructions and installers for both Windows, RunPod (Linux) & Kaggle notebooks

after this operation i suggest you to restart your web ui with following command

You can also run download_models.py file

This file will download the following models

To download any custom model you want, execute below command

Then use below format



1 Click Installer for Automatic1111 SD Web UI, SDXL, ControlNet, All ControlNet Models, TensorRT (RTX Accelerator) For RunPod / Any Linux System 1 Click Installer for Automatic1111 SD Web UI, SDXL, ControlNet, All ControlNet Models, TensorRT (RTX Accelerator) For RunPod / Any Linux System

Comments

hello can you make a quick video how you install and share with me

Furkan Gözükara

Greetings, when i use your Autoinstaller I'm getting this error: " Cloning BLIP into W:\Auto1111_V8\stable-diffusion-webui\repositories\BLIP... Cloning into 'W:\Auto1111_V8\stable-diffusion-webui\repositories\BLIP'... remote: Enumerating objects: 277, done. remote: Counting objects: 100% (183/183), done. remote: Compressing objects: 100% (46/46), done. remote: Total 277 (delta 145), reused 137 (delta 137), pack-reused 94 (from 1) Receiving objects: 100% (277/277), 7.04 MiB | 23.24 MiB/s, done. Resolving deltas: 100% (152/152), done. Traceback (most recent call last): File "W:\Auto1111_V8\stable-diffusion-webui\launch.py", line 48, in main() File "W:\Auto1111_V8\stable-diffusion-webui\launch.py", line 39, in main prepare_environment() File "W:\Auto1111_V8\stable-diffusion-webui\modules\launch_utils.py", line 422, in prepare_environment if not requirements_met(requirements_file): File "W:\Auto1111_V8\stable-diffusion-webui\modules\launch_utils.py", line 290, in requirements_met import packaging.version ModuleNotFoundError: No module named 'packaging' any idea how to fix this?

Shepard4k

great. normally auto1111 should automatically update dependencies but if you had enabled --skip install - comes default, that must be reason

Furkan Gözükara

Hello, something happened. After updating A1111(used only the script from the file "install_latest_auto_1111.sh") - A1111 stopped running. Please see what this might be related to. Perhaps you should make a script that installs A1111 from the repository and creates your own venv, rather than using the one that was in the template? UPD Looks like I solved the problem. Added to file "install_latest_auto_1111.sh" after the line "44" pip install -r requirements.txt

Dmitry

you mean you are using on runpod right? please provide more details because i didnt understand

Furkan Gözükara

Hello, unfortunately have error with checkpoint window and vae window (it does not appear when I make checkpoint/vae changes), also I have lowvram eror and it does not work when I reload or etc

natalate_art

yes very possibly. for instant id you use controlnet? i think open issue on controlnet github : https://github.com/Mikubill/sd-webui-controlnet

Furkan Gözükara

i have shown how to that on massed compute in this tutorial . i have shown content of the scripts as well : https://youtu.be/0t5l6CP9eBg

Furkan Gözükara

Hi Furkhan... how to get the same installation (with adetailer and other extensions) on MassedCompute? If I'm not wrong, I read somewhere (that now I can't reach out) on your patreon that there is a command to one-click-install all the useful extensions on the A1111 base version of MC (without having to install manually one by one and restart the app)...

Art

Hello, I have not installed 1111 for a week, now I have installed it and noticed that the preprocessor "instant_id_face_keypoints" no longer works Could you check why and how it can be fixed? Is it possible that this is related to upgrading A 1111 to version 1.9? I tried switching to version 1.8, but it didn't work This is what I get when I try to process an image through a preprocessor: from pydantic import Field, ValidationInfo, field_validator, model_validator ImportError: cannot import name 'ValidationInfo' from 'pydantic' (/workspace/venv/lib/python3.10/site-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so)

Dmitry

hello this is fixed sorry for this mistake

Furkan Gözükara

Hello, you wrote in the instructions that if I run the command: "export HF_HOME="/workspace" cd /workspace chmod +x install_all.sh ./install_all.sh" Then everything that is needed will be installed, but I did not find a line in the script that would run the file: "install_latest_auto_1111.sh" Is this how it should be and is the code with the automatiс1111 update in the py files? I got acquainted with the code from the moment I started watching your videos, do not judge strictly if I do not understand something)

Dmitry

yes i am working on testing to update

Furkan Gözükara

Hi Mate, do you plan to update the Windows Version as well? Maybe there is also sth. new to try?

C. Jonas

It works. We have so many XL ControlNet models and this downloads all

Furkan Gözükara

Hello, in this last update controlnet still does not work in XL, right?

Jorgcamacho

use SDXL base 1.0 for training. if you want SD 1.5 training use hyper realism v3

Furkan Gözükara

Hello, I have another question. About the models that are installed, should I choose one of them to use as a base model for training (in this case realistic). But if so, what happens with SDXL, I don't understand?

Franco Acosta Diaz

If you run all you don't need rest. I will update post now

Furkan Gözükara

Hi, I really like the content of your patreon, thank you very much, I have already downloaded Kohya in Runpod, now I have this. I would like to know if with this command: export HF_HOME="/workspace" cd /workspace chmod +x install_all.sh ./install_all.sh I download everything and all is done and finish. Or do I still have to download the rest with these other commands: export HF_HOME="/workspace" cd /workspace chmod +x install_latest_auto_1111.sh ./install_latest_auto_1111.sh .... ETC.

Franco Acosta Diaz

For InstantId i am making a stand alone installer right now. ControlNet extension still not working perfect for it

Furkan Gözükara

Hello, thank you very much for your amazing work helping to solve a lot of problems. I used the installation through your script, everything works fine, but recently an update for controlnet was released, instant_ID appeared in it https://www.youtube.com/watch ?v=pd4EY5udcF8 Allows you to create art based on photos that are not inferior in quality to Laura. And instant_id doesn't work. Could you please see what the problem might be and how this problem can be solved?

Dmitry

and this error *** Error running process_batch: /workspace/stable-diffusion-webui/extensions/Stable-Diffusion-WebUI-TensorRT/scripts/trt.py8it/s] Traceback (most recent call last): File "/workspace/stable-diffusion-webui/modules/scripts.py", line 742, in process_batch script.process_batch(p, *script_args, **kwargs) File "/workspace/stable-diffusion-webui/extensions/Stable-Diffusion-WebUI-TensorRT/scripts/trt.py", line 302, in process_batch if self.idx != sd_unet.current_unet.profile_idx: AttributeError: 'NoneType' object has no attribute 'profile_idx'

Ton Nattapong

Hi, I'm reaching out to seek assistance for a persistent error I've been encountering with a CUDA-related process. Here is the error message: Traceback (most recent call last): File "/workspace/venv/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "/workspace/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( File "/workspace/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "/workspace/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/workspace/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/workspace/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/workspace/venv/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper response = f(*args, **kwargs) File "/workspace/stable-diffusion-webui/modules/call_queue.py", line 77, in f devices.torch_gc() File "/workspace/stable-diffusion-webui/modules/devices.py", line 61, in torch_gc torch.cuda.empty_cache() File "/workspace/venv/lib/python3.10/site-packages/torch/cuda/memory.py", line 133, in empty_cache torch._C._cuda_emptyCache() RuntimeError: CUDA error: an illegal memory access was encountered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Ton Nattapong

run installer files i think it still should work like as clean

Furkan Gözükara

Can you please explain how to do clean reinstall so we don't lose model data

Arcon Septim

if you could record a video of how you are following i could tell your mistake. did you follow this video? I am also going to test now - https://www.youtube.com/watch?v=eKnMVXVjVoU

Furkan Gözükara

Hi, I followed your Tensor RT installation tutorial for RunPOD. I am not getting Tensor RT option in my stable diffusion webUI. Any clue what might be the problem? driver info shows ths - NVIDIA-SMI 520.56.06

Pallavi Chauhan

it happens when models are corrupted

Furkan Gözükara

Hello, if I try to load my file I get this error message on Runpod Stable Diffusion: NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check. Do you know what should I do now?

Felix Rockwell

you are asking with TensorRT right? there is a way but not easy. official repo still in development https://github.com/FlamingJay/Stable-Diffusion-WebUI-TensorRT/blob/control_lora/info.md

Furkan Gözükara

Hi, I think there is no way to update controlnet to use it for the XL version.

Jorgcamacho

can you give me link of ReActor ? i think i can prepare auto installer

Furkan Gözükara

Hey thanks for these details - is it possible to use ReActor with this installation please? Struggling to find anything online related to RunPod

Rylan Czuczman

Awesome comment thank you so much. Also thank you for keep supporting me.

Furkan Gözükara

You are very dedicated to your work... I really appreciate and respect that. I think you are by far the best AI content tutorial creator on the internet right now. Don't change anything in your work... I learned a lot from you and our early patreon hangout we had when I was at begining of this journey. Since then I have learned a lot, especially training models that are not the face of a real person. Right now I'm blown away by the results I'm getting in Kohya training only OUT blocks in LORA. I assure you that IS THE ONLY WAY to properly teach a style... There is no other way, cause every single tutorial on YT that explain how to make Style model is WRONG. In their way you just getting Concept and not style.. A whole unexplored universe is hidden behind those settings. I feel like I'm just starting to learn Latent Diffusion. If you want, I can send you the results of those trainings, with dataset images, etc... As a sign of gratitude, because you were my first teacher..

Nenad Kuzmanovic

hi please report this in runpod discord server. looks like their error

Furkan Gözükara

Hello my Runpod has worked for weeks and suddenly it is giving me this error for 2 days. Happens with creating new pods also. 2023-11-18T17:48:54Z create pod network 2023-11-18T17:48:54Z create container runpod/stable-diffusion:web-ui-10.2.1 2023-11-18T17:49:02Z pending image pull runpod/stable-diffusion:web-ui-10.2.1 2023-11-18T17:49:09Z error pulling image: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 127.0.0.53:53: read udp 127.0.0.1:43926->127.0.0.53:53: i/o timeout Have you seen this before?

Shavel

Yes you can also generate LoRA tensor. Explained in this video have you seen it? https://youtu.be/kvxX6NrPtEk

Furkan Gözükara

Hi! Can you give an advise about running Tensors with custom Lora? TensorRT Lora tab model loading seems to have no effect. And stylasation is disappearing while using it. I'm developing an indie product and Tensors can really lower my buget on large scale. I would apreceate if you can give me a hint:)

Vasiliy Bulanov

follow same order. Relauncher.py is just for runpod. you can start as in kaggle notebook if you can't make it : https://youtu.be/dpM02YMj8FY

Furkan Gözükara

Relauncher.py is just for runpod right? if we are installing tensor rt on our local linux machine, we just need to install the 1_click and the install_tensorRT.sh script? Any particular order we need to install them in?

Brandon Waters

ERROR:root:Failed to add Constant /out/out.0/Constant_2_output_0 Finished refit. Dumping result to disk. Traceback (most recent call last): File "/home/venv/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "/home/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( File "/home/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1103, in call_function prediction = await anyio.to_thread.run_sync( File "/home/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/venv/lib/python3.10/site-packages/gradio/utils.py", line 707, in wrapper response = f(*args, **kwargs) File "/home/stable-diffusion-webui/extensions/Stable-Diffusion-WebUI-TensorRT/ui_trt.py", line 262, in export_lora_to_trt engine.refit(onnx_base_path, onnx_lora_path, dump_refit_path=trt_lora_path) File "/home/stable-diffusion-webui/extensions/Stable-Diffusion-WebUI-TensorRT/utilities.py", line 277, in refit save_file( File "/home/venv/lib/python3.10/site-packages/safetensors/numpy.py", line 74, in save_file if not _is_little_endian(tensor): File "/home/venv/lib/python3.10/site-packages/safetensors/numpy.py", line 167, in _is_little_endian byteorder = tensor.dtype.byteorder AttributeError: 'NoneType' object has no attribute 'dtype'

Joel Maynard

does this tensort support sdxl lora?

Joel Maynard

hello. please upload relauncher py file, it will ask you overwrite and restart 1 time the pod. after that continue. have you made that way?

Furkan Gözükara

/workspace/stable-diffusion-webui/models/V 100%[=======================================================================================>] 319.14M 109MB/s in 2.9s 2023-10-05 07:45:59 (109 MB/s) - ‘/workspace/stable-diffusion-webui/models/VAE/sd_xl_base_1.0.safetensors’ saved [334641164/334641164] Traceback (most recent call last): File "/workspace/stable-diffusion-webui/relauncher.py", line 26, in relaunch_process() File "/workspace/stable-diffusion-webui/relauncher.py", line 9, in relaunch_process while (n<1): NameError: name 'n' is not defined root@8210406ec097:/workspace# Getting this error

Rahul

the controlnet extension developer keep updating the extension. i think it will come sooner. also there are a lot of new models i havent tested yet. here updated this thread : https://www.patreon.com/posts/84896373 - now it installs total 48 models and all of the newest SDXL models. give them a try

Furkan Gözükara

hello, reference_only is not working for SDXL do you know any other alternative i can use?

IOVANE Tchavtchanidze

Thank you so much. I am so sorry for late reply. I was sick yesterday couldn't check computer. Your support tremendously helping me.

Furkan Gözükara

It's great to see you here. I learned a lot of the skills I need to create AI-related content from your videos, so I apologize for not subscribing sooner. Good luck with your future endeavors.

jaehyun AI

nice i am glad you solved. sorry for late reply

Furkan Gözükara

started, offline work was selected in the settings, again reply from space ;)))

Rafał Ryniak

maybe you just need to change the access path

Rafał Ryniak

Hey, could you help me with the extension "https://www.youtube.com/watch?v=WMZK_kJmMhE&list=PLYf1s3ur6XqqoO8mx3w7SqFev8W3N8RIy&index=44&t=340s" it doesn't generate images for me o it can't find the inpant model, there is an offline version in this video, it doesn't work on the runpod, do you have any idea for that? Or an alternative, maybe photoshop, I mean a more accurate mask. thanks.

Rafał Ryniak

hi. sent you private message too

Furkan Gözükara

messaged you from private message too. you need to select cuda 118 pod : https://cdn-uploads.huggingface.co/production/uploads/6345bd89fe134dfd7a0dba40/gNCVsUAhOqZ8bHb58m4Y2.png

Furkan Gözükara

hi please select this pod and use this installer : https://cdn-uploads.huggingface.co/production/uploads/6345bd89fe134dfd7a0dba40/gNCVsUAhOqZ8bHb58m4Y2.png

Furkan Gözükara

what can i do?

Rafał Ryniak

"RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. PyTorch has CUDA Version=11.7 and torchvision has CUDA Version=11.8. Please reinstall the torchvision that matches your PyTorch install."

Rafał Ryniak

Hi,

Rafał Ryniak

hello did you upload relauncher.py and restart your pod? I am testing right now to verify it is still working or not

Furkan Gözükara

Hi. Thanks for the great ressources. However after following the steps whenever connecting through Runpod with the service port, the webUI is stalling at the loading step (the orange squares freeze)

Philipp Capetian

LoRAs of SD 1.5 is not compatible with SDXL. you can use majority of the extensions but controlnet is also not compatible

Furkan Gözükara

Hello. Can I use LoRAs and extensions from SD on SDXL?

WL

not yet unfortunately. i am looking forward them to add so i can update a tutorial

Furkan Gözükara

Hello. Thanks for the guides. Is there any way to use the refiner in A1111 currently?

Ish Hodaszi

Hi. SDXL can't do dreambooth yet. I am waiting dreambooth extension update

Furkan Gözükara

Hi - is the dreambooth workflow same as before or are there any different setting/special considerations for sdxl + automatic 1111?

indievish


Related Creators