Skip to content

Commit

Permalink
update strategy in notebook from ddp_fork to dp (#5088) (#5089)
Browse files Browse the repository at this point in the history
Co-authored-by: Zhilin Wang <wangzhilin12061996@hotmail.com>
  • Loading branch information
github-actions[bot] and Zhilin123 authored Oct 5, 2022
1 parent 07df15c commit 091bcad
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 091bcad

Please sign in to comment.