YuchenJin commented on pull request #8586:
URL: https://github.com/apache/tvm/pull/8586#issuecomment-889229301
Thanks @ganler for finding the issue and the fix! Do you think it would be
better to still have the `.evaluate()` statement, but put it into the
PassContext scope in the following style?
```
with tvm.transform.PassContext(opt_level=3):
ex = build_module.create_executor("graph", mod=mod, device=cpu(0))
res = ex.evaluate()(**data)
```
This will be consistent with code elsewhere:
https://github.com/apache/tvm/blob/main/tutorials/dev/bring_your_own_datatypes.py#L137.
--
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]