[GitHub] rahul003 commented on issue #10504: Can MXNet operator profiling work well using gluon model?

2018-04-11 Thread GitBox
rahul003 commented on issue #10504: Can MXNet operator profiling work well 
using gluon model?
URL: 
https://github.com/apache/incubator-mxnet/issues/10504#issuecomment-380693879
 
 
   I'd suggest creating an issue so we can track and fix this. If you identify 
the issue please feel free to submit a PR. Could you check if the counts are 
the same or different to those in the json file generated in the above steps?


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


[GitHub] rahul003 commented on issue #10504: Can MXNet operator profiling work well using gluon model?

2018-04-11 Thread GitBox
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


[GitHub] rahul003 commented on issue #10504: Can MXNet operator profiling work well using gluon model?

2018-04-11 Thread GitBox
rahul003 commented on issue #10504: Can MXNet operator profiling work well 
using gluon model?
URL: 
https://github.com/apache/incubator-mxnet/issues/10504#issuecomment-380686965
 
 
   Have you tried this ?
   
https://github.com/apache/incubator-mxnet/blob/ceb810ccc17a712c375d55418a0ba45ae91714b5/python/mxnet/profiler.py#L127


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


[GitHub] rahul003 commented on issue #10504: Can MXNet operator profiling work well using gluon model?

2018-04-11 Thread GitBox
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