Skip to content

Commit e4ba06c

Browse files
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>
1 parent 03bb389 commit e4ba06c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/source/ecosystem/asr_nlp_tts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ for the entire speech to text .yaml file.
160160
max_epochs: 5
161161
max_steps: null # computed at runtime if not set
162162
num_nodes: 1
163-
distributed_backend: ddp
163+
accelerator: ddp
164164
...
165165
# configure the ASR model
166166
model:
@@ -598,7 +598,7 @@ Specify TTS Model Configurations with YAML File
598598
gpus: -1 # number of gpus
599599
max_epochs: 350
600600
num_nodes: 1
601-
distributed_backend: ddp
601+
accelerator: ddp
602602
...
603603
604604
# configure the TTS model

notebooks/08-Domain-specific-demos.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,9 +1669,8 @@
16691669
"\n",
16701670
" trainer = pl.Trainer(\n",
16711671
" gpus=1,\n",
1672-
" distributed_backend='dp',\n",
1672+
" accelerator='dp',\n",
16731673
" max_epochs=500,\n",
1674-
" early_stop_callback=False,\n",
16751674
" val_check_interval=100\n",
16761675
" )\n",
16771676
"\n",

0 commit comments

Comments
 (0)