samskalicky commented on issue #19521: URL: https://github.com/apache/incubator-mxnet/issues/19521#issuecomment-726322649
Using this set of build flags I removed diff sets of ops in v1.x on x86 and measured the libmxnet.so size. Each subsequent row removes additional ops from the previous. `make USE_MKLDNN=0 USE_INTGEMM=0 USE_INT64_TENSOR_SIZE=0 USE_DIST_KVSTORE=0 USE_CPP_PACKAGE=0 USE_OPENCV=0 USE_TVM_OP=0 USE_NNPACK=0 -j` Ops removed | libmxnet.so size [bytes] ------------ | ------------- top-level src/operator | 122415272 quantization | 121641000 image | 121023728 numpy | 77072424 fusion | 77031648 tvmop | 77031608 nnpack | 77031568 custom | 76693704 Trying to remove any more from `nn` or `tensor` is a fluster cluck, all those are ops are used all over the place in other MXNet sources. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
