From 895ef9725ffae4855e22d8d23d8d8fef5aaec7ce Mon Sep 17 00:00:00 2001 From: eqy Date: Thu, 14 Feb 2019 11:31:59 -0800 Subject: [PATCH] [DOCS] update titles to reflect tutorial content (nnvm vs. relay) (#2597) * update titles to reflect tutorial content (nnvm vs. relay) * move things around * fix typo --- tutorials/autotvm/tune_relay_arm.py | 4 ++-- tutorials/autotvm/tune_relay_cuda.py | 2 +- tutorials/autotvm/tune_relay_mobile_gpu.py | 2 +- tutorials/autotvm/tune_relay_x86.py | 4 ++-- tutorials/{autotvm => nnvm}/tune_nnvm_arm.py | 4 ++-- tutorials/{autotvm => nnvm}/tune_nnvm_cuda.py | 4 ++-- tutorials/{autotvm => nnvm}/tune_nnvm_mobile_gpu.py | 4 ++-- tutorials/{autotvm => nnvm}/tune_nnvm_x86.py | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) rename tutorials/{autotvm => nnvm}/tune_nnvm_arm.py (99%) rename tutorials/{autotvm => nnvm}/tune_nnvm_cuda.py (99%) rename tutorials/{autotvm => nnvm}/tune_nnvm_mobile_gpu.py (99%) rename tutorials/{autotvm => nnvm}/tune_nnvm_x86.py (98%) diff --git a/tutorials/autotvm/tune_relay_arm.py b/tutorials/autotvm/tune_relay_arm.py index 691c19c24042..fd2f84e74f8e 100644 --- a/tutorials/autotvm/tune_relay_arm.py +++ b/tutorials/autotvm/tune_relay_arm.py @@ -1,6 +1,6 @@ """ Auto-tuning a convolutional network for ARM CPU -==================================================== +=============================================== **Author**: `Lianmin Zheng `_, `Zhao Wu `_, `Eddie Yan `_ Auto-tuning for a specific ARM device is critical for getting the best @@ -193,7 +193,7 @@ def get_network(name, batch_size): builder=autotvm.LocalBuilder( build_func='ndk' if use_android else 'default'), runner=autotvm.RPCRunner( - device_key, host='fleet', port=9190, + device_key, host='localhost', port=9190, number=5, timeout=10, ), diff --git a/tutorials/autotvm/tune_relay_cuda.py b/tutorials/autotvm/tune_relay_cuda.py index f8d595ca904b..46499e8e2f4d 100644 --- a/tutorials/autotvm/tune_relay_cuda.py +++ b/tutorials/autotvm/tune_relay_cuda.py @@ -1,6 +1,6 @@ """ Auto-tuning a convolutional network for NVIDIA GPU -==================================================== +================================================== **Author**: `Lianmin Zheng `_, `Eddie Yan `_ Auto-tuning for specific devices and workloads is critical for getting the diff --git a/tutorials/autotvm/tune_relay_mobile_gpu.py b/tutorials/autotvm/tune_relay_mobile_gpu.py index fbc60374f908..fc52cfaeef96 100644 --- a/tutorials/autotvm/tune_relay_mobile_gpu.py +++ b/tutorials/autotvm/tune_relay_mobile_gpu.py @@ -1,6 +1,6 @@ """ Auto-tuning a convolutional network for Mobile GPU -==================================================== +================================================== **Author**: `Lianmin Zheng `_, `Eddie Yan `_ Auto-tuning for a specific device is critical for getting the best diff --git a/tutorials/autotvm/tune_relay_x86.py b/tutorials/autotvm/tune_relay_x86.py index 91f97861a176..588e20dece57 100644 --- a/tutorials/autotvm/tune_relay_x86.py +++ b/tutorials/autotvm/tune_relay_x86.py @@ -1,6 +1,6 @@ """ -kuto-tuning a convolutional network for x86 CPU -==================================================== +Auto-tuning a convolutional network for x86 CPU +=============================================== **Author**: `Yao Wang `_, `Eddie Yan `_ This is a tutorial about how to tune convolution neural network diff --git a/tutorials/autotvm/tune_nnvm_arm.py b/tutorials/nnvm/tune_nnvm_arm.py similarity index 99% rename from tutorials/autotvm/tune_nnvm_arm.py rename to tutorials/nnvm/tune_nnvm_arm.py index c960ab808109..c89c6625b875 100644 --- a/tutorials/autotvm/tune_nnvm_arm.py +++ b/tutorials/nnvm/tune_nnvm_arm.py @@ -1,6 +1,6 @@ """ -Auto-tuning a convolutional network for ARM CPU -==================================================== +Auto-tuning a convolutional network for ARM CPU (NNVM) +====================================================== **Author**: `Lianmin Zheng `_, `Zhao Wu `_ Auto-tuning for a specific ARM device is critical for getting the best diff --git a/tutorials/autotvm/tune_nnvm_cuda.py b/tutorials/nnvm/tune_nnvm_cuda.py similarity index 99% rename from tutorials/autotvm/tune_nnvm_cuda.py rename to tutorials/nnvm/tune_nnvm_cuda.py index 285940f80845..0dd8d24ae89f 100644 --- a/tutorials/autotvm/tune_nnvm_cuda.py +++ b/tutorials/nnvm/tune_nnvm_cuda.py @@ -1,6 +1,6 @@ """ -Auto-tuning a convolutional network for NVIDIA GPU -==================================================== +Auto-tuning a convolutional network for NVIDIA GPU (NNVM) +========================================================= **Author**: `Lianmin Zheng `_ Auto-tuning for specific devices and workloads is critical for getting the diff --git a/tutorials/autotvm/tune_nnvm_mobile_gpu.py b/tutorials/nnvm/tune_nnvm_mobile_gpu.py similarity index 99% rename from tutorials/autotvm/tune_nnvm_mobile_gpu.py rename to tutorials/nnvm/tune_nnvm_mobile_gpu.py index 38503158ce81..3850f093c722 100644 --- a/tutorials/autotvm/tune_nnvm_mobile_gpu.py +++ b/tutorials/nnvm/tune_nnvm_mobile_gpu.py @@ -1,6 +1,6 @@ """ -Auto-tuning a convolutional network for Mobile GPU -==================================================== +Auto-tuning a convolutional network for Mobile GPU (NNVM) +========================================================= **Author**: `Lianmin Zheng `_ Auto-tuning for a specific device is critical for getting the best diff --git a/tutorials/autotvm/tune_nnvm_x86.py b/tutorials/nnvm/tune_nnvm_x86.py similarity index 98% rename from tutorials/autotvm/tune_nnvm_x86.py rename to tutorials/nnvm/tune_nnvm_x86.py index 9f8692c3981e..875fa8878cd5 100644 --- a/tutorials/autotvm/tune_nnvm_x86.py +++ b/tutorials/nnvm/tune_nnvm_x86.py @@ -1,6 +1,6 @@ """ -Auto-tuning a convolutional network for x86 CPU -==================================================== +Auto-tuning a convolutional network for x86 CPU (NNVM) +====================================================== **Author**: `Yao Wang `_ This is a tutorial about how to tune convolution neural network