philatoctoml commented on issue #9617:
URL: https://github.com/apache/tvm/issues/9617#issuecomment-983229224
@ZQPei thanks! Of course not. I just did this based on a model I had already
tuned:
```
from tvm.driver import tvmc
model = tvmc.load('model.onnx')
log_file = "mymodel.json"
target = "cuda"
#tvmc.tune(
# model,
# target=target,
# tuning_records=log_file,
#)
package = tvmc.compile(model, target=target, tuning_records=log_file)
result = tvmc.run(package, device='cuda')
print(result)
```
--
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]