You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/07/25 18:06:18 UTC

[GitHub] [incubator-mxnet] Zha0q1 opened a new issue #15658: profile_symbolic flag not working in profiler

Zha0q1 opened a new issue #15658: profile_symbolic flag not working in profiler
URL: https://github.com/apache/incubator-mxnet/issues/15658
 
 
   We use `profiler.set_config()` to control the profiler's behaviors, i.e. what to profile.
   `profile_symbolic` and `profile_imperative` are two parameters to control whether to profile operators called in the two modes respectively. However, it seems currently `profiler_symbolic` is not functioning correctly.
   
   In the screenshot below, we have a simple scrip that has `plus_scalar` in symbolic mode and `minus_scalar` in imperative mode. `profile_symbolic` and `profile_imperative` are both set to `True` and we do see both events in `profiler.dumps()`.
   
   ![Screen Shot 2019-07-25 at 10 55 47 AM](https://user-images.githubusercontent.com/16669457/61897220-78376080-aecb-11e9-82dd-68cff9b83c6d.png)
   
   However, if we set `profile_symbolic` and `profile_imperative` to `False`. The `minus_sclar` event is gone, but we still have the `plus_scalar` event, which is not the expected behavior.
   
   ![Screen Shot 2019-07-25 at 10 56 16 AM](https://user-images.githubusercontent.com/16669457/61897214-753c7000-aecb-11e9-89a6-e876b0b6ccb3.png)
   
   MXNet version: from 1.4 to current (I only tested as far as 1.4)
   Python version: 2&3
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services