larroy commented on a change in pull request #16773: Fix nightly build
URL: https://github.com/apache/incubator-mxnet/pull/16773#discussion_r344870452
 
 

 ##########
 File path: python/mxnet/tvmop.py
 ##########
 @@ -31,7 +32,12 @@
     check_call(_LIB.MXLoadTVMOp(c_str(_LIB_TVM_OP[0])))
 
     # op sch config
-    _CONF_TVM_OP = find_conf_path("tvmop")
-    with open(_CONF_TVM_OP[0], "r") as f:
-        ret = ConfigSpaces.from_json_dict(json.load(f))
-    _set_tvm_op_config(ret)
+    try:
+        _CONF_TVM_OP = find_conf_path("tvmop")
+    except RuntimeError as e:
+        logging.warning(e)
 
 Review comment:
   Could you add comments on what's the implication of this? Why we just print 
a warning. It's not very clear when going through the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to