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: Sasha Meister <[email protected]>
  • Loading branch information
2 people authored and ssh-meister committed Oct 10, 2023
1 parent 468e8b0 commit 8406b69
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 8406b69

Please sign in to comment.