leezu commented on issue #18699: URL: https://github.com/apache/incubator-mxnet/issues/18699#issuecomment-663621153
Thank you for splitting up the commit and comparing the frontend to backend changes! To find out which part of the Python frontend changes is causing the overhead, I'd suggest to apply all changes from 83b5170 minus respectively a) multiarray.py and ndarray.py b) parameter.py c) block.py. My assumption is that the extra C API call in parameter.py causes the overhead and that variant b) would resolve the overhead. This works because Sockeye doesn't use `HybridBlock.forward` but `HybridBlock.hybrid_forward` ---------------------------------------------------------------- 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: us...@infra.apache.org