uide will show you how to finetune the CompVis/stable-diffusion-v1-4 model on your own dataset with PyTorch and Flax. All the training scripts for text-to-image finetuning used in this guide can be found in this repository if you’re interested in taking a closer look.
Before running the scripts, make sure to install the library’s training dependencies:


	Copied
pip install git+https://github.com/huggingface/diffusers.git
pip install -U -r requ