From cde0ed162a127b17f1b4d4b16ff7f736cf04e690 Mon Sep 17 00:00:00 2001 From: Anton Lozhkov Date: Fri, 22 Jul 2022 13:48:26 +0200 Subject: [PATCH] Add a step about accelerate config to the examples (#130) --- examples/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/README.md b/examples/README.md index 7f18d6522c..e4b1576802 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: