mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] rahul003 commented on issue #10504: Can MXNet operator profiling work well using gluon model?
Date Thu, 12 Apr 2018 01:37:53 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message