This commit is contained in:
Adrian Wälchli 2021-03-01 14:14:53 +01:00 committed by GitHub
parent 58a6d59784
commit ce0568700b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.