yzhliu commented on a change in pull request #15550: Infra to use tvm write op 
kernels
URL: https://github.com/apache/incubator-mxnet/pull/15550#discussion_r304060508
 
 

 ##########
 File path: python/mxnet/base.py
 ##########
 @@ -734,3 +734,8 @@ def write_all_str(module_file, module_all_list):
 
 ctypes.pythonapi.PyCapsule_New.restype = ctypes.py_object
 ctypes.pythonapi.PyCapsule_GetPointer.restype = ctypes.c_void_p
+
+from .runtime import Features
+if Features().is_enabled("TVM_OP"):
 
 Review comment:
   It should be doable. while might need non-trivial surgery to both. cc 
@tqchen if you have insight.

----------------------------------------------------------------
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