提交 72e5d990 authored 作者: Reyhane Askari's avatar Reyhane Askari

fix for constants in faster_destroy and fix for jenkins

上级 014190fd
......@@ -13,5 +13,4 @@ echo
FILE=${BUILDBOT_DIR}/theano_python32bit_tests.xml
set -x
<<<<<<< HEAD
PYTHONPATH=$HOME/anaconda2_32bit/lib/python2.7/site-packages THEANO_FLAGS=device=cpu,cycle_detection='fast',force_device=true,lib.amdlibm=False,compiledir=$HOME/.theano/buildbot_theano_python2_32bit $HOME/anaconda2_32bit/bin/python bin/theano-nose ${THEANO_PARAM} ${XUNIT}${FILE}
......@@ -800,7 +800,7 @@ class DestroyHandler(toolbox.Bookkeeper): # noqa
inputs = set(itertools.chain.from_iterable(dm.values())) # list of app's destroyed inputs
for inp_idx in inputs:
inp = app.inputs[inp_idx]
if getattr(inp.tag, 'indestructible', False):
if getattr(inp.tag, 'indestructible', False) or isinstance(inp, graph.Constant):
self.fail_validate[app] = InconsistencyError(
"Attempting to destroy indestructible variables: %s" %
inp)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论