Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gpu [2020/07/27 13:12] dusek [Servers with GPU units] |
gpu [2024/10/02 15:21] (current) popel |
||
---|---|---|---|
Line 2: | Line 2: | ||
This page summarizes which UFAL servers have some GPU card, and suggests basic diagnostic commands, paths to installed tools, etc., simply everything necessary at the very beginning of using GPUs for experiments. | This page summarizes which UFAL servers have some GPU card, and suggests basic diagnostic commands, paths to installed tools, etc., simply everything necessary at the very beginning of using GPUs for experiments. | ||
+ | |||
+ | **TODO: IN 2022 MOVING FROM SGE TO SLURM** (see [[slurm|slurm guidelines]]) -- **commands like '' | ||
+ | |||
+ | **IN 2024: Newly, all the documentation is at a dedicated wiki https:// | ||
===== Servers with GPU units ===== | ===== Servers with GPU units ===== | ||
Line 7: | Line 11: | ||
| machine | GPU type | GPU driver version | [[https:// | | machine | GPU type | GPU driver version | [[https:// | ||
- | | dll1 | Quadro RTX 5000 | 440.33 | 7.5 | | + | | dll1 | Quadro RTX 5000 | 455.23.05 | 7.5 | 8 | 16 | 366.2 | |
- | | dll3 | | + | | dll3 | |
- | | dll4 | GeForce GTX 1080 Ti | 440.33 | 6.1 | 10 | 11.0 | 248.0 | | + | | dll4 | GeForce GTX 1080 Ti | 455.23.05 | 6.1 | 10 | 11 | 248.8 | |
- | | dll5 | GeForce GTX 1080 Ti | 440.33 | 6.1 | 10 | 11.0 | 248.0 | | + | | dll5 | GeForce GTX 1080 Ti | 455.23.05 | 6.1 | 10 | 11 | 248.8 | |
- | | dll6 | | + | | dll6 | |
- | | dll7 | | + | | dll7 | |
- | | dll8 | Quadro RTX 5000 | 440.33 | 7.5 | | + | | dll8 | Quadro RTX 5000 | 455.23.05 | 7.5 | 8 | 16 | 366.2 | |
- | | kronos | + | | dll9 | |
+ | | dll10 | GeForce RTX 3090 | 455.23.05 | ||
GPU cluster '' | GPU cluster '' | ||
| machine | GPU type | GPU driver version | [[https:// | | machine | GPU type | GPU driver version | [[https:// | ||
- | | tdll1 | Quadro P5000 | 410.48 | 6.1 | 8 | 16.0 | 245.0 | | + | | tdll1 | Quadro P5000 | 455.23.05 | 6.1 | 8 | 16 | 245.0 | |
- | | tdll2 | Quadro P5000 | 410.48 | 6.1 | 8 | 16.0 | 245.0 | | + | | tdll2 | Quadro P5000 | 455.23.05 | 6.1 | 8 | 16 | 245.0 | |
- | | tdll3 | Quadro P5000 | 410.48 | 6.1 | 8 | 16.0 | 245.0 | | + | | tdll3 | Quadro P5000 | 455.23.05 | 6.1 | 8 | 16 | 245.0 | |
- | | tdll4 | Quadro P5000 | 410.48 | 6.1 | 8 | 16.0 | 245.0 | | + | | tdll4 | Quadro P5000 | 455.23.05 | 6.1 | 8 | 16 | 245.0 | |
- | | tdll5 | Quadro P5000 | 410.48 | 6.1 | 8 | 16.0 | 245.0 | | + | | tdll5 | Quadro P5000 | 455.23.05 | 6.1 | 8 | 16 | 245.0 | |
Desktop machines: | Desktop machines: | ||
Line 39: | Line 44: | ||
* All the rules from [[:Grid]] apply, even more strictly than for CPU because there are too many GPU users and not as many GPUs available. So as a reminder: always use GPUs via '' | * All the rules from [[:Grid]] apply, even more strictly than for CPU because there are too many GPU users and not as many GPUs available. So as a reminder: always use GPUs via '' | ||
* **Note that you need to use '' | * **Note that you need to use '' | ||
- | * Always specify the number of GPU cards (e.g. '' | + | * Always specify the number of GPU cards (e.g. '' |
- | * If you need more than one GPU card (on a single machine), always require at least as many CPU cores ('' | + | * If you need more than one GPU card (on a single machine), always require at least as many CPU cores ('' |
* For interactive jobs, you can use '' | * For interactive jobs, you can use '' | ||
* Note that the dll machines have typically 10 cards, but " | * Note that the dll machines have typically 10 cards, but " | ||
Line 54: | Line 59: | ||
You need to set library path from your '' | You need to set library path from your '' | ||
- | CUDA_version=10.1 | + | CUDA_version=11.1 |
- | CUDNN_version=7.6 | + | CUDNN_version=8.0 |
CUDA_DIR_OPT=/ | CUDA_DIR_OPT=/ | ||
if [ -d " | if [ -d " | ||
Line 66: | Line 71: | ||
fi | fi | ||
- | * When not using Theano, just Tensorflow this can be simplified to '' | + | * When not using Theano, just Tensorflow this can be simplified to '' |
* Note that the '' | * Note that the '' | ||
Line 88: | Line 93: | ||
This environment have TensorFlow 1.8.0 and all necessary requirements for NeuralMonkey. | This environment have TensorFlow 1.8.0 and all necessary requirements for NeuralMonkey. | ||
- | ==== Pytorch | + | ==== PyTorch |
- | If you want to use pytorch, there is a ready-made environment in | + | Install PyTorch following the instructions on https://pytorch.org. |
- | / | + | At the time of writing, the recommended |
- | + | ||
- | It does rely on the CUDA and CuDNN setup above. | + | |
+ | pip3 install torch==1.10.0+cu111 torchvision==0.11.1+cu111 torchaudio==0.10.0+cu111 -f https:// | ||
==== Using cluster ==== | ==== Using cluster ==== | ||
Line 112: | Line 116: | ||
watch nvidia-smi | watch nvidia-smi | ||
# For monitoring GPU activity in a separate terminal (thanks to Jindrich Libovicky for this!) | # For monitoring GPU activity in a separate terminal (thanks to Jindrich Libovicky for this!) | ||
+ | # You can also use nvidia-smi -l TIME | ||
nvcc --version | nvcc --version | ||
# this should tell CUDA version | # this should tell CUDA version |