From 38d313fcbb9c53fe20cd691f0209b057a0bb6d14 Mon Sep 17 00:00:00 2001 From: William Berman Date: Wed, 17 May 2023 12:06:18 -0700 Subject: [PATCH 1/3] dreambooth docs torch.compile note --- examples/dreambooth/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/dreambooth/README.md b/examples/dreambooth/README.md index 086100bd4a36..5e47fe80e19e 100644 --- a/examples/dreambooth/README.md +++ b/examples/dreambooth/README.md @@ -43,6 +43,8 @@ from accelerate.utils import write_basic_config write_basic_config() ``` +Note that enabling `torch.compile` through the accelerate config can cause dramatic speed ups. + ### Dog toy example Now let's get our dataset. For this example we will use some dog images: https://huggingface.co/datasets/diffusers/dog-example. From 11b98a8e94c799cd6a6e8150bd0cd116d2267828 Mon Sep 17 00:00:00 2001 From: Will Berman Date: Thu, 18 May 2023 10:36:22 -0700 Subject: [PATCH 2/3] Update examples/dreambooth/README.md Co-authored-by: Sayak Paul --- examples/dreambooth/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dreambooth/README.md b/examples/dreambooth/README.md index 5e47fe80e19e..8f018e975b00 100644 --- a/examples/dreambooth/README.md +++ b/examples/dreambooth/README.md @@ -43,7 +43,7 @@ from accelerate.utils import write_basic_config write_basic_config() ``` -Note that enabling `torch.compile` through the accelerate config can cause dramatic speed ups. +When running `accelerate config`, if we specify torch compile mode to True there can dramatic speedups. ### Dog toy example From 48d1340b2a7aa39bb60a8a78907cc6ab505ff2be Mon Sep 17 00:00:00 2001 From: Sayak Paul Date: Fri, 19 May 2023 07:23:20 +0530 Subject: [PATCH 3/3] Update examples/dreambooth/README.md Co-authored-by: Pedro Cuenca --- examples/dreambooth/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dreambooth/README.md b/examples/dreambooth/README.md index 8f018e975b00..83073210ac04 100644 --- a/examples/dreambooth/README.md +++ b/examples/dreambooth/README.md @@ -43,7 +43,7 @@ from accelerate.utils import write_basic_config write_basic_config() ``` -When running `accelerate config`, if we specify torch compile mode to True there can dramatic speedups. +When running `accelerate config`, if we specify torch compile mode to True there can be dramatic speedups. ### Dog toy example