vinx13 commented on PR #11382:
URL: https://github.com/apache/tvm/pull/11382#issuecomment-1136313439
Hi @mbs-octoml with this PR I'm seeing some warnings `UserWarning:
target_host parameter is going to be deprecated. Please pass in
tvm.target.Target(target, host=target_host) instead.` even if I don't use
target_host. Would you mind taking a look? It can be reproduced with the
following script
```
import tvm
from tvm import te
target = tvm.target.Target('nvidia/geforce-rtx-3070')
N = 32
A = te.placeholder(name='A', shape=[N])
B = te.compute((N,), lambda i,: A[i] + 1.0)
sch = te.create_schedule(B.op)
sch[B].bind(sch[B].op.axis[0], te.thread_axis('threadIdx.x'))
tvm.build(sch, [A, B], target)
```
--
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]