Skip to content

Commit ce05687

Browse files
authored
update (#6237)
1 parent 58a6d59 commit ce05687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/common/trainer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ You can also modify hardware behavior by subclassing an existing accelerator to
254254
255255
Example::
256256
257-
class MyOwnDDP(DDPAccelerator):
257+
class MyOwnAcc(Accelerator):
258258
...
259259
260-
Trainer(accelerator=MyOwnDDP())
260+
Trainer(accelerator=MyOwnAcc())
261261
262262
.. warning:: Passing in custom accelerators is experimental but work is in progress to enable full compatibility.
263263

0 commit comments

Comments
 (0)