提交 d7996fe9 authored 作者: slefrancois's avatar slefrancois

move sandbox.cuda test to 2nd jenkins job, add floatX=float32

上级 26445969
...@@ -2,12 +2,13 @@ ...@@ -2,12 +2,13 @@
# Script for Jenkins continuous integration testing of theano base and old backend # Script for Jenkins continuous integration testing of theano base and old backend
echo "===== Testing theano base" echo "===== Testing theano core"
# Get environment from worker, necessary for CUDA # Get environment from worker, necessary for CUDA
source ~/.bashrc source ~/.bashrc
# Test theano CPU and old GPU backend sandbox.cuda # Test theano core
PARTS="theano/compat theano/compile theano/d3viz theano/gof theano/misc theano/sandbox/linalg theano/sandbox/tests theano/scalar theano/scan_module theano/sparse theano/tensor theano/tests theano/typed_list"
THEANO_PARAM="theano --with-timer --timer-top-n 10" THEANO_PARAM="theano --with-timer --timer-top-n 10"
FLAGS="mode=FAST_RUN,init_gpu_device=gpu" FLAGS="mode=FAST_RUN,init_gpu_device=gpu,floatX=float32"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM} THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
#!/bin/bash #!/bin/bash
# Script for Jenkins continuous integration testing of gpuarray backend # Script for Jenkins continuous integration testing of gpu backends
echo "===== Testing old theano.sandbox.cuda backend"
PARTS="theano/sandbox/cuda"
THEANO_PARAM="theano --with-timer --timer-top-n 10"
FLAGS="mode=FAST_RUN,init_gpu_device=gpu,floatX=float32"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
echo "===== Testing gpuarray backend" echo "===== Testing gpuarray backend"
...@@ -43,5 +50,5 @@ export PYTHONPATH=${PYTHONPATH}:$LIBDIR/lib/python ...@@ -43,5 +50,5 @@ export PYTHONPATH=${PYTHONPATH}:$LIBDIR/lib/python
# Testing theano (the gpuarray parts) # Testing theano (the gpuarray parts)
THEANO_GPUARRAY_TESTS="theano/gpuarray/tests theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_serial theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_parallel theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray" THEANO_GPUARRAY_TESTS="theano/gpuarray/tests theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_serial theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_parallel theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray"
FLAGS="init_gpu_device=$DEVICE,gpuarray.preallocate=1000,mode=FAST_RUN" FLAGS="init_gpu_device=$DEVICE,gpuarray.preallocate=1000,mode=FAST_RUN,floatX=float32"
THEANO_FLAGS=${FLAGS} time nosetests -v ${THEANO_GPUARRAY_TESTS} THEANO_FLAGS=${FLAGS} time nosetests -v ${THEANO_GPUARRAY_TESTS}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论