プリンキピア

第13章計算の性能

13.6.5. Exercises13.6.5 練習問題

  1. This section uses ResNet-18. Try different epochs, batch sizes, and learning rates. Use more GPUs for computation. What happens if you try this with 16 GPUs (e.g., on an AWS p2.16xlarge instance)?
    英語のヒント
    この節ではResNet-18を使う。さまざまなエポック数、バッチの大きさ、学習率を試せ。計算にもっと多くのGPUを使え。16個のGPUで(たとえばAWSのp2.16xlargeインスタンスで)これを試すと何が起こるか。
  2. Sometimes, different devices provide different computing power. We could use the GPUs and the CPU at the same time. How should we divide the work? Is it worth the effort? Why? Why not?
    英語のヒント
    装置によって計算能力が異なることがある。GPUとCPUを同時に使うこともできる。仕事をどう分けるべきか。その手間をかける価値はあるか。それはなぜか、あるいはなぜそうでないか。