driazati commented on PR #13099:
URL: https://github.com/apache/tvm/pull/13099#issuecomment-1281164264

   I suspect this also might be related to how tvm doesn't initialize/import 
all nested modules, so you can end up with situations like:
   
   ```
   >>> import tvm
   >>> tvm.relay.Var
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   AttributeError: module 'tvm' has no attribute 'relay'
   >>> from tvm import relay
   >>> tvm.relay.Var
   <class 'tvm.relay.expr.Var'>
   ```
   
   We do run the tutorials as part of the post-merge ci jobs for `main`, the 
latest successful one [is 
here](https://ci.tlcpack.ai/blue/rest/organizations/jenkins/pipelines/tvm/branches/main/runs/4502/nodes/483/steps/1272/log/?start=0)
 which looks like it was able to run the tutorial, though it does it in a 
Docker environment (you might be able to re-create that locally with `python 
tests/scripts/ci.py docs --tutorial-pattern 'autotvm_relay_x86.py'`)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to