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

 ##########
 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:
   Comments added. The config file records available schedules, but besides 
these, a default schedule is also available, so when the conf is missing, we 
call fallback to default.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to