Australia/Sydney
BlogJune 15, 2024

How-To Fine-Tune Stable Diffusion Model Using SimpleTuner on My Own Images Locally

Fahd Mirza

This video is a step-by-step tutorial to install SimpleTuner Locally and fine-tune stable diffusion 3 medium locally on your own images. 




Code:

conda create -n simpletuner python=3.11 -y

https://github.com/bghira/SimpleTuner.git

cd SimpleTuner

pip install https://github.com/turboderp/exllamav2/releases/download/v0.1.5/exllamav2-0.1.5+cu118.torch2.3.1-cp311-cp311-linux_x86_64.whl

pip install transformers
pip install -U huggingface-hub
pip install xformers torchvision torchaudio

curl -sSL https://install.python-poetry.org | python3 -
pip install -U poetry pip
poetry install --no-root


apt -y install git-lfs
mkdir -p datasets
pushd datasets
    git clone https://huggingface.co/datasets/ptx0/pseudo-camera-10k
popd

-- Get config files from this link : https://github.com/bghira/SimpleTuner/blob/main/documentation/QUICKSTART.md

bash train_sdxl.sh
Share this post:
On this page

Let's Partner

If you are looking to build, deploy or scale AI solutions — whether you're just starting or facing production-scale challenges — let's chat.

Subscribe to Fahd's Newsletter

Weekly updates on AI, cloud engineering, and tech innovations