apache / apache/tvm

[Bug] The quick start example fails because tvm.compile is missing

Open
#17,777 2 comments 0 reactions 0 assignees View on GitHub
needs-triage type: bug
Dominant language
Python
Stars
13.7k
Forks
4k
Avg merge
2d 19h
Merged PRs (30d)
111

Description

The [quick_start](https://tvm.apache.org/docs/get_started/tutorials/quick_start.html) example fails:
```
Traceback (most recent call last):
File "/usr/ports/misc/py-tvm/test-x.py", line 30, in
ex = tvm.compile(mod, target)
^^^^^^^^^^^
AttributeError: module 'tvm' has no attribute 'compile'
```

Version: 0.19.0
Python-3.11

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the quick_start tutorial and the tvm.compile call shown in the traceback, using TVM 0.19.0 with Python 3.11. Reproduce the example and trace the missing entry point; done means the quick start runs without the reported AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.