Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
gpu [2017/03/16 16:30] kocmanek [Servers with GPU units] |
gpu [2017/03/16 17:00] kocmanek [How to use cluster] |
||
---|---|---|---|
Line 30: | Line 30: | ||
=== Individual acquisitions: | === Individual acquisitions: | ||
- | There is an easy way to get one high-end GPU: [[https:// | + | There is an easy way to get one high-end GPU: [[https:// |
Take care, however, to coordinate the grant applications a little, so that not too many arrive from UFAL within a short time: these grants are explicitly //not// intended to build GPU clusters, they are " | Take care, however, to coordinate the grant applications a little, so that not too many arrive from UFAL within a short time: these grants are explicitly //not// intended to build GPU clusters, they are " | ||
Line 43: | Line 43: | ||
| | ||
+ | ===== How to use cluster ===== | ||
+ | |||
+ | 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=/ | ||
+ | |||
+ | 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 ===== | ||
Line 48: | Line 71: | ||
In the following table is the experiment conducted by Tom Kocmi. You can replicate experiment: / | In the following table is the experiment conducted by Tom Kocmi. You can replicate experiment: / | ||
- | |||
- | I am preparing department-wide benchmark, but meanwhile the results for different experiment: | ||
- | * Athena (GTX 1080) - 2 hodiny 32 minut | ||
- | * Twister (Tesla K40c) - 6 hodin 46 minut | ||
| machine | Setup; CPU/GPU; [[https:// | | machine | Setup; CPU/GPU; [[https:// | ||
Line 69: | Line 88: | ||
| lucifer4 | | lucifer4 | ||
| victoria | | victoria | ||
- | |||
- | |||
- | A comparison with Ondrej' | ||
- | * dll2 (2xGPU) takes 13m for one reporting period | ||
- | * achilles2 (4xCPU with 8 CPUs reserved) takes 24m for one reporting period | ||