ninesheep opened a new pull request, #13641:
URL: https://github.com/apache/tvm/pull/13641
construct a module like below:
```python
import tvm
from tvm import relay
p0 = relay.var("p0", shape = [32,], dtype="float16")
p1 = relay.var("p1", shape = [32,], dtype="float16")
x1 = relay.multiply(p0, p1)
x2 = relay.round(x1)
x3 = relay.cast(x2, "uint8") # or int8
func = relay.Function(relay.analysis.free_vars(x2), x2)
mod = tvm.IRModule.from_expr(func)
with tvm.transform.PassContext(
opt_level=3,
):
graph, lib, params = tvm.relay.build_module.build(
new_mod, target="cuda --host=llvm", params=None
)
```
and build it, it will report a error like this:

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