zxybazh opened a new pull request, #11587:
URL: https://github.com/apache/tvm/pull/11587

   This PR introduces 2 tuning script for meta schedule and auto scheduler 
tuning support with onnx files. Now we can easily introduce onnx models 
benchmarking with command line scripts. Sample tuning call looks similar to the 
following script
   ```
   python3 -m tvm.meta_schedule.testing.tune_onnx_meta_schedule \
       --model-name   "$MODEL_NAME"                             \
       --onnx-path    "$ONNX_PATH"                              \
       --input-shape  "$INPUT_SHAPE"                            \
       --target       "$TARGET"                                 \
       --num-trials   $NUM_TRIALS                               \
       --rpc-host     $RPC_HOST                                 \
       --rpc-port     $RPC_PORT                                 \
       --rpc-key      $RPC_KEY                                  \
       --rpc-workers  $RPC_WORKERS                              \
       --work-dir     $WORK_DIR                                 \
       |& tee         "$WORK_DIR/$MODEL_NAME.log"
   ```


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