フリー問題

PyTorch Certified Associate のフリー問題 13 / 20 問目

問題文

For multi-GPU training on a single machine, which approach does the documentation recommend, and why?

選択肢

  1. The single-process wrapper that replicates the model across devices, because keeping everything in one process removes the need for inter-process communication and therefore scales better on a single machine.
  2. Manual splitting of the batch with explicit copies to each device.
  3. Distributed data parallel training with one process per device, because it avoids the bottleneck of a single process driving all devices.
  4. Running independent processes without any gradient synchronization.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。