leandron commented on issue #8783: URL: https://github.com/apache/tvm/issues/8783#issuecomment-901008313
Hi @bhahn221. I had a look into this issue and it seems like some similar issues we've seen in past with `tvmc compile --target=c`. Based on the error message, it looks like we need to create a way to disable the vectorizer when using the C backend in this case? This is currently available via the `--pass-config`, *only* in `tvmc compile`. https://github.com/apache/tvm/blob/e7748aac40bd4c263882323393ea8896837614a9/python/tvm/driver/tvmc/compiler.py#L86-L93 To do that in `tvmc tune`, my first impulse would be plumbing a similar `--pass-config` option, all the way from `tvmc tune` () to `call_all_topic_funcs` in `tvm/auto_scheduler/relay_integration.py`: https://github.com/apache/tvm/blob/e7748aac40bd4c263882323393ea8896837614a9/python/tvm/auto_scheduler/relay_integration.py#L59-L66 I couldn't find the autotvm equivalent, on where the `PassContext` is actually called, but for now, in summary you would need to patch TVM to disable the vectorizer in the sources. -- 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]
