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
code format it
also how do you handle file saving setup?
that is the list of commands I used to set it up
I save it on a txt
it probably cant reach your windows folders
yes it can
i see so its aim is not isolation

i see what you mean

i think i may make seperate tutorial for it
by default the windows drives are mounted under \wsl.localhost\Ubuntu\mnt
these are my paths on kohya

im using my windows folders
i see thanks for info
you welcome
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?
wsl -d ubuntu
this command is to enter to the one installed distributions