From 2b87c16b1ef4d8b0cbd70a2a476126353565a2a4 Mon Sep 17 00:00:00 2001 From: jshiue Date: Sat, 18 Dec 2021 00:38:19 -0500 Subject: [PATCH] fixed it yayy --- docs/conf.py | 2 +- docs/how_to/index.rst | 1 - gallery/tutorial/tvmc_python.py | 10 +++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index cce7f6c63d1b..2f650a88c936 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -255,7 +255,7 @@ def git_describe_version(original_version): "introduction.py", "install.py", "tvmc_command_line_driver.py", - "tvmc_python.py" + "tvmc_python.py", "autotvm_relay_x86.py", "tensor_expr_get_started.py", "autotvm_matmul_x86.py", diff --git a/docs/how_to/index.rst b/docs/how_to/index.rst index 43475bb1f0da..433d7acee95a 100644 --- a/docs/how_to/index.rst +++ b/docs/how_to/index.rst @@ -26,7 +26,6 @@ schedule with tesor expressions?" :maxdepth: 1 compile_models/index - use_tvms_python_api/index deploy/index work_with_relay/index work_with_schedules/index diff --git a/gallery/tutorial/tvmc_python.py b/gallery/tutorial/tvmc_python.py index 2c9b4dedc29a..db70355946c5 100644 --- a/gallery/tutorial/tvmc_python.py +++ b/gallery/tutorial/tvmc_python.py @@ -20,7 +20,7 @@ **Author**: `Jocelyn Shiue `_ -Hi! Here we explain the scripting tool designed for the complete TVM beginner. 🙂 +Hi! Here we explain the scripting tool designed for the complete TVM beginner. 🙂 Before we get started let's get an example model if you don't already have one. Follow the steps to download a resnet model via the terminal: @@ -129,9 +129,9 @@ # tvmc.tune(model, target="llvm") #Step 1.5: Optional Tune # # The terminal output should look like: -# +# # .. code-block:: python -# +# # [Task 1/13] Current/Best: 82.00/ 106.29 GFLOPS | Progress: (48/769) | 18.56 s # [Task 1/13] Current/Best: 54.47/ 113.50 GFLOPS | Progress: (240/769) | 85.36 s # ..... @@ -143,7 +143,7 @@ # results into compile if you want the results to apply. # # .. code-block:: python -# +# # #tvmc.compile(model, target="llvm", tuning_records = "records.log") #Step 2: Compile ################################################################################ @@ -215,7 +215,7 @@ # Use the next generation of tvm to enable potentially faster run speed results. # The search space of the schedules is automatically generated unlike # previously where they needed to be hand written. (Learn more: -# `1 `_, +# `1 `_, # `2 `_) # # .. code-block:: python