Skip to content

Commit

Permalink
jenkins changed to test cycle_detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ReyhaneAskari committed Apr 27, 2017
1 parent 82be685 commit 806ddbb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .jenkins/jenkins_buildbot_nogpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo

BASE_COMPILEDIR=$WORKSPACE/compile/theano_compile_dir_theano_nogpp
ROOT_CWD=$WORKSPACE/nightly_build
FLAGS=base_compiledir=$BASE_COMPILEDIR
FLAGS=base_compiledir=$BASE_COMPILEDIR,cycle_detection='fast'
COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/jenkins_buildbot_python2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo

BASE_COMPILEDIR=$WORKSPACE/compile/theano_compile_dir_theano_python2
ROOT_CWD=$WORKSPACE/nightly_build
FLAGS=base_compiledir=$BASE_COMPILEDIR
FLAGS=base_compiledir=$BASE_COMPILEDIR,cycle_detection='fast'
COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/jenkins_buildbot_python2_32bit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ echo

FILE=${BUILDBOT_DIR}/theano_python32bit_tests.xml
set -x
PYTHONPATH=$HOME/anaconda2_32bit/lib/python2.7/site-packages THEANO_FLAGS=device=cpu,force_device=true,lib.amdlibm=False,compiledir=$WORKSPACE/compile/theano_compile_dir_theano_python2_32bit $HOME/anaconda2_32bit/bin/python bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE}
PYTHONPATH=$HOME/anaconda2_32bit/lib/python2.7/site-packages THEANO_FLAGS=device=cpu,cycle_detection='fast',force_device=true,lib.amdlibm=False,compiledir=$WORKSPACE/compile/theano_compile_dir_theano_python2_32bit $HOME/anaconda2_32bit/bin/python bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE}
2 changes: 1 addition & 1 deletion .jenkins/jenkins_buildbot_python2_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo

BASE_COMPILEDIR=$WORKSPACE/compile/theano_compile_dir_theano_python2
ROOT_CWD=$WORKSPACE/nightly_build
FLAGS=base_compiledir=$BASE_COMPILEDIR
FLAGS=base_compiledir=$BASE_COMPILEDIR,cycle_detection='fast'
COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/jenkins_buildbot_python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ echo

FILE=${BUILDBOT_DIR}/theano_python3_tests.xml
set -x
PYTHONPATH= THEANO_FLAGS=$THEANO_FLAGS,compiledir=$WORKSPACE/compile/theano_compile_dir_theano_python3,mode=FAST_COMPILE,warn.ignore_bug_before=0.5,on_opt_error=raise,on_shape_error=raise python3 bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE}
PYTHONPATH= THEANO_FLAGS=$THEANO_FLAGS,compiledir=$WORKSPACE/compile/theano_compile_dir_theano_python3,mode=FAST_COMPILE,cycle_detection='fast',warn.ignore_bug_before=0.5,on_opt_error=raise,on_shape_error=raise python3 bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE}
2 changes: 1 addition & 1 deletion .jenkins/jenkins_buildbot_release_extra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo

BASE_COMPILEDIR=$WORKSPACE/compile/theano_compile_dir_theano_release
ROOT_CWD=$WORKSPACE/nightly_build
FLAGS=base_compiledir=$BASE_COMPILEDIR
FLAGS=base_compiledir=$BASE_COMPILEDIR,cycle_detection='fast'
COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/jenkins_test1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ echo "===== Testing theano core"
# Test theano core
PARTS="theano -e gpuarray"
THEANO_PARAM="${PARTS} --with-timer --timer-top-n 10 --with-xunit --xunit-file=theanocore_tests.xml"
FLAGS="mode=FAST_RUN,floatX=float32,on_opt_error=raise,on_shape_error=raise,cmodule.age_thresh_use=604800"
FLAGS="mode=FAST_RUN,cycle_detection='fast',floatX=float32,on_opt_error=raise,on_shape_error=raise,cmodule.age_thresh_use=604800"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
2 changes: 1 addition & 1 deletion .jenkins/jenkins_test2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ python -c 'import pygpu; print(pygpu.__file__)'
THEANO_GPUARRAY_TESTS="theano/gpuarray/tests \
theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray \
theano/scan_module/tests/test_scan_checkpoints.py:TestScanCheckpoint.test_memory"
FLAGS="init_gpu_device=$DEVICE,gpuarray.preallocate=1000,mode=FAST_RUN,on_opt_error=raise,on_shape_error=raise,cmodule.age_thresh_use=604800"
FLAGS="init_gpu_device=$DEVICE,cycle_detection='fast',gpuarray.preallocate=1000,mode=FAST_RUN,on_opt_error=raise,on_shape_error=raise,cmodule.age_thresh_use=604800"
THEANO_FLAGS=${FLAGS} time nosetests --with-xunit --xunit-file=theanogpuarray_tests.xml ${THEANO_GPUARRAY_TESTS}

0 comments on commit 806ddbb

Please sign in to comment.