プリンキピア

第13章計算の性能

13.2.4. Summary13.2.4 まとめ

  • Deep learning frameworks may decouple the Python frontend from an execution backend. This allows for fast asynchronous insertion of commands into the backend and associated parallelism.
    英語のヒント
    深層学習のフレームワークは、Pythonのフロントエンドを実行のバックエンドから切り離すことがある。これにより、バックエンドへのコマンドの速い非同期な挿入と、それに伴う並列性が可能になる。
  • Asynchrony leads to a rather responsive frontend. However, use caution not to overfill the task queue since it may lead to excessive memory consumption. It is recommended to synchronize for each minibatch to keep frontend and backend approximately synchronized.
    英語のヒント
    非同期性により、フロントエンドはかなり反応がよくなる。しかし、メモリの過剰な消費につながりうるので、タスクのキューを詰め込みすぎないよう注意してほしい。フロントエンドとバックエンドをおおよそ同期させておくため、ミニバッチごとに同期することを勧める。
  • Chip vendors offer sophisticated performance analysis tools to obtain a much more fine-grained insight into the efficiency of deep learning.
    英語のヒント
    チップのベンダーは、深層学習の効率についてもっとずっときめ細かい洞察を得るための、高度な性能解析の道具を提供している。