ユーザ用ツール

サイト用ツール


ai:plaidml

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ai:plaidml [2019/06/29 14:18] – [Python] 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
  
行 12: 行 13:
  
  
-OpenCL, Metal に対応しているため、RADEON や Intel HD Graphics を利用することができます。+OpenCL, Metal に対応しているため、CUDA が走らない RADEON や Intel HD Graphics を利用することができます。
 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)   | 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 の方が速い   |
  
  
行 26: 行 42:
 ===== Python ===== ===== Python =====
  
-  * Windows+==== Windows ==== 
     - pip3 install plaidml-keras     - pip3 install plaidml-keras
     - Scripts/plaidml-setup     - Scripts/plaidml-setup
  
-  * Linux (Ubuntu/Debian) +==== Linux (Ubuntu/Debian) ==== 
-    $ sudo apt install python3-venv + 
-    $ python3 -m venv plaid +<code bash> 
-    $ . plaid/bin/activate +$ sudo apt install python3-venv 
-    $ pip3 install plaidml-keras +$ python3 -m venv plaid 
-    $ plaidml-setup+$ . plaid/bin/activate 
 +$ pip3 install plaidml-keras 
 +$ plaidml-setup 
 +</code> 
 + 
  
  
  
  
ai/plaidml.1561785483.txt.gz · 最終更新: 2019/06/29 14:18 by oga

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki