zhiics opened a new pull request #4570: [relay] Relay annotation and 
partitioning for external compilers
URL: https://github.com/apache/incubator-tvm/pull/4570
 
 
   This is the annotation and partitioning part of #4258 
   
   It adds a separate build pipeline for users to have a Module->Module pass on 
a Relay program. Then users with take the annotated module and sent it to 
relay.build for compilation. An example could be like the following:
   
   ```python
   mod = relay.testing.mobilenet.get_workload(batch_size=1, dtype='float32')
   mod = relay.build_extern_compiler(mod, "dnnl")
   json, lib, param = relay.build(mod, target=target, params=params)
   ```
   
   Fellow-up PRs will work on tutorials to help developers add external 
codegen/runtime and create their own build pipeline.
   
   CC @tqchen @jroesch @icemelon9 @u99127 @masahi @u99127 @soiferj 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to