apt it for your own use-case. Before running the script, make sure you install the library from source:   Copied git clone https://github.com/huggingface/diffusers
cd diffusers
pip install . Navigate to the example folder with the training script and install the required dependencies:   Copied cd examples/custom_diffusion
pip install -r requirements.txt
pip install clip-retrieval 🤗 Accelerate is a library for helping you train on multiple GPUs/