anirudh2290 commented on issue #14575: fix custom exception handling
URL: https://github.com/apache/incubator-mxnet/pull/14575#issuecomment-482786736
 
 
   I think we should make the modification in engine. Keeping that env variable 
is fine as Users may want to limit the custom op threads, so that customers 
don't run into situation where there are too many custom ops in their model and 
lot of threads are spawned and thread spawning overhead being high. Also, 
performance wise adding the waittoread and waittowrite can impact performance: 
every thread is now pushing all ops, waiting it to complete and then exiting as 
compared to custom op threads earlier which would just push op to engine and 
exit. Custom op threads were lightweight earlier and we should keep it that way.

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