Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
1c11ed9a
提交
1c11ed9a
authored
2月 24, 2012
作者:
Pascal Lamblin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Cosmetic changes
上级
0572c653
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
9 行增加
和
3 行删除
+9
-3
do_nightly_build
theano/misc/do_nightly_build
+9
-3
没有找到文件。
theano/misc/do_nightly_build
浏览文件 @
1c11ed9a
#!/bin/bash
#!/bin/bash
#we set the compiledir to the /Tmp dir to make the test faster by bypassing the nfs network.
date
date
START
=
`
date
+%s
`
START
=
`
date
+%s
`
ARGS
=
$@
ARGS
=
$@
PROFILING
=
""
PROFILING
=
""
RELEASE
=
""
RELEASE
=
""
if
[
"
$1
"
==
"--release"
]
;
then
if
[
"
$1
"
==
"--release"
]
;
then
RELEASE
=
"True"
RELEASE
=
"True"
shift
shift
ARGS
=
$@
ARGS
=
$@
fi
fi
if
[
"
$1
"
==
"--buildbot"
]
;
then
if
[
"
$1
"
==
"--buildbot"
]
;
then
#we set the compiledir to the /Tmp dir to make the test faster by bypassing the nfs network.
COMPILEDIR
=
/Tmp/lisa_theano_compile_dir_theano
COMPILEDIR
=
/Tmp/lisa_theano_compile_dir_theano
ROOT_CWD
=
/Tmp/nightly_build
ROOT_CWD
=
/Tmp/nightly_build
FLAGS
=
compiledir
=
$COMPILEDIR
FLAGS
=
compiledir
=
$COMPILEDIR
...
@@ -20,25 +22,29 @@ if [ "$1" == "--buildbot" ]; then
...
@@ -20,25 +22,29 @@ if [ "$1" == "--buildbot" ]; then
ARGS
=
"Theano"
ARGS
=
"Theano"
PROFILING
=
"--with-coverage --cover-package=theano"
PROFILING
=
"--with-coverage --cover-package=theano"
NOSETESTS
=
${
ROOT_CWD
}
/bin/theano-nose
NOSETESTS
=
${
ROOT_CWD
}
/bin/theano-nose
export
PYTHONPATH
=
${
ROOT_CWD
}
:
$PYTHONPATH
else
else
COMPILEDIR
=
`
python
-c
"import theano;print theano.config.compiledir"
`
COMPILEDIR
=
`
python
-c
"import theano;
print theano.config.compiledir"
`
NOSETESTS
=
`
python
-c
"import theano; print theano.__path__[0]"
`
/../bin/theano-nose
NOSETESTS
=
`
python
-c
"import theano; print theano.__path__[0]"
`
/../bin/theano-nose
fi
fi
echo
"Number of elements in the compiledir:"
echo
"Number of elements in the compiledir:"
ls
${
COMPILEDIR
}
|wc
-l
ls
${
COMPILEDIR
}
|wc
-l
# We don't want warnings in the buildbot for errors already fixed.
# 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
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
# We want to see correctly optimization/shape errors, so make make them raise an
# error.
# error.
FLAGS
=
on_opt_error
=
raise,
$FLAGS
FLAGS
=
on_opt_error
=
raise,
$FLAGS
FLAGS
=
on_shape_error
=
raise,
$FLAGS
FLAGS
=
on_shape_error
=
raise,
$FLAGS
# Ignore user device and floatX config, because:
# Ignore user device and floatX config, because:
# 1. Tests are intended to be run with device=cpu.
# 1. Tests are intended to be run with device=cpu.
# 2. We explicitly add 'floatX=float32' in one run of the test suite below,
# 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'.
# while we want all other runs to run with 'floatX=float64'.
FLAGS
=
${
FLAGS
}
,device
=
cpu,floatX
=
float64
FLAGS
=
${
FLAGS
}
,device
=
cpu,floatX
=
float64
export
PYTHONPATH
=
${
ROOT_CWD
}
:
$PYTHONPATH
if
[
"
$RELEASE
"
]
;
then
if
[
"
$RELEASE
"
]
;
then
echo
"Executing nosetests with default mode and compute_test_value"
echo
"Executing nosetests with default mode and compute_test_value"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论