Skip to content

Commit b25ae2e

Browse files
[docs] [dreambooth training] accelerate.utils.write_basic_config (huggingface#1513)
1 parent 0f1c246 commit b25ae2e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/dreambooth/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ And initialize an [🤗Accelerate](https://github.com/huggingface/accelerate/) e
1919
accelerate config
2020
```
2121

22+
Or if your environment doesn't support an interactive shell e.g. a notebook
23+
24+
```python
25+
from accelerate.utils import write_basic_config
26+
write_basic_config()
27+
```
28+
2229
### Dog toy example
2330

2431
You need to accept the model license before downloading or using the weights. In this example we'll use model version `v1-4`, so you'll need to visit [its card](https://huggingface.co/CompVis/stable-diffusion-v1-4), read the license and tick the checkbox if you agree.

0 commit comments

Comments
 (0)