Add a step about accelerate config to the examples (#130)

This commit is contained in:
Anton Lozhkov 2022-07-22 13:48:26 +02:00 committed by GitHub
parent 570d3f1eb9
commit cde0ed162a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,12 @@ Before running the scipts, make sure to install the library's training dependenc
pip install diffusers[training] accelerate datasets
```
And initialize an [🤗Accelerate](https://github.com/huggingface/accelerate/) environment with:
```bash
accelerate config
```
### Unconditional Flowers
The command to train a DDPM UNet model on the Oxford Flowers dataset: