Replace deprecated distributed_backend by acc in examples (#7795)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Kaushik B 2021-06-02 11:13:24 +05:30 committed by GitHub
parent 03bb389b21
commit e4ba06c70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -160,7 +160,7 @@ for the entire speech to text .yaml file.
max_epochs: 5
max_steps: null # computed at runtime if not set
num_nodes: 1
distributed_backend: ddp
accelerator: ddp
...
# configure the ASR model
model:
@ -598,7 +598,7 @@ Specify TTS Model Configurations with YAML File
gpus: -1 # number of gpus
max_epochs: 350
num_nodes: 1
distributed_backend: ddp
accelerator: ddp
...
# configure the TTS model

View File

@ -1669,9 +1669,8 @@
"\n",
" trainer = pl.Trainer(\n",
" gpus=1,\n",
" distributed_backend='dp',\n",
" accelerator='dp',\n",
" max_epochs=500,\n",
" early_stop_callback=False,\n",
" val_check_interval=100\n",
" )\n",
"\n",