Wav2letter: mobile backend

Created on 9 Sep 2020  路  4Comments  路  Source: flashlight/wav2letter

Question

Hi, is it still in your plans to release a backend that will work on mobile devices?
If not, could you share any pointers as to how to do it? Do you have to create something similar
to fbgemm but for QNNPACK or did you follow some other approach?

question

Most helpful comment

Hi, we are not working on mobile backend at the moment and it is not in our near future plans.

For extending to mobile, one would have to remove the dependency on fbgemm and use a different backend which supports fp16 operations like xnnpack or Accelerate.

INT8 inference with QNNPACK might be more efficient then fp16 but that would require non trivial changes to the code to support scale, zero_point machinery required for INT8 inference.

All 4 comments

Hi, we are not working on mobile backend at the moment and it is not in our near future plans.

For extending to mobile, one would have to remove the dependency on fbgemm and use a different backend which supports fp16 operations like xnnpack or Accelerate.

INT8 inference with QNNPACK might be more efficient then fp16 but that would require non trivial changes to the code to support scale, zero_point machinery required for INT8 inference.

hi @vineelpratap,
I have same question with bill, so as you say, if we need use wav2letter in mobille. We need remove the dependency on fbgemm and use difference backend like xnnpackk or accelrerate.
Can you give more detail about how we remove this dependency. I understand we just need build xnnpack instead of fbgemm, and wav2letter will automatic pick new backend, or we need more changes in code and build script.
Thankyou.

Hi,
Apart changing the build script, you would alsso have to remove the fbgemm function calls that we use in the code to perform matrix multiplication and replace with equivalent from xnnpack (or whatever library being used).

thanks youu @vineelpratap

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mlexplore1122 picture mlexplore1122  路  3Comments

ghost picture ghost  路  5Comments

nutriver picture nutriver  路  3Comments

Terry1504 picture Terry1504  路  4Comments

gauenk picture gauenk  路  3Comments