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/01/04 13:13] kocmanek |
gpu [2017/03/16 17:01] kocmanek [How to use cluster] |
||
---|---|---|---|
Line 14: | Line 14: | ||
| arc | GeForce GT 630; cc3.0 | 1 | 2 GB | Ales's desktop machine | | | arc | GeForce GT 630; cc3.0 | 1 | 2 GB | Ales's desktop machine | | ||
| athena | | athena | ||
- | | dll1 | GeForce GTX 1080; cc6.1 | 2 | 8 GB each core | | | + | | dll1 | GeForce GTX 1080; cc6.1 | 8 | 8 GB each core | | |
- | | dll2 | GeForce GTX 1080; cc6.1 | 2 | 8 GB each core | | | + | | dll2 | GeForce GTX 1080; cc6.1 | 8 | 8 GB each core | | |
not used at the moment: GeForce GTX 570 (from twister2) | not used at the moment: GeForce GTX 570 (from twister2) | ||
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. | ||
+ | |||
+ | ==== 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 ===== | ||
* [[http:// | * [[http:// | ||
- | 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:// | ||
- | | athena | + | | athena |
- | | dll1 | (2 GPU) GeForce GTX 1080; cc6.1 | 12:34:34 | Probably only one GPU was used | | + | | dll2 | (2 GPU) GeForce GTX 1080; cc6.1 | |
- | | dll2 | (2 GPU) GeForce GTX 1080; cc6.1 | 13:01:05 | Only one GPU was used | | + | | dll1 | (2 GPU) GeForce GTX 1080; cc6.1 | |
- | | titan-gpu | + | | dll2 | (2 GPU) GeForce GTX 1080; cc6.1 | |
- | | kronos-dev | Tesla K40c; cc3.5 | 22:41:01 | | | + | | titan-gpu |
- | | twister2 | + | | kronos-dev | Tesla K40c; cc3.5 | |
- | | twister1 | + | | twister2 |
- | | helena1 | + | | twister1 |
- | | belzebub | + | | helena1 |
- | | iridium | + | | belzebub |
+ | | iridium | ||
+ | | helena7 | ||
| arc | GeForce GT 630; cc3.0 | 103:42:30 | (approximated after 66 hours) | | | arc | GeForce GT 630; cc3.0 | 103:42:30 | (approximated after 66 hours) | | ||
- | | lucifer4 | + | | lucifer4 |
- | | helena | + | | 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 | + | |