barry-jin opened a new pull request #20580:
URL: https://github.com/apache/incubator-mxnet/pull/20580


   ## Description ##
   With more data types introduced in #20478, MXNet is vulnerable to out of 
memory errors in building process. The website building pipeline and some 
development have been blocked by this issue a lot:
   
https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/restricted-website-build-master/activity
   
   As suggested in #19688, this PR will adopt option2 in the proposed solution 
and work around refactoring np_elemwise_broadcast_logic_op.cc into 8 separate 
files. 
   
   The size of the objects before refactoring
   ```
    81M np_elemwise_broadcast_logic_op.cc.o
   ```
   
   The size of the objects after refactoring
   ```
    13M np_elemwise_broadcast_logic_op_xor.cc.o
    12M np_elemwise_broadcast_logic_op_or.cc.o
    12M np_elemwise_broadcast_logic_op_not_equal.cc.o
    12M np_elemwise_broadcast_logic_op_less_equal.cc.o
    12M np_elemwise_broadcast_logic_op_less.cc.o
    12M np_elemwise_broadcast_logic_op_greater_equal.cc.o
    12M np_elemwise_broadcast_logic_op_greater.cc.o
    12M np_elemwise_broadcast_logic_op_equal.cc.o
    12M np_elemwise_broadcast_logic_op_and.cc.o
   ```
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to