diff --git a/docs/faq.md b/docs/faq.md index 37b4ddf4668e94035b333d1250333fa51ad50d55..099a791b63a0bcd64e767e999f0327bb46dff732 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -50,3 +50,14 @@ Why is the UI getting poor responsiveness when running model with GPU runtime? Try to set `limit_opencl_kernel_time` to `1`. If still not resolved, try to modify the source code to use even smaller time intervals or changed to CPU or DSP runtime. + +Why is MACE not working on DSP? +------------------------------------------------------------------------------ +Running models on Hexagon DSP need a few prerequisites for DSP developers: + +* You need make sure SOCs of your phone is manufactured by Qualcomm and has HVX supported. +* You need a phone that disables secure boot (once enabled, cannot be reversed, so you probably can only get that type phones from manufacturers) +* You need sign your phone by using testsig provided by Qualcomm. (Download Qualcomm Hexagon SDK first, plugin your phone to PC, run scripts/testsig.py) +* You need install Hexagon nnlib backend by following nnlib README (https://github.com/XiaoMi/nnlib). + +Then, there you go. You can run Mace on Hexagon DSP. \ No newline at end of file