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/12/10 22:40:54 UTC

[GitHub] [tvm] gromero opened a new pull request #9712: [TVMC] run: Don't use static path to find model.tar

gromero opened a new pull request #9712:
URL: https://github.com/apache/tvm/pull/9712


   Currently 'tvmc run' can't run Arduino models because `model.tar` is never found:
   
   ```
   $ tvmc run --device micro /tmp/arduino_sine --project-option arduino_board=due --print-top 6 --fill-mode zeros
   Error: File /tmp/arduino_sine/model.tar does not exist.
   ```
   
   This happens because Arduino don't store `model.tar` in `<project_dir>/model.tar` like Zephyr.
   
   If this change is applied the MLF path used is taken as returned by the Project API, so `tvmc run` now works for both Zephyr and Arduino and any future platforms:
   
   ```
   $ tvmc run --device micro /tmp/arduino_sine --project-option arduino_board=due --print-top 6 --fill-mode zeros
   [[0.        ]
    [0.03384194]]
   ```


-- 
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: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] gromero commented on pull request #9712: [TVMC] run: Don't use static path to find model.tar

Posted by GitBox <gi...@apache.org>.
gromero commented on pull request #9712:
URL: https://github.com/apache/tvm/pull/9712#issuecomment-991353343


   cc for reviews @jwfromm (since it touches `TVMCPackage`), @guberti (because Arduino) and @areusch @leandron @mehrdadh 


-- 
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: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] gromero commented on pull request #9712: [TVMC] run: Don't use static path to find model.tar

Posted by GitBox <gi...@apache.org>.
gromero commented on pull request #9712:
URL: https://github.com/apache/tvm/pull/9712#issuecomment-991353343


   cc for reviews @jwfromm (since it touches `TVMCPackage`), @guberti (because Arduino) and @areusch @leandron @mehrdadh 


-- 
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: commits-unsubscribe@tvm.apache.org

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



[GitHub] [tvm] leandron merged pull request #9712: [TVMC] run: Don't use static path to find model.tar

Posted by GitBox <gi...@apache.org>.
leandron merged pull request #9712:
URL: https://github.com/apache/tvm/pull/9712


   


-- 
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: commits-unsubscribe@tvm.apache.org

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