tvm\target\target.py:281: UserWarning: target_host parameter is going to be deprecated. Please pass in tvm.target.Target(target, host=target_host) instead.
"target_host parameter is going to be deprecated. "
I am new to TVM and I am experiencing the same issue. I was able to run with the -vvv option as suggested in the thread and this is my output:
$ python3 -m tvm.driver.tvmc tune --target “llvm” --output resnet50-v2-7-autotuner_records.json resnet50-v2-7.onnx -vvv
DEBUG:TVMC:target input is plain text: llvm
INFO:TVMC:Default --min-repeat-ms for this target is 0
INFO:TVMC:Starting localhost tuning.
INFO:TVMC:Selected 25 tasks for tuning.
INFO:TVMC:Autotuning with 40 trials per task.
INFO:TVMC:Autotuning with configuration: {‘tuner’: ‘xgb’, ‘trials’: 40, ‘early_stopping’: None, ‘measure_option’: {‘builder’: <tvm.autotvm.measure.measure_methods.LocalBuilder object at 0x7f1dd3ed2650>, ‘runner’: <tvm.autotvm.measure.measure_methods.LocalRunner object at 0x7f1d81fa9990>}, ‘tuning_records’: None}
[Task 1/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/40) | 0.00 s
In my case, I compiled TVM from scratch and installed LLVM binaries. I am running in Ubuntu 22.04.3 LTS running inside Windows using WSL. Don’t know if that could be the issue since from what I read autotune uses some kind of server to do the search. I am able to compile without issues. Any ideas or help will be appreciated.