ai:plaidml
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
ai:plaidml [2019/06/29 14:18] – [Python] oga | ai:plaidml [2019/06/29 16:32] (現在) – [PlaidML] oga | ||
---|---|---|---|
行 1: | 行 1: | ||
====== PlaidML ====== | ====== PlaidML ====== | ||
+ | * https:// | ||
* https:// | * https:// | ||
行 12: | 行 13: | ||
- | OpenCL, Metal に対応しているため、RADEON や Intel HD Graphics を利用することができます。 | + | OpenCL, Metal に対応しているため、CUDA が走らない |
TensorFlow や CNTK 同様 Keras の Backend として機能するため、RADEON しか搭載していない Mac や Note PC でも GPU を活用できます。 | TensorFlow や CNTK 同様 Keras の Backend として機能するため、RADEON しか搭載していない Mac や Note PC でも GPU を活用できます。 | ||
+ | |||
+ | * [[keras|Keras でのバックエンド選択方法など]] | ||
+ | |||
+ | ただし 4 core 8 thread 以上の Intel CPU の場合は、OpenCL で Intel HD Graphics を使うよりも TensorFlow の CPU の方が速かったりするので事前にテストしてから利用することをおすすめします。 | ||
+ | |||
+ | 今までテストした中で PlaidML で使えたもの | ||
+ | |||
+ | |||
+ | | RADEON HD 7750 | Windows | ||
+ | | RADEON RX 480 | Windows | ||
+ | | RADEON Pro 580 | macOS | | | ||
+ | | RADEON Vega 56/64 | Windows | ||
+ | | Intel HD Graphcis 530 9G (Skylake) | ||
+ | | Intel HD Graphcis 620 9G (KabyLake) | ||
+ | | GeForce GTX 1070/ | ||
行 26: | 行 42: | ||
===== Python ===== | ===== Python ===== | ||
- | * Windows | + | ==== Windows |
- pip3 install plaidml-keras | - pip3 install plaidml-keras | ||
- Scripts/ | - Scripts/ | ||
- | * Linux (Ubuntu/ | + | ==== Linux (Ubuntu/ |
- | | + | |
- | | + | <code bash> |
- | | + | $ sudo apt install python3-venv |
- | | + | $ python3 -m venv plaid |
- | | + | $ . plaid/ |
+ | $ pip3 install plaidml-keras | ||
+ | $ plaidml-setup | ||
+ | </ | ||
+ | |||
ai/plaidml.1561785483.txt.gz · 最終更新: 2019/06/29 14:18 by oga