wsl -d ubuntu sudo apt install python3.10-venv wget https://developer.download.nvidia.com/compute/

wsl -d ubuntu sudo apt install python3.10-venv wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb sudo dpkg -i cuda-keyring_1.0-1_all.deb sudo apt-key del 7fa2af80 wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb sudo dpkg -i cuda-keyring_1.0-1_all.deb sudo apt-get update wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb sudo apt-get -y install cuda git clone --recursive https://github.com/bmaltais/kohya_ss.git chmod +x ./setup.sh sudo apt update -y sudo apt install -y python3-tk sudo apt install software-properties-common -y sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.10 python3.10-venv python3.10-dev python3 --version ./gui.sh git branch git switch sd3-flux.1 source venv/bin/activate pip install torch==2.4.0+cu124 --index-url https://download.pytorch.org/whl/cu124 pip install torchvision==0.19.0+cu124 --index-url https://download.pytorch.org/whl/cu124 pip install xformers==0.0.27.post2 ./gui.sh
GitHub
GitHub - bmaltais/kohya_ss
Contribute to bmaltais/kohya_ss development by creating an account on GitHub.
16 Replies
Furkan Gözükara SECourses
code format it also how do you handle file saving setup?
dsienra
dsienraOP9mo ago
that is the list of commands I used to set it up I save it on a txt
Furkan Gözükara SECourses
it probably cant reach your windows folders
dsienra
dsienraOP9mo ago
yes it can
Furkan Gözükara SECourses
i see so its aim is not isolation
dsienra
dsienraOP9mo ago
No description
Furkan Gözükara SECourses
i see what you mean
dsienra
dsienraOP9mo ago
No description
Furkan Gözükara SECourses
i think i may make seperate tutorial for it
dsienra
dsienraOP9mo ago
by default the windows drives are mounted under \wsl.localhost\Ubuntu\mnt
dsienra
dsienraOP9mo ago
these are my paths on kohya
No description
dsienra
dsienraOP9mo ago
im using my windows folders
Furkan Gözükara SECourses
i see thanks for info
dsienra
dsienraOP9mo ago
you welcome
nicearoni
nicearoni9mo ago
this is literally what i've just been trying to do for the last hour lol - thank you so much!! i got the kohya gui to launch, but am getting cuda errors, so i haven't bothered trying since that's the whole point over using native windows lol. i may try, though, wondering how soon torch fix is coming?
dsienra
dsienraOP9mo ago
wsl -d ubuntu this command is to enter to the one installed distributions

Did you find this page helpful?