From ce0568700bac078575f1dc35d8f1bd5fb29f194f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Mon, 1 Mar 2021 14:14:53 +0100 Subject: [PATCH] update (#6237) --- docs/source/common/trainer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/common/trainer.rst b/docs/source/common/trainer.rst index d88b327a09..17cfc7eccb 100644 --- a/docs/source/common/trainer.rst +++ b/docs/source/common/trainer.rst @@ -254,10 +254,10 @@ You can also modify hardware behavior by subclassing an existing accelerator to Example:: - class MyOwnDDP(DDPAccelerator): + class MyOwnAcc(Accelerator): ... - Trainer(accelerator=MyOwnDDP()) + Trainer(accelerator=MyOwnAcc()) .. warning:: Passing in custom accelerators is experimental but work is in progress to enable full compatibility.