apache / tvm

Open deep learning compiler stack for cpu, gpu and specialized accelerators
https://tvm.apache.org/
Apache License 2.0
11.77k stars 3.47k forks source link

[Bug] An error when making the html documents #10113

Closed AtomicVar closed 2 years ago

AtomicVar commented 2 years ago

Expected behavior

Making documentation according to docs/README.md:

cd docs && make html

should be run without any error.

Actual behavior

Configuration error:
Unknown key(s) in sphinx_gallery_conf:
'find_mayavi_figures'
make: *** [html] Error 2

After searching, I found out that find_mayavi_figures is an outdated option of sphinx-gallery due to a commit.

Environment

Steps to reproduce

  1. Clone the repo.
  2. Build the TVM.
  3. cd docs && make html
driazati commented 2 years ago

As you found your sphinx gallery version is probably too new, try pip install sphinx-gallery==0.4.0. You can use the ./docker/bash.sh ci_gpu - ... command here to generate the list of all the versions used in CI

AtomicVar commented 2 years ago

@driazati Thanks, now it works. ❤️