forked from mindspore-Ecosystem/mindspore
!8891 tbe select error, provide error msg
From: @jjfeing Reviewed-by: @kisnwang,@chujinjin Signed-off-by: @chujinjin
This commit is contained in:
commit
2ea6a38ce8
|
@ -491,7 +491,10 @@ std::string TbeKernelSelect::OpSelectFormat() {
|
|||
}
|
||||
res_json_str = AscendKernelBuildClient::Instance().SelectFormat(kernel_json.dump());
|
||||
if (res_json_str.empty()) {
|
||||
MS_LOG(EXCEPTION) << "op select format error.";
|
||||
MS_LOG(EXCEPTION) << "Op select format error.";
|
||||
}
|
||||
if (res_json_str.find("TBEException") != std::string::npos) {
|
||||
MS_LOG(EXCEPTION) << "Dynamic op select failed: " << res_json_str;
|
||||
}
|
||||
MS_LOG(INFO) << "Dynamic select foramt response result:" << res_json_str;
|
||||
return res_json_str;
|
||||
|
|
Loading…
Reference in New Issue