Skip to content

Commit 9d51f07

Browse files
yanwei-gryanweijackzipu
authored
update error message notice & remove useless } (#693)
* add potential exception handle & open session_option to optimize * update odla_computation::init() to return odla_status value * fix popart_config load error * improve load config logic * Check the sdk version of the cache * Format the codes to pass lint checking * reset other necessary popart config value * add return value in computation::init() * clear cache_fs before write new data * clear fstream after close * fix lint error * fix error message issue Co-authored-by: yanwei <yw01041751@alibaba-inc.com> Co-authored-by: gcuser <jackz@graphcore.ai>
1 parent 477f39c commit 9d51f07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ODLA/platforms/odla_popart/odla_popart.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void compute_loop(odla_computation comp) {
7979
popart::logging::err("Poplar unrecoverable_runtime_error exception caught");
8080
QManager::instance()->set_status(ODLA_UNRECOVERABLE_ERR);
8181
} catch (poplar::unknown_runtime_error& e) {
82-
popart::logging::info("Poplar unknown runtime exception caught}");
82+
popart::logging::info("Poplar unknown runtime exception caught");
8383
QManager::instance()->set_status(ODLA_UNRECOVERABLE_ERR);
8484
} catch (...) {
8585
popart::logging::info("Poplar unknown exception caught");
@@ -544,10 +544,10 @@ odla_status Sequence::compute(odla_computation comp, odla_context context,
544544
popart::logging::err("Poplar unrecoverable_runtime_error exception caught");
545545
return ODLA_UNRECOVERABLE_ERR;
546546
} catch (poplar::unknown_runtime_error& e) {
547-
popart::logging::info("Poplar unknown runtime exception caught}");
547+
popart::logging::err("Poplar unknown runtime exception caught.");
548548
return ODLA_UNRECOVERABLE_ERR;
549549
} catch (...) {
550-
popart::logging::info("Poplar unknown exception caught");
550+
popart::logging::err("Poplar unknown exception caught");
551551
return ODLA_UNRECOVERABLE_ERR;
552552
}
553553
return ODLA_SUCCESS;

0 commit comments

Comments
 (0)