guberti commented on issue #10237:
URL: https://github.com/apache/tvm/issues/10237#issuecomment-1155540747

   You create a `LocalBuilder` object with the following, but I believe this is 
what `micro_autotune.py` does already:
   ```python
   RUNTIME = tvm.relay.backend.Runtime("crt", {"system-lib": True})
   builder = tvm.autotvm.LocalBuilder(
       n_parallel=1,
       build_kwargs={"build_option": {"tir.disable_vectorize": True}},
       do_fork=False,
       build_func=tvm.micro.autotvm_build_func,
       runtime=RUNTIME,
   )
   ```
   I've got a few ideas for similar issues that could cause the same error, but 
I don't have a Zephyr board with me to test right now. @mehrdadh would know the 
most. However, [here's a 
link](https://gist.github.com/guberti/67bda65c792df408bb87260a2b110700) to a 
Gist showing a working autotune script for microTVM on Arduino, which may be 
useful as a cross reference. I've also [linked a 
model](https://github.com/apache/tvm/files/8902826/quantized.zip) which I know 
works with the script, so we can ensure that's not the issue


-- 
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