Difference between revisions of "TensorFlow"

From UFRC
Jump to navigation Jump to search
Line 22: Line 22:
 
<!--Modules-->
 
<!--Modules-->
 
==Required Modules==
 
==Required Modules==
* {{#var:app}}
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
===Parallel (OpenMP)===
 
<!--
 
* intel
 
* {{#var:app}}
 
===Parallel (MPI)===
 
* intel
 
* openmpi
 
* {{#var:app}}
 
-->
 
 
==System Variables==
 
==System Variables==
 
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory
 
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory
Line 41: Line 32:
 
{{#if: {{#var: exe}}|==Additional Information==
 
{{#if: {{#var: exe}}|==Additional Information==
  
TensorFlow is installed in a container. Use the 'launch_tensorflow' command to access TensorFlow:
+
TensorFlow has been built from source and optimized for GPGPUs we have. There are two modules. The default module e.g. 'tensorflow/1.7.0' is python3 based. There is a separate py2 moduel e.g. 'tensorflow/1.7.0py2' for legacy scripts.
  $ launch_tensorflow python
+
  $ python3
  >>> import tensorflow
+
  >>> import tensorflow as tf
or
 
  
$ launch_tensorflow python -c 'import os; import inspect; import tensorflow; print(os.path.dirname(inspect.getfile(tensorflow)))'
+
A number of useful python modules have been installed within the tensorflow python virtual environment on request e.g. keras.
  
 
+
  $ python3 -c 'import keras'
 
 
A number of useful python modules have been installed inside the tensorflow container e.g. keras.
 
 
 
  $ launch_tensorflow python -c 'import keras'
 
 
|}}
 
|}}
 
<!--Job Scripts-->
 
<!--Job Scripts-->

Revision as of 19:30, 30 April 2018

Description

tensorflow website  

TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) that flow between them. This flexible architecture lets you deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device without rewriting code. TensorFlow also includes TensorBoard, a data visualization toolkit.

Required Modules

Run module spider tensorflow to find out what environment modules are available for this application.

System Variables

  • HPC_{{#uppercase:tensorflow}}_DIR - installation directory

Additional Information

TensorFlow has been built from source and optimized for GPGPUs we have. There are two modules. The default module e.g. 'tensorflow/1.7.0' is python3 based. There is a separate py2 moduel e.g. 'tensorflow/1.7.0py2' for legacy scripts.

$ python3
>>> import tensorflow as tf

A number of useful python modules have been installed within the tensorflow python virtual environment on request e.g. keras.

$ python3 -c 'import keras'



Citation

If you publish research that uses tensorflow you have to cite it as follows:

https://www.tensorflow.org/versions/r0.11/resources/bib.html