[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
gpu [2017/03/16 16:46]
kocmanek [Performance tests]
gpu [2017/03/16 17:00]
kocmanek [How to use cluster]
Line 45: Line 45:
 ===== How to use cluster ===== ===== How to use cluster =====
  
-bla bla+In this section will be explained how to use cluster properly. Rule number one, always use the GPU queue (never log in machine by ssh).
  
 +==== TensorFlow Environment ====
 +
 +Majority people at UFAL use TensorFlow. To start using it you need to create python virtual environment (virtualenv or use Anaconda for it). Into the environment you must place TensorFlow. The TF is either in CPU or GPU version.
 +
 +  pip install tensorflow
 +  pip install tensorflow-gpu
 +  
 +You can use prepared environment by adding into your ~/.bashrc
 +
 +  export PATH=/a/merkur3/kocmanek/ANACONDA/bin:$PATH
 +
 +And then you can activate your environment:
 +
 +  source activate tf1
 +  source activate tf1cpu
 +
 +This environment have TensorFlow 1.0 and all necessary requirements for NeuralMonkey.
 +
 +==== Using cluster ====
 ===== Performance tests ===== ===== Performance tests =====
  

[ Back to the navigation ] [ Back to the content ]