Closed vincentvanhees closed 6 years ago
In order to request a node with GPU on the DAS-5:
srun -N 1 -C TitanX --gres=gpu:1 --time=00:15:00 --pty bash
module load cuda80/toolkit
Then install tensorflow-gpu:
conda create -n mcfly
source activate mcfly
conda install pip numpy tensorflow tensorflow-gpu
pip install mcfly
Make sure tensorflow is set as default backend in ~/.keras/keras.json. Now mcfly/Keras will should with GPU automatically.
We used GPUs for the workshop last year so this was thoroughly tested then.