samskalicky commented on pull request #18904:
URL: https://github.com/apache/incubator-mxnet/pull/18904#issuecomment-679737968


   > How about components in general? Let's say we would like to externalize 
the onnx support or some other component? We would still always have to build 
these things together and specify the features set during compile time, right?
   
   It depends on what "externalize the onnx support" entails. Today the only 
components we register are: operators, subgraph properties, and graph passes 
(anything else?). The current onnx support is implemented [entirely in 
Python](https://github.com/apache/incubator-mxnet/tree/master/python/mxnet/contrib/onnx).
 
   
   Maybe we could externalize TensorRT as a custom subgraph property & custom 
op though.
   
   You dont need to build them together as much as you need to reproduce the 
same build settings (defines, includes, etc). 
   
   The big reason that you cant just compile your code and link against 
libmxnet.so is the same as why you cant build a custom application using the 
C++ API without compiling it with MXNet: it depends on the entire codebase 
(+3rd party submodules). 


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


Reply via email to