[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation related operators

2020-02-29 Thread GitBox
ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation 
related operators
URL: https://github.com/apache/incubator-mxnet/pull/17487#issuecomment-593025725
 
 
   CPU : Entire OpPerf suite
   https://gist.github.com/ChaiBapchya/5b5365563b12d5156515ebc62c3032c0


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


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation related operators

2020-02-27 Thread GitBox
ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation 
related operators
URL: https://github.com/apache/incubator-mxnet/pull/17487#issuecomment-592133902
 
 
   > Can you please this list - 
https://github.com/apache/incubator-mxnet/tree/master/benchmark/opperf/nd_operations
   
   @sandeep-krishnamurthy updated
   Thanks for pointing out.


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


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation related operators

2020-02-04 Thread GitBox
ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation 
related operators
URL: https://github.com/apache/incubator-mxnet/pull/17487#issuecomment-582144126
 
 
   OpPerf for GPU : 
https://gist.github.com/ChaiBapchya/f2d6879b8ca7634773fb8c5b93367dae#file-mxnet_operator_benchmark_results_array_manipulation_gpu-md


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


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation related operators

2020-02-04 Thread GitBox
ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation 
related operators
URL: https://github.com/apache/incubator-mxnet/pull/17487#issuecomment-582128165
 
 
   Entire OpPerf for CPU : 
https://gist.github.com/ChaiBapchya/f2d6879b8ca7634773fb8c5b93367dae#file-mxnet_operator_benchmark_results_array_manipulation_cpu-md


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


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation related operators

2020-02-04 Thread GitBox
ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation 
related operators
URL: https://github.com/apache/incubator-mxnet/pull/17487#issuecomment-582127772
 
 
   @mxnet-label-bot add [pr-awaiting-review]


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


With regards,
Apache Git Services


[GitHub] [incubator-mxnet] ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation related operators

2020-02-04 Thread GitBox
ChaiBapchya commented on issue #17487: [OpPerf] Consolidate array manipulation 
related operators
URL: https://github.com/apache/incubator-mxnet/pull/17487#issuecomment-582123433
 
 
   All 4 categories 
   ```
   >>> from benchmark.opperf.nd_operations.array_manipulation_operators import 
run_rearrange_operators_benchmarks, run_shape_operators_benchmarks, 
run_expanding_operators_benchmarks, run_rounding_operators_benchmarks
   ```
   Results
   ```
   run_expanding_operators_benchmarks()
   INFO:root:Begin Benchmark - broadcast_axes
   INFO:root:Complete Benchmark - broadcast_axes
   INFO:root:Begin Benchmark - broadcast_axis
   INFO:root:Complete Benchmark - broadcast_axis
   INFO:root:Begin Benchmark - broadcast_like
   INFO:root:Complete Benchmark - broadcast_like
   INFO:root:Begin Benchmark - broadcast_to
   INFO:root:Complete Benchmark - broadcast_to
   INFO:root:Begin Benchmark - expand_dims
   INFO:root:Complete Benchmark - expand_dims
   INFO:root:Begin Benchmark - pad
   INFO:root:Complete Benchmark - pad
   INFO:root:Begin Benchmark - repeat
   INFO:root:Complete Benchmark - repeat
   INFO:root:Begin Benchmark - tile
   INFO:root:Complete Benchmark - tile
   {'broadcast_axis': [{'avg_time_forward_broadcast_axis': 0.0342, 
'max_storage_mem_alloc_cpu/0': 4.096, 'inputs': {'data': (1, 1024), 'axis': 0, 
'size': 2}}, {'avg_time_forward_broadcast_axis': 0.0302, 
'max_storage_mem_alloc_cpu/0': 0.008, 'inputs': {'data': (1, 1), 'axis': 0, 
'size': 2}}, {'avg_time_forward_broadcast_axis': 0.024, 
'max_storage_mem_alloc_cpu/0': 0.8, 'inputs': {'data': (1, 100), 'axis': 0, 
'size': 2}}], 'broadcast_like': [{'avg_time_forward_broadcast_like': 1.5138, 
'max_
   storage_mem_alloc_cpu/0': 4194.3042, 'inputs': {'lhs': (1024, 1024), 'rhs': 
(1024, 1024)}}, {'avg_time_forward_broadcast_like': 0.1705, 
'max_storage_mem_alloc_cpu/0': 400.0, 'inputs': {'lhs': (1, 10), 'rhs': 
(1, 10)}}, {'avg_time_forward_broadcast_like': 0.0446, 
'max_storage_mem_alloc_cpu/0': 20.0, 'inputs': {'lhs': (1, 1), 'rhs': 
(1, 1)}}], 'pad': [{'max_storage_mem_alloc_cpu/0': 0.192, 'inputs': 
{'data': (1, 4, 2, 4), 'mode': 'constant', 'pad_width': (0, 0, 0, 0, 1, 1
   , 1, 1)}}, {'max_storage_mem_alloc_cpu/0': 612.0, 'inputs': {'data': (10, 
25, 10, 100), 'mode': 'constant', 'pad_width': (0, 0, 0, 0, 1, 1, 1, 1)}}], 
'repeat': [{'avg_time_forward_repeat': 7.5347, 'avg_time_backward_repeat': 
10.3592, 'max_storage_mem_alloc_cpu/0': 4194.3042, 'inputs': {'data': (1024, 
1024), 'repeats': 2, 'axis': 0}}, {'avg_time_forward_repeat': 0.0664, 
'avg_time_backward_repeat': 0.0716, 'max_storage_mem_alloc_cpu/0': 40.0, 
'inputs': {'data': (1, 1), 'repeats': 2,
   'axis': 0}}, {'avg_time_forward_repeat': 6.0047, 'avg_time_backward_repeat': 
8.3208, 'max_storage_mem_alloc_cpu/0': 4000.0, 'inputs': {'data': (1, 100), 
'repeats': 2, 'axis': 0}}], 'tile': [{'avg_time_backward_tile': 7.2161, 
'max_storage_mem_alloc_cpu/0': 4194.3042, 'avg_time_forward_tile': 5.2652, 
'inputs': {'data': (1024, 1024), 'reps': 2}}, {'avg_time_backward_tile': 
0.0631, 'max_storage_mem_alloc_cpu/0': 40.0, 'avg_time_forward_tile': 0.1274, 
'inputs': {'data': (1, 1), 'rep
   s': 2}}, {'avg_time_backward_tile': 6.7835, 'max_storage_mem_alloc_cpu/0': 
4000.0, 'avg_time_forward_tile': 4.8181, 'inputs': {'data': (1, 100), 
'reps': 2}}], 'broadcast_to': [{'max_storage_mem_alloc_cpu/0': 2097.1521, 
'avg_time_forward_broadcast_to': 1.4573, 'inputs': {'data': (1, 1024), 'shape': 
(1024, 1024)}}, {'max_storage_mem_alloc_cpu/0': 40.0, 
'avg_time_forward_broadcast_to': 0.0741, 'inputs': {'data': (1, 1), 'shape': 
(1, 1)}}, {'max_storage_mem_alloc_cpu/0': 2000.0, 'a
   vg_time_forward_broadcast_to': 1.5039, 'inputs': {'data': (1, 100), 'shape': 
(1, 100)}}], 'expand_dims': [{'avg_time_forward_expand_dims': 0.15, 
'max_storage_mem_alloc_cpu/0': 2097.1521, 'inputs': {'data': (1024, 1024), 
'axis': 0}}, {'avg_time_forward_expand_dims': 0.029, 
'max_storage_mem_alloc_cpu/0': 20.0, 'inputs': {'data': (1, 1), 'axis': 
0}}, {'avg_time_forward_expand_dims': 0.0524, 'max_storage_mem_alloc_cpu/0': 
2000.0, 'inputs': {'data': (1, 100), 'axis': 0}}], 'broa
   dcast_axes': [{'avg_time_forward_broadcast_axes': 0.0416, 
'max_storage_mem_alloc_cpu/0': 4.096, 'inputs': {'data': (1, 1024), 'axis': 0, 
'size': 2}}, {'avg_time_forward_broadcast_axes': 0.0341, 
'max_storage_mem_alloc_cpu/0': 0.004, 'inputs': {'data': (1, 1), 'axis': 0, 
'size': 2}}, {'avg_time_forward_broadcast_axes': 0.0354, 
'max_storage_mem_alloc_cpu/0': 0.4, 'inputs': {'data': (1, 100), 'axis': 0, 
'size': 2}}]}
   ```
   ```
   run_rearrange_operators_benchmarks()
   INFO:root:Begin Benchmark - SwapAxis
   INFO:root:Complete Benchmark - SwapAxis
   INFO:root:Begin Benchmark - depth_to_space
   INFO:root:Complete Benchmark - depth_to_space
   INFO:root:Begin Benchmark - flip
   INFO:root:Complete Benchmark - flip
   INFO:root:Begin Benchmark - reverse
   INFO:root:Complete Benchmark -