guberti commented on PR #13752:
URL: https://github.com/apache/tvm/pull/13752#issuecomment-1402556346
Note - to use these changes, you will need to disable QNN legalization. This
can be done by calling `relay.build` as follows:
```python
with tvm.transform.PassContext(
opt_level=3,
config={
"tir.disable_vectorize": True,
"relay.backend.use_meta_schedule": True,
"relay.backend.tir_converter": "allow_extern",
},
disabled_pass=["qnn.Legalize"],
), meta_schedule.database.ScheduleFnDatabase(schedule_fn):
lowered = tvm.relay.build(
mod,
target=target,
params=params,
runtime=crt_runtime,
executor=executor,
)
```
--
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]