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:
parent
03bb389b21
commit
e4ba06c70f
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue