From b6f9fce414c1cd4ae90283ed90bde834ee67e907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Sat, 27 Feb 2021 03:21:39 +0100 Subject: [PATCH] update --- 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 d88b327a0944f..17cfc7eccbc20 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.