Remove the docs for passing strategy args to accelerator (#15636)

This commit is contained in:
Akihiro Nitta 2022-11-11 19:46:10 +09:00 committed by GitHub
parent 2f0c0396b8
commit 164e5a7b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View File

@ -262,9 +262,6 @@ Example::
# Training with GPU Accelerator using total number of gpus available on the system
Trainer(accelerator="gpu")
.. warning:: Passing training strategies (e.g., ``"ddp"``) to ``accelerator`` has been deprecated in v1.5.0
and will be removed in v1.7.0. Please use the ``strategy`` argument instead.
accumulate_grad_batches
^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -172,10 +172,6 @@ class Trainer:
accelerator: Supports passing different accelerator types ("cpu", "gpu", "tpu", "ipu", "hpu", "mps, "auto")
as well as custom accelerator instances.
.. deprecated:: v1.5
Passing training strategies (e.g., 'ddp') to ``accelerator`` has been deprecated in v1.5.0
and will be removed in v1.7.0. Please use the ``strategy`` argument instead.
accumulate_grad_batches: Accumulates grads every k batches or as set up in the dict.
Default: ``None``.