Skip to content

Commit

Permalink
update strategy in notebook from ddp_fork to dp (NVIDIA#5088) (NVIDIA…
Browse files Browse the repository at this point in the history
…#5089)

Co-authored-by: Zhilin Wang <wangzhilin12061996@hotmail.com>
Signed-off-by: 1-800-bad-code <shane.carroll@utsa.edu>
  • Loading branch information
2 people authored and 1-800-BAD-CODE committed Nov 13, 2022
1 parent fa0195f commit 182ac60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/nlp/Question_Answering.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
"config.trainer.precision = 16\n",
"config.trainer.devices = [0] # 0 for CPU, or list of the GPUs to use e.g. [0, 1] or [0]\n",
"config.trainer.accelerator = \"gpu\"\n",
"config.trainer.strategy=\"ddp_fork\""
"config.trainer.strategy=\"dp\""
]
},
{
Expand Down

0 comments on commit 182ac60

Please sign in to comment.