Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
89849eb7
提交
89849eb7
authored
11月 30, 2016
作者:
Simon Lefrancois
提交者:
GitHub
11月 30, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5302 from slefrancois/jenkins_release
Jenkins release scripts
上级
88648d8d
20c1be18
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
139 行增加
和
0 行删除
+139
-0
jenkins_buildbot_nogpp.sh
.jenkins/jenkins_buildbot_nogpp.sh
+53
-0
jenkins_buildbot_release_extra.sh
.jenkins/jenkins_buildbot_release_extra.sh
+86
-0
没有找到文件。
.jenkins/jenkins_buildbot_nogpp.sh
0 → 100755
浏览文件 @
89849eb7
#!/bin/bash
# Anaconda python
export
PATH
=
/usr/local/miniconda2/bin:
$PATH
BUILDBOT_DIR
=
$WORKSPACE
/nightly_build
THEANO_PARAM
=
"theano --with-timer --timer-top-n 10"
# nosetests xunit for test profiling
XUNIT
=
"--with-xunit --xunit-file="
# name test suites
SUITE
=
"--xunit-testsuite-name="
mkdir
-p
${
BUILDBOT_DIR
}
ls
-l
${
BUILDBOT_DIR
}
echo
"Directory of stdout/stderr
${
BUILDBOT_DIR
}
"
echo
echo
BASE_COMPILEDIR
=
$WORKSPACE
/compile/theano_compile_dir_theano_nogpp
ROOT_CWD
=
$WORKSPACE
/nightly_build
FLAGS
=
base_compiledir
=
$BASE_COMPILEDIR
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
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
# We don't want warnings in the buildbot for errors already fixed.
FLAGS
=
${
THEANO_FLAGS
}
,warn.argmax_pushdown_bug
=
False,warn.gpusum_01_011_0111_bug
=
False,warn.sum_sum_bug
=
False,warn.sum_div_dimshuffle_bug
=
False,warn.subtensor_merge_bug
=
False,
$FLAGS
# We want to see correctly optimization/shape errors, so make make them raise an
# error.
FLAGS
=
on_opt_error
=
raise,
$FLAGS
FLAGS
=
on_shape_error
=
raise,
$FLAGS
# Ignore user device and floatX config, because:
# 1. Tests are intended to be run with device=cpu.
# 2. We explicitly add 'floatX=float32' in one run of the test suite below,
# while we want all other runs to run with 'floatX=float64'.
FLAGS
=
${
FLAGS
}
,device
=
cpu,floatX
=
float64
echo
"Executing tests with mode=FAST_RUN"
NAME
=
fastrun
FILE
=
${
ROOT_CWD
}
/theano_
${
NAME
}
_tests.xml
echo
"THEANO_FLAGS=cmodule.warn_no_version=True,
${
FLAGS
}
,mode=FAST_RUN
${
NOSETESTS
}
${
PROFILING
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
"
date
THEANO_FLAGS
=
cmodule.warn_no_version
=
True,
${
FLAGS
}
,mode
=
FAST_RUN
${
NOSETESTS
}
${
PROFILING
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
echo
.jenkins/jenkins_buildbot_release_extra.sh
0 → 100755
浏览文件 @
89849eb7
#!/bin/bash
BUILDBOT_DIR
=
$WORKSPACE
/nightly_build
THEANO_PARAM
=
"theano --with-timer --timer-top-n 10"
export
THEANO_FLAGS
=
init_gpu_device
=
gpu
# 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
# nosetests xunit for test profiling
XUNIT
=
"--with-xunit --xunit-file="
# name test suites
SUITE
=
"--xunit-testsuite-name="
mkdir
-p
${
BUILDBOT_DIR
}
ls
-l
${
BUILDBOT_DIR
}
echo
"Directory of stdout/stderr
${
BUILDBOT_DIR
}
"
echo
echo
BASE_COMPILEDIR
=
$WORKSPACE
/compile/theano_compile_dir_theano_release
ROOT_CWD
=
$WORKSPACE
/nightly_build
FLAGS
=
base_compiledir
=
$BASE_COMPILEDIR
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
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
# We don't want warnings in the buildbot for errors already fixed.
FLAGS
=
${
THEANO_FLAGS
}
,warn.argmax_pushdown_bug
=
False,warn.gpusum_01_011_0111_bug
=
False,warn.sum_sum_bug
=
False,warn.sum_div_dimshuffle_bug
=
False,warn.subtensor_merge_bug
=
False,
$FLAGS
# We want to see correctly optimization/shape errors, so make make them raise an
# error.
FLAGS
=
on_opt_error
=
raise,
$FLAGS
FLAGS
=
on_shape_error
=
raise,
$FLAGS
# Ignore user device and floatX config, because:
# 1. Tests are intended to be run with device=cpu.
# 2. We explicitly add 'floatX=float32' in one run of the test suite below,
# while we want all other runs to run with 'floatX=float64'.
FLAGS
=
${
FLAGS
}
,device
=
cpu,floatX
=
float64
echo
"Executing tests with compute_test_value=ignore"
NAME
=
compute_test_value_ignore
FILE
=
${
ROOT_CWD
}
/theano_
${
NAME
}
_tests.xml
echo
"THEANO_FLAGS=
${
FLAGS
}
,compute_test_value=ignore
${
NOSETESTS
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
"
date
THEANO_FLAGS
=
${
FLAGS
}
,compute_test_value
=
ignore
${
NOSETESTS
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
echo
echo
"Executing tests with linker=vm,floatX=float32"
NAME
=
linker_vm_float32
FILE
=
${
ROOT_CWD
}
/theano_
${
NAME
}
_tests.xml
echo
"THEANO_FLAGS=
${
FLAGS
}
,linker=vm,floatX=float32
${
NOSETESTS
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
"
date
THEANO_FLAGS
=
${
FLAGS
}
,linker
=
vm,floatX
=
float32
${
NOSETESTS
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
echo
echo
"Executing tests with cxx="
NAME
=
cxx_none
FILE
=
${
ROOT_CWD
}
/theano_
${
NAME
}
_tests.xml
echo
"THEANO_FLAGS=
${
FLAGS
}
,cxx=
${
NOSETESTS
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
"
date
THEANO_FLAGS
=
${
FLAGS
}
,cxx
=
${
NOSETESTS
}
${
THEANO_PARAM
}
${
XUNIT
}${
FILE
}
${
SUITE
}${
NAME
}
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
echo
# Test shortcut to default test suite
echo
"Running tests using theano.test()"
mkdir
-p
test_default
rm
-rf
test_default/
*
cd
test_default
NAME
=
import
FILE
=
${
ROOT_CWD
}
/theano_
${
NAME
}
_tests.xml
EXTRA_ARGS
=
'["--with-xunit", "--xunit-file='
${
FILE
}
$'", "'
${
SUITE
}${
NAME
}
'"]'
THEANO_FLAGS
=
base_compiledir
=
$BASE_COMPILEDIR
python
-c
"import theano; theano.test(extra_argv=
${
EXTRA_ARGS
}
)"
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论