From 8074219f02e2c799e94b176d5be8d0fd15341028 Mon Sep 17 00:00:00 2001 From: Soroush Saryazdi Date: Fri, 17 Mar 2023 04:16:07 -0700 Subject: [PATCH] Typo fix in upgrade from 1.9.x to 2.0 docs: `use_distributed_sample`-> `use_distributed_sampler` (#17113) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Carlos Mocholí --- docs/source-pytorch/upgrade/sections/1_9_advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-pytorch/upgrade/sections/1_9_advanced.rst b/docs/source-pytorch/upgrade/sections/1_9_advanced.rst index 83bed2218d..0dbd098847 100644 --- a/docs/source-pytorch/upgrade/sections/1_9_advanced.rst +++ b/docs/source-pytorch/upgrade/sections/1_9_advanced.rst @@ -39,7 +39,7 @@ - #16745 #16745 * - used Trainer’s flag ``replace_sampler_ddp`` - - use ``use_distributed_sample``; the sampler gets created not only for the DDP strategies + - use ``use_distributed_sampler``; the sampler gets created not only for the DDP strategies - * - relied on the ``on_tpu`` argument in ``LightningModule.optimizer_step`` hook