From 60c4dc7bc0b35f66086372eec955b05dd80851db Mon Sep 17 00:00:00 2001 From: Chaitanya Prakash Bapat Date: Tue, 6 Aug 2019 13:59:57 -0700 Subject: [PATCH 1/6] Update pre-req for opperf --- benchmark/opperf/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/opperf/README.md b/benchmark/opperf/README.md index 7e708d3cbe1d..3575ae5270a1 100644 --- a/benchmark/opperf/README.md +++ b/benchmark/opperf/README.md @@ -47,7 +47,7 @@ Hence, in this utility, we will build the functionality to allow users and devel ## Prerequisites -Make sure to build the flavor of MXNet, for example - with/without MKL, with CUDA 9 or 10.1 etc., on which you would like to measure operator performance. Finally, you need to add path to your cloned MXNet repository to the PYTHONPATH. +Provided you have mxnet installed (any version > 1.5.1), all you need to use opperf utility is to add path to your cloned MXNet repository to the PYTHONPATH. ``` export PYTHONPATH=$PYTHONPATH:/path/to/incubator-mxnet/ From 5de11b85e706863d6be1885818b7f940c6d4359b Mon Sep 17 00:00:00 2001 From: Chaitanya Prakash Bapat Date: Tue, 6 Aug 2019 14:05:39 -0700 Subject: [PATCH 2/6] Update README.md --- benchmark/opperf/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/benchmark/opperf/README.md b/benchmark/opperf/README.md index 3575ae5270a1..ac604ef6e5ca 100644 --- a/benchmark/opperf/README.md +++ b/benchmark/opperf/README.md @@ -47,7 +47,10 @@ Hence, in this utility, we will build the functionality to allow users and devel ## Prerequisites -Provided you have mxnet installed (any version > 1.5.1), all you need to use opperf utility is to add path to your cloned MXNet repository to the PYTHONPATH. +Provided you have MXNet installed (any version >= 1.5.1), all you need to use opperf utility is to add path to your cloned MXNet repository to the PYTHONPATH. + +Note: +To install MXNet, refer [Installing MXNet page](https://mxnet.incubator.apache.org/versions/master/install/index.html) ``` export PYTHONPATH=$PYTHONPATH:/path/to/incubator-mxnet/ From 1db219677c57d85dcfd244a6c8dfbd2cc396e7fd Mon Sep 17 00:00:00 2001 From: ChaiBapchya Date: Tue, 13 Aug 2019 14:07:17 -0700 Subject: [PATCH 3/6] correct command to import binary broadcast --- benchmark/opperf/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/opperf/README.md b/benchmark/opperf/README.md index ac604ef6e5ca..ef1b63dcd3fe 100644 --- a/benchmark/opperf/README.md +++ b/benchmark/opperf/README.md @@ -78,7 +78,7 @@ For example, you want to run benchmarks for all NDArray Broadcast Binary Operato ``` #!/usr/bin/python -from benchmark.opperf.nd_operations.binary_broadcast_operators import run_mx_binary_broadcast_operators_benchmarks +from benchmark.opperf.nd_operations.binary_operators import run_mx_binary_broadcast_operators_benchmarks # Run all Binary Broadcast operations benchmarks with default input values print(run_mx_binary_broadcast_operators_benchmarks()) From c1999cf91d8afa5f61e1916abb948770b60f624b Mon Sep 17 00:00:00 2001 From: ChaiBapchya Date: Tue, 13 Aug 2019 14:57:06 -0700 Subject: [PATCH 4/6] no such op called nd.sub, it is nd.subtract --- benchmark/opperf/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/opperf/README.md b/benchmark/opperf/README.md index ef1b63dcd3fe..6e628dfe40a8 100644 --- a/benchmark/opperf/README.md +++ b/benchmark/opperf/README.md @@ -139,7 +139,7 @@ from mxnet import nd from benchmark.opperf.utils.benchmark_utils import run_performance_test -add_res = run_performance_test([nd.add, nd.sub], run_backward=True, dtype='float32', ctx=mx.cpu(), +add_res = run_performance_test([nd.add, nd.subtract], run_backward=True, dtype='float32', ctx=mx.cpu(), inputs=[{"lhs": (1024, 1024), "rhs": (1024, 1024)}], warmup=10, runs=25) From 964f3ddd1020e0717e574920666bf6df4f768d38 Mon Sep 17 00:00:00 2001 From: ChaiBapchya Date: Wed, 14 Aug 2019 10:19:54 -0700 Subject: [PATCH 5/6] Trigger notification From 0bfd64efc528aedca94e9abf4d936c91c264d3ce Mon Sep 17 00:00:00 2001 From: ChaiBapchya Date: Wed, 14 Aug 2019 17:31:12 -0700 Subject: [PATCH 6/6] Trigger notification