Skip to content

Commit c66249a

Browse files
committed
added buildbot file
1 parent f3eb854 commit c66249a

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

misc/do_nightly_build

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
#we set the compiledir to the /Tmp dir to make the test faster by bypassing the nfs network.
3+
date
4+
ROOT_CWD=~/nightly_build
5+
6+
FLAGS=warn.argmax_pushdown_bug=False,warn.gpusum_01_011_0111_bug=False,warn.sum_sum_bug=False,warn.sum_div_dimshuffle_bug=False,compiledir=/Tmp/lisa_theano_compile_dir_deeplearning,seed=0
7+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/python2.5/config/
8+
export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib64/python2.5/config/
9+
export PYTHONPATH=${ROOT_CWD}:$PYTHONPATH
10+
11+
cd ${ROOT_CWD}/DeepLearningTutorials/code
12+
#echo "executing nosetests with mode=FAST_COMPILE"
13+
#THEANO_FLAGS=${FLAGS},mode=FAST_COMPILE /usr/bin/nosetests
14+
echo "executing nosetests speed with mode=FAST_RUN"
15+
THEANO_FLAGS=${FLAGS},mode=FAST_RUN /usr/bin/nosetests test.py:speed
16+
#echo "executing nosetests speed with mode=FAST_RUN and OMP_NUM_THREADS=2"
17+
#OMP_NUM_THREADS=2 THEANO_FLAGS=${FLAGS},mode=FAST_RUN /usr/bin/nosetests test.py:speed
18+
echo "executing nosetests with mode=FAST_RUN,floatX=float32"
19+
THEANO_FLAGS=${FLAGS},mode=FAST_RUN,floatX=float32 /usr/bin/nosetests
20+
21+
#we change the seed and record it everyday to test different combination. We record it to be able to reproduce bug caused by different seed. We don't want multiple test in DEBUG_MODE each day as this take too long.
22+
#seed=$RANDOM
23+
#echo "executing nosetests with mode=DEBUG_MODE with seed of the day $seed"
24+
#THEANO_DEBUGMODE_CHECK_STRIDES=0 THEANO_DEBUGMODE_PATIENCE=3 THEANO_COMPILEDIR=/Tmp/lisa_theano_compile_dir_deeplearning THEANO_UNITTEST_SEED=$seed THEANO_DEFAULT_MODE=DEBUG_MODE /usr/bin/nosetests
25+

0 commit comments

Comments
 (0)