第13章計算の性能
13.5.8. Exercises13.5.8 練習問題
- When training on GPUs, change the minibatch size from to , i.e., scale it up by the number of GPUs.
英語のヒント
個のGPUで訓練するとき、ミニバッチの大きさをからに変えよ。つまり、GPUの数だけ大きくせよ。 - Compare accuracy for different learning rates. How does it scale with the number of GPUs?
英語のヒント
さまざまな学習率で正解率を比べよ。GPUの数に応じてそれはどう変わるか。 - Implement a more efficient
allreducefunction that aggregates different parameters on different GPUs? Why is it more efficient?英語のヒント
異なるGPUで異なるパラメータを集める、もっと効率的なallreduce関数を実装せよ。それはなぜもっと効率的なのか。 - Implement multi-GPU test accuracy computation.
英語のヒント
複数GPUでのテストの正解率の計算を実装せよ。