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
+6
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: