From 0cb3f0958f90cc5d31f6131db548e708bfcf0e94 Mon Sep 17 00:00:00 2001 From: Anton Lozhkov Date: Fri, 22 Jul 2022 13:46:01 +0200 Subject: [PATCH] Add a step about accelerate config to the examples --- examples/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/README.md b/examples/README.md index 7f18d6522c01..e4b157680259 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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: