rahul003 commented on issue #10504: Can MXNet operator profiling work well 
using gluon model?
URL: 
https://github.com/apache/incubator-mxnet/issues/10504#issuecomment-380647097
 
 
   Could you use mx.profiler.set_config and set the option profile_all=True, 
and try again? Note that this is a different way of profiling with more 
flexibility than MXNET_PROFILER_AUTOSTART, so when you use this don't set that 
environment variable. 
   
   ```
   mx.profiler.set_config(profile_all=True, filename='profile_output.json')
   mx.profiler.set_state('run')
   
       # Code to be profiled goes here...
   
   mx.profiler.set_state('stop')
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

Reply via email to