Imaging solutions with Free Software & Open Hardware

Who's online

There are currently 0 users online.

Subscribe to Wiki Recent Changes feed
Track the most recent changes to the wiki in this feed. MediaWiki 1.28.0
Updated: 2 min 24 sec ago

Tensorflow with gpu

Wed, 06/13/2018 - 16:25

← Older revision Revision as of 22:25, 13 June 2018 (13 intermediate revisions by the same user not shown)Line 1: Line 1: −==Pre==+==Requirements== −* check device+* Kubuntu 16.04.4 LTS −  ~$ lspci | grep NVIDIA+==Setup==  +* Check device  +  <font size='2'><b>~$ lspci | grep NVIDIA</b>    81:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)   81:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) −  81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)+  81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)</font> −* check driver version+  −  ~$ cat /proc/driver/nvidia/version+* Check driver version:  +  <font size='2'><b>~$ cat /proc/driver/nvidia/version</b>    NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017   NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017 −  GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)+  GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)</font> −* install cuda 9.0 with patches  − https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal  −* then  − sudo apt-get install cuda-9-2 # included on that NVidia page     −  https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions+* Install cuda 9.2 with patch(es): −*+  <font size='2'>https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal: −  ~$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}+ <b>~$ sudo dpkg -i cuda-repo-ubuntu1604-9-2-local_9.2.88-1_amd64.deb −  ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}+  ~$ sudo apt-key add /var/cuda-repo-9-2-local/7fa2af80.pub −*+ ~$ sudo apt-get update −  ~$ nvidia-smi  +  ~$ sudo apt-get install cuda</b> −  Thu Apr 26 12:39:25 2018       + <b># INSTALL THE PATCH(ES)</b></font>  +   +* Might need to reboot PC. If cuda 9.2 got installed over other version, nvidia tools will be throwing errors about driver  versions mismatching, try  +  <font size='2'><b>~$ nvidia-smi</b></font>  +Good looking output:  +  <font size='2'>Wed Jun 13 15:55:44 2018           +-----------------------------------------------------------------------------+   +-----------------------------------------------------------------------------+ −  | NVIDIA-SMI 387.26                Driver Version: 387.26                    |+  | NVIDIA-SMI 396.26                Driver Version: 396.26                    |    |-------------------------------+----------------------+----------------------+   |-------------------------------+----------------------+----------------------+    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |   | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |    | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |   | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |    |===============================+======================+======================|   |===============================+======================+======================| −  |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |+  |  0  GeForce GTX 750 Ti  Off  | 00000000:01:00.0 On |                  N/A | −  | N/A   31C   P8   N/A /  N/A |    148MiB /   956MiB |     N/A     Default |+  | 33%   36C   P8     1W /  46W |    229MiB / 2000MiB |     0%     Default |    +-------------------------------+----------------------+----------------------+   +-------------------------------+----------------------+----------------------+                                                                                                                                                                        Line 34: Line 38:    |  GPU      PID  Type  Process name                            Usage      |   |  GPU      PID  Type  Process name                            Usage      |    |=============================================================================|   |=============================================================================| −  |    0                   Not Supported                                      |+  |    0     1305      G  /usr/lib/xorg/Xorg                          136MiB | −  +-----------------------------------------------------------------------------++ |    0      3587      G  /usr/bin/krunner                              1MiB |  + |    0      3590      G  /usr/bin/plasmashell                          67MiB |  + |    0      3693      G  /usr/bin/plasma-discover                      20MiB |  +  +-----------------------------------------------------------------------------+</font>  +   +* Check out post installation docs:  + <font size='2'>https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions:  + # Export paths  + <b>~$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}  + ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}</b></font>    −* install tensorflow+* Install TensorFlow:  + <font size='2'># docs:  + # - https://www.tensorflow.org/install/install_linux  + # some instructions:    ~$ sudo apt-get install python3-pip # if it is not already installed   ~$ sudo apt-get install python3-pip # if it is not already installed −     ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl   ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl    Oleg

Eyesis4Pi 393 User Guide - Recording

Tue, 06/12/2018 - 11:50

← Older revision Revision as of 17:50, 12 June 2018 Line 22: Line 22:       $ chmod 777 settings.xml      $ chmod 777 settings.xml       This file restores the settings from previous session.</font>      This file restores the settings from previous session.</font>  +  +===Dependencies===  +* php5.6-xml  + ~$ sudo apt install php5.6-xml  + ~$ sudo service restart apache2     == Equipment/Package == == Equipment/Package == Oleg

Elphel Software Kit for Ubuntu

Mon, 06/04/2018 - 15:31

‎ImageJ and Elphel plugins for imageJ

← Older revision Revision as of 21:31, 4 June 2018 Line 294: Line 294:    -Xms2048m   -Xms2048m    -Xmx24576m   -Xmx24576m  +* Kubuntu 18.04 might need:  + https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty  * From Eclipse:   * From Eclipse:      1. File -> Import -> Existing Maven Projects -> set imagej-elphel as Root Directory - a project will appear in the project list -> Finish   1. File -> Import -> Existing Maven Projects -> set imagej-elphel as Root Directory - a project will appear in the project list -> Finish Oleg

Tensorflow with gpu

Fri, 05/25/2018 - 01:36

← Older revision Revision as of 07:36, 25 May 2018 Line 11: Line 11:    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal  * then * then −  sudo apt-get install cuda-9-0+  sudo apt-get install cuda-9-2 # included on that NVidia page       https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions   https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions  * * −  ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}+  ~$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}} −  ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}+  ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  * *    ~$ nvidia-smi     ~$ nvidia-smi   Line 38: Line 38:     * install tensorflow * install tensorflow  + ~$ sudo apt-get install python3-pip # if it is not already installed  +    ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl   ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl    Andrey.filippov

Eyesis4Pi workflow

Mon, 05/21/2018 - 14:20

← Older revision Revision as of 20:20, 21 May 2018 Line 39: Line 39:  |style="padding:0px 15px 0px 15px;"| Setting up paths and shooting parameters   |style="padding:0px 15px 0px 15px;"| Setting up paths and shooting parameters    |align="center"                    | 0-1   |align="center"                    | 0-1   −|style="padding:0px 15px 0px 15px;"| Initial settings can take longer time of course+|style="padding:0px 15px 0px 15px;"| Initial settings can take longer time  |- |-  |align="center"                    | 8 |align="center"                    | 8 Oleg

Eyesis4Pi 393 workflow

Mon, 05/21/2018 - 14:19

‎Workflow

← Older revision Revision as of 20:19, 21 May 2018 Line 28: Line 28:  |align="center"                    | - |align="center"                    | -  |align="center"                    | [[Eyesis4Pi 393 User Guide - Recording|Web GUI]] |align="center"                    | [[Eyesis4Pi 393 User Guide - Recording|Web GUI]] −|style="padding:0px 15px 0px 15px;"| Initial settings can take longer time of course+|style="padding:0px 15px 0px 15px;"| Initial settings can take longer time  |- |-  |align="center" valign="top"      | 5 |align="center" valign="top"      | 5 Oleg

File:10386 gerber.zip

Thu, 05/17/2018 - 00:16

Andrey.filippov uploaded File:10386 gerber.zip

New page

Andrey.filippov

File:10386 gerber.tar.gz

Thu, 05/17/2018 - 00:15

Andrey.filippov uploaded a new version of File:10386 gerber.tar.gz

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

File:103984 gerber.zip

Wed, 05/16/2018 - 23:54

Andrey.filippov uploaded File:103984 gerber.zip

New page

Andrey.filippov

File:103984 gerber.tar.gz

Wed, 05/16/2018 - 23:53

Andrey.filippov uploaded a new version of File:103984 gerber.tar.gz

New page

== Licensing ==
{{CERN OHLv1.1 }} Andrey.filippov

Tmp manual

Fri, 05/11/2018 - 16:09

‎Firmware images

← Older revision Revision as of 22:09, 11 May 2018 Line 281: Line 281:     ==<font color="blue">Firmware images</font>== ==<font color="blue">Firmware images</font>== −* [https://community.elphel.com/files/393/20180416/ '''20180416''']+* [https://community.elphel.com/files/393/20180511/ '''20180511''']  +* [https://community.elphel.com/files/393/20180416/ 20180416]  * [https://community.elphel.com/files/393/20180406/ 20180406] * [https://community.elphel.com/files/393/20180406/ 20180406] −* [https://community.elphel.com/files/393/20180130/ 20180130]+  −* [https://community.elphel.com/files/393/20180118/ 20180118]   ===Changelog=== ===Changelog=== −  <font size='1'>'''==20180416=='''+  <font size='1'>'''==20180511=='''  + * added cron program  + * multi cameras control interface  + * multi camera system info reporting  + * fixed rtc  + '''==20180416=='''    * 20180419 - mt9f002: fixed changing window size   * 20180419 - mt9f002: fixed changing window size    * mt9f002: added triggered mode   * mt9f002: added triggered mode Oleg

Elphel camera parts 0393-19

Mon, 05/07/2018 - 09:40

‎0393-19-100 - Antenna plate

← Older revision Revision as of 15:40, 7 May 2018 Line 95: Line 95:  === 0393-19-100 - Antenna plate === === 0393-19-100 - Antenna plate ===  {{Cad4a|0393-19-100}} {{Cad4a|0393-19-100}}  +----  +  +=== 0393-19-85 - Heat plate mount ===  +{{Cad4a|0393-19-85}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-18

Mon, 05/07/2018 - 09:38

‎0393-18-53 - Fisheye lens shade

← Older revision Revision as of 15:38, 7 May 2018 Line 35: Line 35:  === 0393-18-53 - Fisheye lens shade === === 0393-18-53 - Fisheye lens shade ===  {{Cad4a|0393-18-54}} {{Cad4a|0393-18-54}}  +----  +  +==== 0393-18-55 - Camera mount plate ====  +{{Cad4a|0393-18-55}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-13

Mon, 05/07/2018 - 09:36

‎0393-13-02 - Back panel for NC393, connector openings for 10393 board only

← Older revision Revision as of 15:36, 7 May 2018 Line 11: Line 11:  ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ==== ==== 0393-13-02 - Back panel for NC393, connector openings for 10393 board only ====  {{Cad4a|0393-13-02}} {{Cad4a|0393-13-02}}  +----  +  +==== 0393-13-03 - Camera back connection plate ====  +{{Cad4a|0393-13-03}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-12

Mon, 05/07/2018 - 09:34

← Older revision Revision as of 15:34, 7 May 2018 (2 intermediate revisions by the same user not shown)Line 86: Line 86:  === 0393-12-61 - Tube plug === === 0393-12-61 - Tube plug ===  {{Cad4a|0393-12-61}} {{Cad4a|0393-12-61}}  +----  +=== 0393-12-64 - Camera connection plate ===  +{{Cad4a|0393-12-64}}  +----  +  +=== 0393-12-65 - Camera connection plate cover===  +{{Cad4a|0393-12-65}}  +----  +  +=== 0393-12-66 - Camera connection plate cover half===  +{{Cad4a|0393-12-66}}  ---- ---- Andrey.filippov

Elphel camera parts 0393-11

Mon, 05/07/2018 - 09:26

‎0393-11-01B - Heat frame for 10393A and 10389B PCBA, Rev "B"

← Older revision Revision as of 15:26, 7 May 2018 Line 17: Line 17:  {{Cad4a|0393-11-01B}} {{Cad4a|0393-11-01B}}  ---- ----  +  +=== 0393-11-01C - Heat frame for 10393A-C and 10389B PCBA, Rev "C" ===  +Machined from 0393-60-07 extrusion, aluminum 6061T4, chromate conversion finish.  +Added side threaded holes for mount in Eyesis and other applications w/o standard camera body.  +{{Cad4a|0393-11-01C}}  +----  +  === 0393-11-04 - Cooling fan enclosure === === 0393-11-04 - Cooling fan enclosure ===  {{Cad4a|0393-11-04}} {{Cad4a|0393-11-04}} Andrey.filippov

Elphel camera parts 0353-98

Mon, 05/07/2018 - 09:24

‎0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs

← Older revision Revision as of 15:24, 7 May 2018 Line 101: Line 101:  === 0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs  === === 0353-98-18 - M2.5x6mmx3.5mm Female Thread Brass Knurled Insert Embedded Nuts 30pcs  ===  ---- ----  +  +  +=== 0353-98-23 - Socket head screw, M2.5, l=10mm, Black oxide.===  +McMaster p/n  91290A103  +{{Cad4a|0353-98-23}}  +  +<!--91290A103 --> Andrey.filippov

Tensorflow with gpu

Thu, 04/26/2018 - 18:17

← Older revision Revision as of 00:17, 27 April 2018 (2 intermediate revisions by the same user not shown)Line 40: Line 40:    ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl   ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl    −* testing+* testing: unsupported card '''GeForce GT 610'''    ~$ python3   ~$ python3    Python 3.5.2 (default, Nov 23 2017, 16:37:01)     Python 3.5.2 (default, Nov 23 2017, 16:37:01)      [GCC 5.4.0 20160609] on linux   [GCC 5.4.0 20160609] on linux    Type "help", "copyright", "credits" or "license" for more information.   Type "help", "copyright", "credits" or "license" for more information. − >>>   − >>>   − >>>      >>> import tensorflow as tf   >>> import tensorflow as tf    >>> hello = tf.constant('Hello, World!')                                                                                                                                                                                >>> hello = tf.constant('Hello, World!')                                                                                                                                                                              Line 61: Line 58:    2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                          2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                           >>> print(sess.run(hello))                                                                                                                                                                                                                                >>> print(sess.run(hello))                                                                                                                                                                                                                               + b'Hello, World!'  +  +* testing: supported card '''GeForce GTX 750 Ti'''  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')   + >>> sess = tf.Session()  + 2018-04-26 18:14:05.427668: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning  + NUMA node zero  + 2018-04-26 18:14:05.428033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:  + name: GeForce GTX 750 Ti major: 5 minor: 0 memoryClockRate(GHz): 1.1105  + pciBusID: 0000:01:00.0  + totalMemory: 1.95GiB freeMemory: 1.53GiB  + 2018-04-26 18:14:05.428061: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1423] Adding visible gpu devices: 0  + 2018-04-26 18:14:05.927106: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:  + 2018-04-26 18:14:05.927149: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0  + 2018-04-26 18:14:05.927163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N  + 2018-04-26 18:14:05.927313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1041] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1289 MB memory) -> physical GPU (device: 0,  + name: GeForce GTX 750 Ti, pci bus id: 0000:01:00.0, compute capability: 5.0)  + >>> print(sess.run(hello))    b'Hello, World!'   b'Hello, World!'    Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 18:17

← Older revision Revision as of 00:17, 27 April 2018 (11 intermediate revisions by the same user not shown)Line 5: Line 5:    81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)   81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)  * check driver version * check driver version −  ~$ modinfo nv[TAB]+  ~$ cat /proc/driver/nvidia/version  + NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017  + GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  * install cuda 9.0 with patches * install cuda 9.0 with patches    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal Line 15: Line 17:    ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}   ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}    ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  +*  + ~$ nvidia-smi  + Thu Apr 26 12:39:25 2018       + +-----------------------------------------------------------------------------+  + | NVIDIA-SMI 387.26                Driver Version: 387.26                    |  + |-------------------------------+----------------------+----------------------+  + | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |  + | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |  + |===============================+======================+======================|  + |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |  + | N/A  31C    P8    N/A /  N/A |    148MiB /  956MiB |    N/A      Default |  + +-------------------------------+----------------------+----------------------+  +                                                                                 + +-----------------------------------------------------------------------------+  + | Processes:                                                      GPU Memory |  + |  GPU      PID  Type  Process name                            Usage      |  + |=============================================================================|  + |    0                    Not Supported                                      |  + +-----------------------------------------------------------------------------+  +  +* install tensorflow  + ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl  +  +* testing: unsupported card '''GeForce GT 610'''  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')                                                                                                                                                                             + >>> sess = tf.Session()                                                                                                                                                                                                 + 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA                                           + 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:                                                                                                             + name: GeForce GT 610 major: 2 minor: 1 memoryClockRate(GHz): 1.62                                                                                                                                                                 + pciBusID: 0000:81:00.0                                                                                                                                                                                                           + totalMemory: 956.50MiB freeMemory: 631.69MiB                                                                                                                                                                                               + <font color='red'><b>2018-04-26 13:00:19.181648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1394] Ignoring visible gpu device (device: 0, name: GeForce GT 610, pci bus id: 0000:81:00.0, compute capability: 2.1) with Cuda compute capability 2.1. The minimum required Cuda capability is 3.5.</b></font>                                                                                                                                                                                                               + 2018-04-26 13:00:19.181669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:                                                                                       + 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0                                                                                                                                                       + 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                       + >>> print(sess.run(hello))                                                                                                                                                                                                                             + b'Hello, World!'  +  +* testing: supported card '''GeForce GTX 750 Ti'''  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')   + >>> sess = tf.Session()  + 2018-04-26 18:14:05.427668: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning  + NUMA node zero  + 2018-04-26 18:14:05.428033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:  + name: GeForce GTX 750 Ti major: 5 minor: 0 memoryClockRate(GHz): 1.1105  + pciBusID: 0000:01:00.0  + totalMemory: 1.95GiB freeMemory: 1.53GiB  + 2018-04-26 18:14:05.428061: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1423] Adding visible gpu devices: 0  + 2018-04-26 18:14:05.927106: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:  + 2018-04-26 18:14:05.927149: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0  + 2018-04-26 18:14:05.927163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N  + 2018-04-26 18:14:05.927313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1041] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1289 MB memory) -> physical GPU (device: 0,  + name: GeForce GTX 750 Ti, pci bus id: 0000:01:00.0, compute capability: 5.0)  + >>> print(sess.run(hello))  + b'Hello, World!'  +  +* Supported cards:  + https://developer.nvidia.com/cuda-gpus  +  +* As a quickfix had to install CuDNN 7.0.5 instead of latest:  + https://stackoverflow.com/questions/49960132/cudnn-library-compatibility-error-after-loading-model-weights Oleg

Tensorflow with gpu

Thu, 04/26/2018 - 14:53

← Older revision Revision as of 20:53, 26 April 2018 (8 intermediate revisions by the same user not shown)Line 5: Line 5:    81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)   81:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)  * check driver version * check driver version −  ~$ modinfo nv[TAB]+  ~$ cat /proc/driver/nvidia/version  + NVRM version: NVIDIA UNIX x86_64 Kernel Module  387.26  Thu Nov  2 21:20:16 PDT 2017  + GCC version:  gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)  * install cuda 9.0 with patches * install cuda 9.0 with patches    https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal   https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=deblocal Line 15: Line 17:    ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}   ~$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}    ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ~$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}  +*  + ~$ nvidia-smi  + Thu Apr 26 12:39:25 2018       + +-----------------------------------------------------------------------------+  + | NVIDIA-SMI 387.26                Driver Version: 387.26                    |  + |-------------------------------+----------------------+----------------------+  + | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |  + | Fan  Temp  Perf  Pwr:Usage/Cap|        Memory-Usage | GPU-Util  Compute M. |  + |===============================+======================+======================|  + |  0  GeForce GT 610      Off  | 00000000:81:00.0 N/A |                  N/A |  + | N/A  31C    P8    N/A /  N/A |    148MiB /  956MiB |    N/A      Default |  + +-------------------------------+----------------------+----------------------+  +                                                                                 + +-----------------------------------------------------------------------------+  + | Processes:                                                      GPU Memory |  + |  GPU      PID  Type  Process name                            Usage      |  + |=============================================================================|  + |    0                    Not Supported                                      |  + +-----------------------------------------------------------------------------+  +  +* install tensorflow  + ~$ sudo pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.7.0-cp35-cp35m-linux_x86_64.whl  +  +* testing  + ~$ python3  + Python 3.5.2 (default, Nov 23 2017, 16:37:01)  + [GCC 5.4.0 20160609] on linux  + Type "help", "copyright", "credits" or "license" for more information.  + >>>  + >>>  + >>>  + >>> import tensorflow as tf  + >>> hello = tf.constant('Hello, World!')                                                                                                                                                                             + >>> sess = tf.Session()                                                                                                                                                                                                 + 2018-04-26 13:00:19.050625: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA                                           + 2018-04-26 13:00:19.181581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1344] Found device 0 with properties:                                                                                                             + name: GeForce GT 610 major: 2 minor: 1 memoryClockRate(GHz): 1.62                                                                                                                                                                 + pciBusID: 0000:81:00.0                                                                                                                                                                                                           + totalMemory: 956.50MiB freeMemory: 631.69MiB                                                                                                                                                                                               + <font color='red'><b>2018-04-26 13:00:19.181648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1394] Ignoring visible gpu device (device: 0, name: GeForce GT 610, pci bus id: 0000:81:00.0, compute capability: 2.1) with Cuda compute capability 2.1. The minimum required Cuda capability is 3.5.</b></font>                                                                                                                                                                                                               + 2018-04-26 13:00:19.181669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:911] Device interconnect StreamExecutor with strength 1 edge matrix:                                                                                       + 2018-04-26 13:00:19.181683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:917]      0                                                                                                                                                       + 2018-04-26 13:00:19.181695: I tensorflow/core/common_runtime/gpu/gpu_device.cc:930] 0:  N                                                                                                                                                       + >>> print(sess.run(hello))                                                                                                                                                                                                                             + b'Hello, World!'  +  +* Supported cards:  + https://developer.nvidia.com/cuda-gpus  +  +* As a quickfix had to install CuDNN 7.0.5 instead of latest:  + https://stackoverflow.com/questions/49960132/cudnn-library-compatibility-error-after-loading-model-weights Oleg

Pages