Last active
October 26, 2016 16:39
-
-
Save enewe101/1cebfa7f4944e95abf488f54c34173c4 to your computer and use it in GitHub Desktop.
Run theano GPU program on Guillimin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#PBS -l nodes=1:ppn=12:gpus=1 | |
#PBS -l walltime=12:00:00 | |
#PBS -o /gs/project/eeg-641-aa/enewel3/entity-embeddings/src/embedder/pbs/train-basic.stdout | |
#PBS -e /gs/project/eeg-641-aa/enewel3/entity-embeddings/src/embedder/pbs/train-basic.stderr | |
#PBS -N train-basic | |
# Load modules, go to source dir, activate virtualenv | |
module load Python/2.7.10 CUDA/7.5.18 cuDNN/5.0-ga | |
cd /gs/project/eeg-641-aa/enewel3/entity-embeddings/src/embedder | |
source ../../env/bin/activate | |
# Run the model | |
THEANO_FLAGS='floatX=float32,device=gpu' python train_r2v.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment