Skip to content

Commit cde0ed1

Browse files
authored
Add a step about accelerate config to the examples (#130)
1 parent 570d3f1 commit cde0ed1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Before running the scipts, make sure to install the library's training dependenc
1010
pip install diffusers[training] accelerate datasets
1111
```
1212

13+
And initialize an [🤗Accelerate](https://github.com/huggingface/accelerate/) environment with:
14+
15+
```bash
16+
accelerate config
17+
```
18+
1319
### Unconditional Flowers
1420

1521
The command to train a DDPM UNet model on the Oxford Flowers dataset:

0 commit comments

Comments
 (0)