Skip to content

Instantly share code, notes, and snippets.

@cchung100m
Created February 25, 2020 16:54
Show Gist options
  • Save cchung100m/f8bdef470b1a41c2408895610ee3b03e to your computer and use it in GitHub Desktop.
Save cchung100m/f8bdef470b1a41c2408895610ee3b03e to your computer and use it in GitHub Desktop.
[DOCS] Fix Sphinx Warning: the target found for cross-reference
(venv) cch:docs cch$ TVM_TUTORIAL_EXEC_PATTERN=none make html
python3 -m sphinx -b html -d _build/doctrees . _build/html
Running Sphinx v2.4.2
~/tvm/venv/lib/python3.7/site-packages/sphinx/util/compat.py:32: RemovedInSphinx30Warning: The config variable "source_parsers" is deprecated. Please update your extension for the parser and remove the setting.
RemovedInSphinx30Warning)
~/tvm/venv/lib/python3.7/site-packages/sphinx/util/compat.py:36: RemovedInSphinx30Warning: app.add_source_parser() does not support suffix argument. Use app.add_source_suffix() instead.
app.add_source_parser(suffix, parser)
loading pickled environment... done
[autosummary] generating autosummary for: api/python/autotvm.rst, api/python/contrib.rst, api/python/driver.rst, api/python/error.rst, api/python/graph_runtime.rst, api/python/hybrid.rst, api/python/index.rst, api/python/ir.rst, api/python/ndarray.rst, api/python/relay/analysis.rst, ..., vta/dev/index.rst, vta/index.rst, vta/install.md, vta/tutorials/autotvm/tune_relay_vta.rst, vta/tutorials/frontend/deploy_vision_on_vta.rst, vta/tutorials/index.rst, vta/tutorials/matrix_multiply.rst, vta/tutorials/optimize/convolution_opt.rst, vta/tutorials/optimize/matrix_multiply_opt.rst, vta/tutorials/vta_get_started.rst
generating gallery...
generating gallery for tutorials... [100%] tensor_expr_get_started.py
Using TensorFlow backend.torials/frontend... [ 35%] from_keras.py
WARNING:root:This caffe2 python run does not have GPU support. Will run in CPU only mode.
generating gallery for tutorials/frontend... [100%] build_gcn.py
generating gallery for tutorials/language... [100%] tensorize.py
generating gallery for tutorials/optimize... [100%] opt_matmul_auto_tensorcore.py
generating gallery for tutorials/autotvm... [100%] tune_relay_arm.py
generating gallery for tutorials/dev... [100%] relay_pass_infra.py
generating gallery for tutorials/topi... [100%] intro_topi.py
generating gallery for vta/tutorials... [100%] matrix_multiply.py
generating gallery for vta/tutorials/frontend... [100%] deploy_vision_on_vta.py
generating gallery for vta/tutorials/optimize... [100%] convolution_opt.py
generating gallery for vta/tutorials/autotvm... [100%] tune_relay_vta.py
computation time summary:
- ../tutorials/autotvm/tune_conv2d_cuda.py: 0.00 sec 0.0 MB
- ../tutorials/autotvm/tune_relay_arm.py: 0.00 sec 0.0 MB
- ../tutorials/autotvm/tune_relay_cuda.py: 0.00 sec 0.0 MB
- ../tutorials/autotvm/tune_relay_mobile_gpu.py: 0.00 sec 0.0 MB
- ../tutorials/autotvm/tune_relay_x86.py: 0.00 sec 0.0 MB
- ../tutorials/autotvm/tune_simple_template.py: 0.00 sec 0.0 MB
- ../tutorials/cross_compilation_and_rpc.py: 0.00 sec 0.0 MB
- ../tutorials/dev/low_level_custom_pass.py: 0.00 sec 0.0 MB
- ../tutorials/dev/relay_pass_infra.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/build_gcn.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/deploy_model_on_android.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/deploy_model_on_rasp.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/deploy_quantized.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/deploy_ssd_gluoncv.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_caffe2.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_coreml.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_darknet.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_keras.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_mxnet.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_onnx.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_tensorflow.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/from_tflite.py: 0.00 sec 0.0 MB
- ../tutorials/frontend/using_external_lib.py: 0.00 sec 0.0 MB
- ../tutorials/language/extern_op.py: 0.00 sec 0.0 MB
- ../tutorials/language/intrin_math.py: 0.00 sec 0.0 MB
- ../tutorials/language/reduction.py: 0.00 sec 0.0 MB
- ../tutorials/language/scan.py: 0.00 sec 0.0 MB
- ../tutorials/language/schedule_primitives.py: 0.00 sec 0.0 MB
- ../tutorials/language/tensorize.py: 0.00 sec 0.0 MB
- ../tutorials/language/tuple_inputs.py: 0.00 sec 0.0 MB
- ../tutorials/optimize/opt_conv_cuda.py: 0.00 sec 0.0 MB
- ../tutorials/optimize/opt_conv_tensorcore.py: 0.00 sec 0.0 MB
- ../tutorials/optimize/opt_gemm.py: 0.00 sec 0.0 MB
- ../tutorials/optimize/opt_matmul_auto_tensorcore.py: 0.00 sec 0.0 MB
- ../tutorials/relay_quick_start.py: 0.00 sec 0.0 MB
- ../tutorials/tensor_expr_get_started.py: 0.00 sec 0.0 MB
- ../tutorials/topi/intro_topi.py: 0.00 sec 0.0 MB
- ../vta/tutorials/autotvm/tune_relay_vta.py: 0.00 sec 0.0 MB
- ../vta/tutorials/frontend/deploy_vision_on_vta.py: 0.00 sec 0.0 MB
- ../vta/tutorials/matrix_multiply.py: 0.00 sec 0.0 MB
- ../vta/tutorials/optimize/convolution_opt.py: 0.00 sec 0.0 MB
- ../vta/tutorials/optimize/matrix_multiply_opt.py: 0.00 sec 0.0 MB
- ../vta/tutorials/vta_get_started.py: 0.00 sec 0.0 MB
cp: doxygen/html: No such file or directory
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 2 source files that are out of date
updating environment: [config changed ('source_parsers')] 126 added, 0 changed, 0 removed
~/tvm/venv/lib/python3.7/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
~/tvm/venv/lib/python3.7/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [100%] vta/tutorials/vta_get_started
WARNING: error while formatting arguments for tvm.relay.op.OpPattern: <class 'tvm.relay.op.op.OpPattern'> is a builtin class
WARNING: error while formatting arguments for tvm.intrin: module 'tvm.intrin' has no attribute '__mro__'
WARNING: error while formatting arguments for tvm.relay.vision.nms: module 'tvm.relay.op.vision.nms' has no attribute '__mro__'
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] vta/tutorials/vta_get_started
generating indices... genindex py-modindexdone
writing additional pages... search/~/tvm/venv/lib/python3.7/site-packages/sphinx_rtd_theme/search.html:21: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
{% endblock %}
done
copying images... [100%] vta/tutorials/autotvm/images/thumb/sphx_glr_tune_relay_vta_thumb.png
copying downloadable files... [100%] vta/tutorials/vta_get_started.ipynb
copying static files... ... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 3 warnings.
The HTML pages are in _build/html.
Sphinx-gallery successfully executed 0 out of 0 files subselected by:
gallery_conf["filename_pattern"] = 'none'
gallery_conf["ignore_pattern"] = '__init__\\.py'
after excluding 0 files that had previously been run (based on MD5).
embedding documentation hyperlinks...
embedding documentation hyperlinks for tutorials... [100%] intro_topi.html
embedding documentation hyperlinks for vta/tutorials... [100%] matrix_multiply_opt.html
Build finished. The HTML pages are in _build/html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment