Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
8ca280be
提交
8ca280be
authored
8月 16, 2016
作者:
slefrancois
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
explicit paths and gpu tests
上级
d7e5e496
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
34 行增加
和
10 行删除
+34
-10
jenkins_pretest.sh
.jenkins/jenkins_pretest.sh
+2
-1
jenkins_test1.sh
.jenkins/jenkins_test1.sh
+4
-4
jenkins_test2.sh
.jenkins/jenkins_test2.sh
+28
-5
没有找到文件。
.jenkins/jenkins_pretest.sh
浏览文件 @
8ca280be
...
...
@@ -2,7 +2,8 @@
# Script for Jenkins continuous integration pre-testing
source
~/.bashrc
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
# Test flake8
echo
"===== Testing flake8"
...
...
.jenkins/jenkins_test1.sh
浏览文件 @
8ca280be
...
...
@@ -2,13 +2,13 @@
# Script for Jenkins continuous integration testing of theano base
echo
"===== Testing theano core"
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
# Get environment from worker, necessary for CUDA
source
~/.bashrc
echo
"===== Testing theano core"
# Test theano core
PARTS
=
"theano -e cuda -e gpuarray"
THEANO_PARAM
=
"
${
PARTS
}
--with-timer --timer-top-n 10"
FLAGS
=
"mode=FAST_RUN,
init_gpu_device=gpu,
floatX=float32"
FLAGS
=
"mode=FAST_RUN,floatX=float32"
THEANO_FLAGS
=
${
FLAGS
}
bin/theano-nose
${
THEANO_PARAM
}
.jenkins/jenkins_test2.sh
浏览文件 @
8ca280be
#!/bin/bash
# Script for Jenkins continuous integration testing of gpu backends
# Get environment from worker, necessary for CUDA
source
~/.bashrc
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
# CUDA
export
PATH
=
/usr/local/cuda/bin:
$PATH
export
LD_LIBRARY_PATH
=
/usr/local/cuda/lib64:
$LD_LIBRARY_PATH
export
LIBRARY_PATH
=
/usr/local/cuda/lib64:
$LIBRARY_PATH
echo
"===== Testing old theano.sandbox.cuda backend"
PARTS
=
"theano/sandbox/cuda"
THEANO_PARAM
=
"
${
PARTS
}
--with-timer --timer-top-n 10"
THEANO_CUDA_TESTS
=
"theano/sandbox/cuda/tests
\
theano/misc/tests/test_pycuda_example.py
\
theano/misc/tests/test_pycuda_theano_simple.py
\
theano/misc/tests/test_pycuda_utils.py
\
theano/tensor/tests/test_opt.py:TestCompositeCodegen
\
theano/tensor/tests/test_opt.py:test_shapeoptimizer
\
theano/tensor/tests/test_opt.py:test_fusion
\
theano/compile/tests/test_debugmode.py:Test_preallocated_output
\
theano/sparse/tests/test_basic.py:DotTests
\
theano/sandbox/tests/test_multinomial.py:test_gpu_opt
\
theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPU_serial
\
theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPU_parallel
\
theano/sandbox/tests/test_rng_mrg.py:test_GPU_nstreams_limit
\
theano/sandbox/tests/test_rng_mrg.py:test_overflow_gpu_old_backend
\
theano/scan_module/tests/test_scan.py:T_Scan_Cuda"
THEANO_PARAM
=
"
${
THEANO_CUDA_TESTS
}
--with-timer --timer-top-n 10"
FLAGS
=
"mode=FAST_RUN,init_gpu_device=gpu,floatX=float32"
THEANO_FLAGS
=
${
FLAGS
}
bin/theano-nose
${
THEANO_PARAM
}
...
...
@@ -48,6 +68,9 @@ export PYTHONPATH=${PYTHONPATH}:$LIBDIR/lib/python
(
cd
libgpuarray
&&
python setup.py
install
--home
=
$LIBDIR
)
# 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"
THEANO_FLAGS
=
${
FLAGS
}
time
nosetests
-v
${
THEANO_GPUARRAY_TESTS
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论