alanmacd commented on code in PR #13627:
URL: https://github.com/apache/tvm/pull/13627#discussion_r1060871485


##########
gallery/how_to/work_with_microtvm/micro_aot.py:
##########
@@ -30,16 +30,40 @@
 or on Zephyr platform on a microcontroller/board supported by Zephyr.
 """
 
+######################################################################
+#
+#     .. include:: 
../../../../gallery/how_to/work_with_microtvm/install_dependencies.rst
+#
+
 # sphinx_gallery_start_ignore
 from tvm import testing
 
 testing.utils.install_request_hook(depth=3)
 # sphinx_gallery_end_ignore
 
+# You can skip the following two sections (installing Zephyr and CMSIS-NN) if 
the following flag is False.
+# Installing Zephyr takes ~20 min.
+import os
+
+use_physical_hw = bool(os.getenv("TVM_MICRO_USE_HW"))

Review Comment:
   I think this could be worded / setup clearer for the user, since the code 
doesn't check `use_physical_hw` (I assume) it's unclear who is doing the 
skipping.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to