Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
BYOC:Bring Your Own Codegen To TVM
Implement your own codegen and register it as a Relay backend compiler to support your hardware device/library
Usefull when hardware already has a well-optimized C/C++ library
By default only support TVM Relay IR representation,
Option to implement graph parsers, If using other graph representation
// Codegen example
here
Once custom codegen registered with a tag toTVM Backend, any subgraph annotated with this tag will be offloaded to the hardware
Example
Any optimization have to be incorporated in the Codegen, BYOC does not optimze code by default.
AutoTVM only helps in systematically exploring the search space, by specifying tunable knobs
Example
End
deck
By Aghin Shah
Made with Slides.com
deck
140
Aghin Shah
More from
Aghin Shah