You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/05/18 08:55:21 UTC

[GitHub] [tvm] cbswj opened a new issue #8067: Auto-tuning a Convolutional Network for ARM CPU (tutorial error, bug reports)

cbswj opened a new issue #8067:
URL: https://github.com/apache/tvm/issues/8067


   tutorial link : https://tvm.apache.org/docs/tutorials/autotvm/tune_relay_arm.html#sphx-glr-tutorials-autotvm-tune-relay-arm-py
   XGB API link : https://tvm.apache.org/docs/api/python/autotvm.html#tvm.autotvm.tuner.XGBtuner
   
   I tried autoTVM tutorial and there is a problem.
   
   Frist, I connected Raspberry Pi and the host server with an rpc session and proceeded with autoTVM.
   
   There was a problem with tuning on autoTVM.
   ![image](https://user-images.githubusercontent.com/48883649/118622332-2aa78880-b802-11eb-93b8-eb19d1b5e9d8.png)
   
   As in the tutorial example, creating xgbtuner causes problems.
   
   I looked up tvm-API to solve the problem and found this sentence.
   ‘For cross-device or cross-operator tuning, you can use ‘curve’ only.’
   ![image](https://user-images.githubusercontent.com/48883649/118615694-f335dd80-b7fb-11eb-824a-384c029597a3.png)
   
   
   However, the tutorial creates an xgbtuner that does not have a curve option.
   ![image](https://user-images.githubusercontent.com/48883649/118615977-3c862d00-b7fc-11eb-980e-f4313800c25b.png)
   
   In addition, the tutorial doesn't even have code to create xgbtuner with curve options.
   ![image](https://user-images.githubusercontent.com/48883649/118616364-9686f280-b7fc-11eb-8785-07bcc6d3015a.png)
   
   Although it is an autoTVM tutorial for ARM CPU using RPC session, it seems strange that there is no curve option when creating xgbtuner.
   
   So I made an xgb tuner with curved options and tested it and it worked well.
   The xgb_knob option also works well!
   ![image](https://user-images.githubusercontent.com/48883649/118617027-33499000-b7fd-11eb-9965-1c4da517867e.png)
   ![image](https://user-images.githubusercontent.com/48883649/118617190-5aa05d00-b7fd-11eb-8e14-cee761d33f24.png)
   
   
   It is a problem when using RPC session to connect Raspberry Pi and GPU server to proceed autoTVM.
   
   Question
   I wonder if it's my fault or if the tutorial example is wrong.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] leandron commented on issue #8067: Auto-tuning a Convolutional Network for ARM CPU (tutorial error, bug reports)

Posted by GitBox <gi...@apache.org>.
leandron commented on issue #8067:
URL: https://github.com/apache/tvm/issues/8067#issuecomment-842992762


   @cbswj thanks for the detailed reporting on this issue. Can you send a PR with your fix for the tutorial?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] cbswj commented on issue #8067: Auto-tuning a Convolutional Network for ARM CPU (tutorial error, bug reports)

Posted by GitBox <gi...@apache.org>.
cbswj commented on issue #8067:
URL: https://github.com/apache/tvm/issues/8067#issuecomment-844715151


   
   
   
   > @cbswj thanks for the detailed reporting on this issue. Can you send a PR with your fix for the tutorial?
   
   I modified the issue content. Could you take a look again and leave a comment?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] cbswj commented on issue #8067: Auto-tuning a Convolutional Network for ARM CPU (tutorial error, bug reports)

Posted by GitBox <gi...@apache.org>.
cbswj commented on issue #8067:
URL: https://github.com/apache/tvm/issues/8067#issuecomment-845784106


   @leandron 
   I modified the issue content.
   https://github.com/apache/tvm/pull/8103


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org