ユーザ用ツール

サイト用ツール


ai:plaidml

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ai:plaidml [2018/10/28 20:03] ogaai:plaidml [2019/06/29 16:32] (現在) – [PlaidML] oga
行 1: 行 1:
 ====== PlaidML ====== ====== PlaidML ======
  
 +  * https://www.intel.ai/plaidml/
   * https://github.com/plaidml/plaidml   * https://github.com/plaidml/plaidml
  
行 10: 行 11:
 | Linux            | Python      | OpenCL          | | Linux            | Python      | OpenCL          |
 | macOS            | Python      | OpenCL/Metal    | | macOS            | Python      | OpenCL/Metal    |
 +
 +
 +OpenCL, Metal に対応しているため、CUDA が走らない RADEON や Intel HD Graphics を利用することができます。
 +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)   | Windows  | 4C8T (i7-6700K) なら TensorFlow-CPU > Intel HD Graphics(OpenCL)   |
 +| Intel HD Graphcis 620 9G (KabyLake)  | Windows  | 4C8T (i5-8250U) なら TensorFlow-CPU > Intel HD Graphics(OpenCL)   |
 +| GeForce GTX 1070/1080                | Windows  | TensorFlow-GPU の CUDA の方が速い   |
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +===== Python =====
 +
 +==== Windows ====
 +
 +    - pip3 install plaidml-keras
 +    - Scripts/plaidml-setup
 +
 +==== Linux (Ubuntu/Debian) ====
 +
 +<code bash>
 +$ sudo apt install python3-venv
 +$ python3 -m venv plaid
 +$ . plaid/bin/activate
 +$ pip3 install plaidml-keras
 +$ plaidml-setup
 +</code>
 +
  
  
ai/plaidml.1540724636.txt.gz · 最終更新: 2018/10/28 20:03 by oga

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki