Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Some tutorials are missing #13766

Closed
driazati opened this issue Jan 11, 2023 · 1 comment
Closed

[docs] Some tutorials are missing #13766

driazati opened this issue Jan 11, 2023 · 1 comment

Comments

@driazati
Copy link
Member

Some tutorials that are defined in gallery/ are not included in the final built website since their enclosing folders are not listed in docs/conf.py, for example the work_with_pytorch tutorials https://github.com/apache/tvm/tree/main/gallery/how_to/work_with_pytorch do not appear on this list https://tvm.apache.org/docs/how_to/index.html

These may need some attention from the authors since (at least the PyTorch tutorials) they don't run in CI and just adding them to the list hits other errors:

[2023-01-11T22:10:49.638Z] Unexpected failing examples:
[2023-01-11T22:10:49.638Z] /workspace/gallery/how_to/work_with_pytorch/using_as_torch.py failed leaving traceback:
[2023-01-11T22:10:49.638Z] Traceback (most recent call last):
[2023-01-11T22:10:49.638Z]   File "/workspace/gallery/how_to/work_with_pytorch/using_as_torch.py", line 111, in <module>
[2023-01-11T22:10:49.638Z]     tvm_depthwise.tune()
[2023-01-11T22:10:49.638Z]   File "/workspace/python/tvm/contrib/torch/as_torch.py", line 108, in tune
[2023-01-11T22:10:49.638Z]     self.build(target)
[2023-01-11T22:10:49.638Z]   File "/workspace/python/tvm/contrib/torch/as_torch.py", line 118, in build
[2023-01-11T22:10:49.638Z]     raise ValueError('as_torch requires the flag /"USE_PT_TVMDSOOP/" set in config.cmake')
[2023-01-11T22:10:49.638Z] ValueError: as_torch requires the flag /"USE_PT_TVMDSOOP/" set in config.cmake
[2023-01-11T22:10:49.638Z] 
[2023-01-11T22:10:49.638Z] 
[2023-01-11T22:10:49.638Z] /workspace/gallery/how_to/work_with_pytorch/using_optimized_torch.py failed leaving traceback:
[2023-01-11T22:10:49.638Z] Traceback (most recent call last):
[2023-01-11T22:10:49.638Z]   File "/workspace/gallery/how_to/work_with_pytorch/using_optimized_torch.py", line 48, in <module>
[2023-01-11T22:10:49.638Z]     from tvm.meta_schedule import TuneConfig
[2023-01-11T22:10:49.638Z] ImportError: cannot import name 'TuneConfig' from 'tvm.meta_schedule' (/workspace/python/tvm/meta_schedule/__init__.py)
@cchung100m
Copy link
Contributor

Hi @driazati

it been a while since you noticed this issue and I'd like to help if the problem still existed.

May I know your suggestions to fix this issue if that is convenient?

@tqchen tqchen closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants