gromero commented on PR #10963:
URL: https://github.com/apache/tvm/pull/10963#issuecomment-1095293512

   This commit removes the following deprecate warning when using `tvmc tune`: 
   
   ```
   gromero@amd:~/git/tvm$ tvmc tune --target llvm --output output.json 
~/scripts/sine_model.tflite 
   [Task  1/ 6]  Current/Best:    0.00/   0.00 GFLOPS | Progress: (0/166) | 
0.00 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  1/ 6]  Current/Best:    0.02/   2.27 GFLOPS | Progress: (5/166) | 
2.07 s Done.
   [Task  2/ 6]  Current/Best:    0.00/   0.00 GFLOPS | Progress: (0/166) | 
0.00 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  2/ 6]  Current/Best:    1.14/   1.60 GFLOPS | Progress: (15/166) | 
3.33 s Done.
   [Task  3/ 6]  Current/Best:    0.00/   0.00 GFLOPS | Progress: (0/166) | 
0.00 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  3/ 6]  Current/Best:    0.19/  10.98 GFLOPS | Progress: (25/166) | 
4.88 s Done.
   [Task  4/ 6]  Current/Best:    0.00/   0.00 GFLOPS | Progress: (0/166) | 
0.00 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  4/ 6]  Current/Best:    0.20/  13.84 GFLOPS | Progress: (32/166) | 
5.70 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/.local/lib/python3.9/site-packages/xgboost/training.py:18: 
UserWarning: Old style callback is deprecated.  See: 
https://xgboost.readthedocs.io/en/latest/python/callbacks.html
     warnings.warn(f'Old style callback is deprecated.  See: {link}', 
UserWarning)
   [Task  4/ 6]  Current/Best:   14.18/  14.18 GFLOPS | Progress: (64/166) | 
12.53 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: 
UserWarning: target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  4/ 6]  Current/Best:    0.17/  15.06 GFLOPS | Progress: (75/166) | 
14.13 s Done.
   [Task  5/ 6]  Current/Best:    0.00/   0.00 GFLOPS | Progress: (0/166) | 
0.00 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  5/ 6]  Current/Best:    1.37/   1.65 GFLOPS | Progress: (5/166) | 
1.33 s Done.
   [Task  6/ 6]  Current/Best:    0.00/   0.00 GFLOPS | Progress: (0/166) | 
0.00 s/home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   /home/gromero/git/tvm/python/tvm/driver/build_module.py:242: UserWarning: 
target_host parameter is going to be deprecated. Please pass in 
tvm.target.Target(target, host=target_host) instead.
     warnings.warn(
   [Task  6/ 6]  Current/Best:    1.14/   1.27 GFLOPS | Progress: (5/166) | 
1.32 s Done.
   gromero@amd:~/git/tvm$
   ```
   The new target object was introduced by 
https://github.com/apache/tvm/pull/7534


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

Reply via email to