Browse Source

!27292 update fallback error report

Merge pull request !27292 from huangbingjian/fallback_error
tags/v1.6.0
i-robot Gitee 4 years ago
parent
commit
5ec072092c
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      mindspore/ccsrc/pipeline/jit/validator.cc

+ 4
- 2
mindspore/ccsrc/pipeline/jit/validator.cc View File

@@ -136,8 +136,10 @@ void ValidateValueNode(const AnfNodePtr &node) {
}
// InterpretedNode should be consumed during compile, not left to Runtime.
if (IsValueNode<parse::InterpretedObject>(node)) {
MS_LOG(EXCEPTION) << "Should not use Python object in runtime, node: " << node->DebugString()
<< "\n\nWe suppose all nodes generated by JIT Fallback not return to outside of graph.";
MS_LOG(EXCEPTION)
<< "Should not use Python object in runtime, node: " << node->DebugString()
<< "\n\nWe suppose all nodes generated by JIT Fallback would not return to outside of graph. "
<< "For more information about JIT Fallback, please refer to the FAQ at https://www.mindspore.cn.";
}
}



Loading…
Cancel
Save