Uh oh!
There was an error while loading. Please reload this page.
[VTA][OpenCL] add device_annot support in graphpack - #6125
Conversation
e2eedb2 to
d25d0f3Comparezhanghaohit
commented
Aug 24, 2020
@tmoreau89 Thanks for reviewing #6124. Shall we start review this PR? |
tmoreau89
commented
Aug 26, 2020
@zhanghaohit thanks for the ping, @ZihengJiang can you help me review this PR? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| # a fake on_device schedule. | ||
| # this will not be used in actual computation | ||
| # as on_device will be removed during DeviceAnnotation pass | ||
| register_injective_schedule("on_device") |
There was a problem hiding this comment.
@zhanghaohit what happens if we don't register this annotation op schedule?
There was a problem hiding this comment.
It will raiseAssertionError: on_device doesn't have FTVMStrategy registered
during build_module.cc::Optimize before we do the RunDeviceAnnotationPass.
I am wondering whether VTA's graph annotation can be unified into the relay's heterogeneous execution feature: #4178 |
zhanghaohit
commented
Aug 28, 2020
2e7c08b to
27dab34Comparezhanghaohit
commented
Oct 30, 2020
ping @ZihengJiang |
ZihengJiang
commented
Nov 1, 2020
Please fix the CI issue @zhanghaohit |
27dab34 to
20f0470Comparezhanghaohit
commented
Nov 2, 2020
Fixed. Thanks @ZihengJiang@tmoreau89 for the review. |
zhanghaohit
commented
Dec 9, 2020
ping @tmoreau89 |
tmoreau89
left a comment
There was a problem hiding this comment.
Thanks @zhanghaohit LGTM
* add device_annot support in graphpack * on_device annotation * lint * typo * fix lint * fix lint
* add device_annot support in graphpack * on_device annotation * lint * typo * fix lint * fix lint
* add device_annot support in graphpack * on_device annotation * lint * typo * fix lint * fix lint
This is related to #5840 and split from PR #5842
This PR depends on #6124 to work.
The new API allows to tag ext_dev device type from annot_start_name and annot_end_name