提交 014190fd authored 作者: Reyhane Askari's avatar Reyhane Askari

jenkins changed to test cycle_detection

上级 c17f0253
...@@ -20,7 +20,7 @@ echo ...@@ -20,7 +20,7 @@ echo
BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_nogpp BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_nogpp
ROOT_CWD=$WORKSPACE/nightly_build 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)"` COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
......
...@@ -57,7 +57,7 @@ echo ...@@ -57,7 +57,7 @@ echo
BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_python2 BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_python2
ROOT_CWD=$WORKSPACE/nightly_build 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)"` COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
......
...@@ -13,4 +13,5 @@ echo ...@@ -13,4 +13,5 @@ echo
FILE=${BUILDBOT_DIR}/theano_python32bit_tests.xml FILE=${BUILDBOT_DIR}/theano_python32bit_tests.xml
set -x set -x
PYTHONPATH=$HOME/anaconda2_32bit/lib/python2.7/site-packages THEANO_FLAGS=device=cpu,force_device=true,lib.amdlibm=False,compiledir=$HOME/.theano/buildbot_theano_python2_32bit $HOME/anaconda2_32bit/bin/python bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE} <<<<<<< HEAD
PYTHONPATH=$HOME/anaconda2_32bit/lib/python2.7/site-packages THEANO_FLAGS=device=cpu,cycle_detection='fast',force_device=true,lib.amdlibm=False,compiledir=$HOME/.theano/buildbot_theano_python2_32bit $HOME/anaconda2_32bit/bin/python bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE}
...@@ -54,7 +54,7 @@ echo ...@@ -54,7 +54,7 @@ echo
BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_python2_debug BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_python2_debug
ROOT_CWD=$WORKSPACE/nightly_build 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)"` COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
......
...@@ -4,7 +4,7 @@ BUILDBOT_DIR=$WORKSPACE/nightly_build ...@@ -4,7 +4,7 @@ BUILDBOT_DIR=$WORKSPACE/nightly_build
THEANO_PARAM="theano --with-timer --timer-top-n 10" THEANO_PARAM="theano --with-timer --timer-top-n 10"
# Set test reports using nosetests xunit # Set test reports using nosetests xunit
XUNIT="--with-xunit --xunit-file=" XUNIT="--with-xunit --xunit-file="
export THEANO_FLAGS=init_gpu_device=cuda export THEANO_FLAGS=init_gpu_device=cuda,cycle_detection='fast'
# CUDA # CUDA
export PATH=/usr/local/cuda/bin:$PATH export PATH=/usr/local/cuda/bin:$PATH
......
...@@ -23,7 +23,7 @@ echo ...@@ -23,7 +23,7 @@ echo
BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_release BASE_COMPILEDIR=$HOME/.theano/buildbot_theano_release
ROOT_CWD=$WORKSPACE/nightly_build 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)"` COMPILEDIR=`THEANO_FLAGS=$FLAGS python -c "from __future__ import print_function; import theano; print(theano.config.compiledir)"`
NOSETESTS=bin/theano-nose NOSETESTS=bin/theano-nose
export PYTHONPATH=${WORKSPACE}:$PYTHONPATH export PYTHONPATH=${WORKSPACE}:$PYTHONPATH
......
...@@ -13,5 +13,5 @@ echo "===== Testing theano core" ...@@ -13,5 +13,5 @@ echo "===== Testing theano core"
# Test theano core # Test theano core
PARTS="theano -e gpuarray" PARTS="theano -e gpuarray"
THEANO_PARAM="${PARTS} --with-timer --timer-top-n 10 --with-xunit --xunit-file=theanocore_tests.xml" 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} THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
...@@ -53,5 +53,5 @@ python -c 'import pygpu; print(pygpu.__file__)' ...@@ -53,5 +53,5 @@ python -c 'import pygpu; print(pygpu.__file__)'
THEANO_GPUARRAY_TESTS="theano/gpuarray/tests \ THEANO_GPUARRAY_TESTS="theano/gpuarray/tests \
theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray \ theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray \
theano/scan_module/tests/test_scan_checkpoints.py:TestScanCheckpoint.test_memory" 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} THEANO_FLAGS=${FLAGS} time nosetests --with-xunit --xunit-file=theanogpuarray_tests.xml ${THEANO_GPUARRAY_TESTS}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论