TVM simple tune hang

Hello there,

I am new to TVM and try to run a simple tuning according to Compiling and Optimizing a Model with TVMC — tvm 0.11.dev0 documentation, but the tune hang there as below, (compile and run works fine w/ llvm target, just tune get hang…)

Any comments?

python -m tvm.driver.tvmc tune --target “llvm -mcpu=broadwell” --output resnet50-v2-7-autotuner_records.json --tuner random --number 1 --repeat 1 resnet50-v2-7.onnx

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. "

[Task 1/25] Current/Best: 0.00/ 0.00 GFLOPS | Progress: (0/40) | 0.00 s

Hang. no further print… And CPU utilization dropped which seems no more workload is running…

Any comments/suggestions?

Thanks in advance!

1 Like

It is running on Windows, does anyone encounter the same issue?

1 Like

Can you try adding -vvv to add verbosity to the output, and perhaps we can get a clue of what’s happening?

Hi leandron,

“-vvv” seems not work, I use $env:TVM_LOG_DEBUG=“DEFAULT=0”, and get a lot of warning log as below,

tvm\src\arith\int_set.cc:521: Warning: cannot evaluate set type tir.Call

Thanks, Larry

set “export TVM_LOG_DEBUG=0” in your environment may make it disappear. it works for me.