提交 dd8f8b57 authored 作者: Frederic Bastien's avatar Frederic Bastien

now the buildbot use the new theano flag on_shape_error to raise error.

上级 fd2ad1c4
...@@ -162,9 +162,9 @@ Others: ...@@ -162,9 +162,9 @@ Others:
* Don't request to load the GPU module by default in scan module. (Razvan) * Don't request to load the GPU module by default in scan module. (Razvan)
* Fixed some import problems. * Fixed some import problems.
* Filtering update. (James) * Filtering update. (James)
* The buidbot now raises optimization errors instead of just printing a warning. (Frederic)
* On Windows, the default compiledir changed to be local to the computer/user and not transferred with roaming profile. (Sebastian Urban) * On Windows, the default compiledir changed to be local to the computer/user and not transferred with roaming profile. (Sebastian Urban)
* New theano flag "on_shape_error". Default to "warn" (same as previous behavior): it print a warning when an error occur when infering the shape of some apply node. The other accepted value is "raise" to raise an error when this happen. * New theano flag "on_shape_error". Default to "warn" (same as previous behavior): it print a warning when an error occur when infering the shape of some apply node. The other accepted value is "raise" to raise an error when this happen.
* The buidbot now raises optimization/shape errors instead of just printing a warning. (Frederic)
Reviewers (alphabetical order): Reviewers (alphabetical order):
* David, Frederic, Ian, James, Olivier, Razvan * David, Frederic, Ian, James, Olivier, Razvan
...@@ -162,8 +162,8 @@ Others: ...@@ -162,8 +162,8 @@ Others:
* Don't request to load the GPU module by default in scan module. (Razvan) * Don't request to load the GPU module by default in scan module. (Razvan)
* Fixed some import problems. * Fixed some import problems.
* Filtering update. (James) * Filtering update. (James)
* The buidbot now raises optimization errors instead of just printing a warning. (Frederic)
* On Windows, the default compiledir changed to be local to the computer/user and not transferred with roaming profile. (Sebastian Urban) * On Windows, the default compiledir changed to be local to the computer/user and not transferred with roaming profile. (Sebastian Urban)
* The buidbot now raises optimization/shape errors instead of just printing a warning. (Frederic)
Reviewers (alphabetical order): Reviewers (alphabetical order):
* David, Frederic, Ian, James, Olivier, Razvan * David, Frederic, Ian, James, Olivier, Razvan
...@@ -25,9 +25,10 @@ echo "Number of elements in the compiledir:" ...@@ -25,9 +25,10 @@ echo "Number of elements in the compiledir:"
ls ${COMPILEDIR}|wc -l ls ${COMPILEDIR}|wc -l
# We don't want warnings in the buildbod for errors already fixed. # We don't want warnings in the buildbod 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,$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,$FLAGS
# We want to see correctly optimization 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
# 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,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论