Mercurial > pylearn
annotate pylearn/misc/do_nightly_build @ 1480:51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
author | Frederic Bastien <nouiz@nouiz.org> |
---|---|
date | Thu, 09 Jun 2011 09:36:36 -0400 |
parents | 6e50d209b5f1 |
children | 444222497167 |
rev | line source |
---|---|
1443 | 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=/Tmp/nightly_build | |
1446
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
5 COMPILEDIR=/Tmp/lisa_theano_compile_dir_pylearn |
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
6 NOSETESTS=/usr/bin/nosetests |
1443 | 7 |
1446
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
8 |
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
9 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=${COMPILEDIR} |
1445 | 10 export PYTHONPATH=${ROOT_CWD}/Theano:${ROOT_CWD}/Pylearn:$PYTHONPATH |
1443 | 11 |
1480
51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
Frederic Bastien <nouiz@nouiz.org>
parents:
1446
diff
changeset
|
12 cd ${ROOT_CWD}/Theano |
51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
Frederic Bastien <nouiz@nouiz.org>
parents:
1446
diff
changeset
|
13 hg summary |
51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
Frederic Bastien <nouiz@nouiz.org>
parents:
1446
diff
changeset
|
14 cd ../Pylearn |
51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
Frederic Bastien <nouiz@nouiz.org>
parents:
1446
diff
changeset
|
15 hg summary |
51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
Frederic Bastien <nouiz@nouiz.org>
parents:
1446
diff
changeset
|
16 cd .. |
51f1453fd6f6
Print the Theano and Pylearn version in the buildbot.
Frederic Bastien <nouiz@nouiz.org>
parents:
1446
diff
changeset
|
17 |
1443 | 18 echo "executing nosetests with mode=FAST_COMPILE" |
1446
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
19 #THEANO_FLAGS=${FLAGS},mode=FAST_COMPILE ${NOSETESTS} Pylearn |
1443 | 20 echo "executing nosetests with mode=FAST_RUN" |
1446
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
21 THEANO_FLAGS=${FLAGS},mode=FAST_RUN ${NOSETESTS} --with-coverage --cover-package=theano --cover-package=pylearn Pylearn |
1443 | 22 echo "executing nosetests with mode=FAST_RUN,floatX=float32" |
1446
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
23 THEANO_FLAGS=${FLAGS},mode=FAST_RUN,floatX=float32 ${NOSETESTS} Pylearn |
1443 | 24 |
25 #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. | |
26 seed=$RANDOM | |
27 echo "executing nosetests with mode=DEBUG_MODE with seed of the day $seed" | |
1446
6e50d209b5f1
generalized the buildbot script following code review in Theano.
Frederic Bastien <nouiz@nouiz.org>
parents:
1445
diff
changeset
|
28 THEANO_FLAGS=${FLAGS},unittests.rseed=$seed,mode=DEBUG_MODE,DebugMode.check_strides=0,DebugMode.patience=3 ${NOSETESTS} Pylearn |
1443 | 29 |