Skip to content

Commit

Permalink
update strategy (NVIDIA#7577) (NVIDIA#7578)
Browse files Browse the repository at this point in the history
Signed-off-by: Nithin Rao Koluguri <nithinraok>
Co-authored-by: Nithin Rao <[email protected]>
Signed-off-by: Elena Rastorgueva <[email protected]>
  • Loading branch information
2 people authored and erastorgueva-nv committed Oct 11, 2023
1 parent 1b53e91 commit f9ddc19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/asr/Self_Supervised_Pre_Training.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
"\n",
"if torch.cuda.is_available():\n",
" cfg.trainer.accelerator = 'gpu'\n",
" cfg.trainer.strategy = 'dp'\n",
" cfg.trainer.strategy = 'auto'\n",
" cfg.trainer.devices = 1\n",
"else:\n",
" cfg.trainer.accelerator = 'cpu'\n",
Expand Down Expand Up @@ -534,7 +534,7 @@
"\n",
"if torch.cuda.is_available():\n",
" cfg.trainer.accelerator = 'gpu'\n",
" cfg.trainer.strategy = 'dp'\n",
" cfg.trainer.strategy = 'auto'\n",
" cfg.trainer.devices = 1\n",
"else:\n",
" cfg.trainer.accelerator = 'cpu'\n",
Expand Down

0 comments on commit f9ddc19

Please sign in to comment.