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 2020/07/24 14:14:05 UTC

[GitHub] [incubator-tvm] MarisaKirisame opened a new issue #6136: [Runtime] should VM/graph runtime support multiple entry?

MarisaKirisame opened a new issue #6136:
URL: https://github.com/apache/incubator-tvm/issues/6136


   I noticed that tvm only assume a single "main" entry in the code. I dont think this is a good design for training - when training a network, you will switch between training, validation, and maybe even pruning and quantization. 
   
   If we do not allow multiple entry in tvm module, one will have to manage multiple module himself, which will result in code duplication and code complexity (one module to manage vs many module) then necessary.
   
   Can we support multi-entry? If so how much work is it?
   @tqchen @jroesch 


----------------------------------------------------------------
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] [incubator-tvm] tqchen edited a comment on issue #6136: [Runtime] should VM/graph runtime support multiple entry?

Posted by GitBox <gi...@apache.org>.
tqchen edited a comment on issue #6136:
URL: https://github.com/apache/incubator-tvm/issues/6136#issuecomment-663670965


   We support multiple entry by default by allowing the user to pick the name of the function. For example
   
   ```python
   mod["xyz"]
   ```
   refers to the function xyz, then we could followup to call the function xyz. In the case of the graph runtime, we can have ```gmod["set_input"]```, ```gmod["run"] ```, each of them can be viewed as an entry function
   
   


----------------------------------------------------------------
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] [incubator-tvm] tqchen commented on issue #6136: [Runtime] should VM/graph runtime support multiple entry?

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #6136:
URL: https://github.com/apache/incubator-tvm/issues/6136#issuecomment-663670965


   We support multiple entry by default by allowing the user to pick the name of the function. For example
   
   ```python
   mod["xyz"]
   ```
   refers to the function xyz, then we could followup to call the function xyz. In the case of the graph runtime, we can have ```gmod["set_input"]`, ```gmod["run"] ```, each of them can be viewed as an entry function
   
   


----------------------------------------------------------------
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] [incubator-tvm] tqchen commented on issue #6136: [Runtime] should VM/graph runtime support multiple entry?

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #6136:
URL: https://github.com/apache/incubator-tvm/issues/6136#issuecomment-663671162


   For followup dicsussions like this, let us open new threads on the discuss forum https://discuss.tvm.ai/


----------------------------------------------------------------
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] [incubator-tvm] tqchen closed issue #6136: [Runtime] should VM/graph runtime support multiple entry?

Posted by GitBox <gi...@apache.org>.
tqchen closed issue #6136:
URL: https://github.com/apache/incubator-tvm/issues/6136


   


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