Home Artists Posts Import Register

Downloads

Content

Patreon exclusive posts index

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

RunPod Automatic1111 updater : https://www.patreon.com/posts/1-click-runpod-86438018

Updated 12 November 2023:

  • downloadSDXL.sh will now download SDXL FP16 VAE so you don't need --no-half-vae anymore
  • It will also download SDXL FP32 VAE which you can use during training
  • chmod +x downloadSDXL.sh
  • ./downloadSDXL.sh

Updated 18 October 2023:

  • Updated for missing scipy library

Updated 10 September 2023:

  • Execute below code 1 time after each restart of the Pod to get super insane speed with A5000 GPU. Same price of RTX 3090. 1.64 IT/s for 1024x1024 full SDLX DreamBooth training
  • apt update
  • apt install libcudnn8=8.9.7.29-1+cuda11.8 libcudnn8-dev=8.9.7.29-1+cuda11.8

Updated 11 August 2023

Instructions

  • downloadSDXL. sh file will automatically download latest models mentioned above
  • RunPod io link > https://bit.ly/RunPodIO
  • * Select stable-diffusion:web-ui or stable-diffusion:fast-stable-diffusion templates
  • * Make container disk size at least 15 GB
  • Download attached kohya_installer.sh , downloadSDXL.sh and then upload it into your Workspace folder
  • Screenshot of upload
  • Click here to open install commands on GitHub
  • Or here quick command
  • chmod +x kohya_installer.sh
  • ./kohya_installer.sh
  • If you pick stable-diffusion:web-ui template 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.

You can also use this runpodctl auto installer from this Patreon post > https://www.patreon.com/posts/1-click-bat-file-87505171

Check section Auto Installer For RunPod

Screenshot of install commands

Use a custom model otherwise not working.

Use below command to kill Web UI instance to save more VRAM before doing Kohya Training

  • fuser -k 3000/tcp

Use below command to start Kohya on RunPod after installation

  • apt update 
  • yes | apt-get install python3.10-tk
  • fuser -k 7860/tcp
  • cd /workspace/kohya_ss
  • source venv/bin/activate
  • export CUDA_VISIBLE_DEVICES=0
  • bash gui.sh --share --headless


By changing CUDA_VISIBLE_DEVICES  to different CUDA you can start different training on each GPU

SDXL training presets : https://www.patreon.com/posts/very-best-for-of-89213064

Comments

Anonymous

I m getting the same error as described here: https://www.reddit.com/r/StableDiffusion/comments/14q7pc3/kohya_buttons_not_working/ But none of the fixes is working.. Does anyone have a hint?

Furkan Gözükara

yes on runpod it won't work. you need to give paths yourself. right click copy path. after pasting put / to front. e.g. /workspace/traing

Zlata Ponirovskaya

Dear Dr. Furkan Gözükara could you please help me via Zoom/Discord/TeamViewer session? I'll pay for your time. Thank you in advance! (my discord 879480280983961681 possuminside / whatsapp +447751674250 )

Zlata Ponirovskaya

the link "downloadSDXL.sh " seems to be broken

Furkan Gözükara

it isn't a link actually. but stupid system of Patreon parses everything as a link. I made it reference to actual attachment.

Anonymous

Hey, The code stopped running after 8 hours, halfway through steps 46%... GPU is still active. Any idea what's the matter? Maybe I can get it back without running all over again?

Anonymous

can i use other models than base one? i got errors when i tried to use model from civitai

Furkan Gözükara

yes you can use. you must be downloading incorrectly though. you can use my downloader script : https://www.patreon.com/posts/96666744 the script has cookie info so even if model is restricted to the users it will work

Anonymous

Getting --train_text_encoder issue when using 24GB_TextEncoder.json on Runpod, any idea what might be causing this?

Nenad Kuzmanovic

Kohya had massive update. This script installs latest version, or particular?

Nenad Kuzmanovic

Can i just replace hash in your installer? I will try that