mirror of https://github.com/bmaltais/kohya_ss
1.1 KiB
1.1 KiB
Runpod
Manual installation
To install the necessary components for Runpod and run kohya_ss, follow these steps:
-
Select the Runpod pytorch 2.2.0 template. This is important. Other templates may not work.
-
SSH into the Runpod.
-
Clone the repository by running the following command:
cd /workspace git clone --recursive https://github.com/bmaltais/kohya_ss.git -
Run the setup script:
cd kohya_ss ./setup-runpod.sh -
Run the GUI with:
./gui.sh --share --headlessor with this if you expose 7860 directly via the runpod configuration:
./gui.sh --listen=0.0.0.0 --headless -
Connect to the public URL displayed after the installation process is completed.
Pre-built Runpod template
To run from a pre-built Runpod template, you can:
-
Open the Runpod template by clicking on https://runpod.io/gsc?template=ya6013lj5a&ref=w18gds2n.
-
Deploy the template on the desired host.
-
Once deployed, connect to the Runpod on HTTP 3010 to access the kohya_ss GUI. You can also connect to auto1111 on HTTP 3000.