facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

As of now, what can we expect from caffe2 on mobile devices? #1312

Closed wswfc closed 7 years ago

wswfc commented 7 years ago

Does caffe2 support running on ARM cpu? What about mobile GPU support, such as Mali GPU, via the openCL? Seems I cannot find a doc with more detailed info. Would appreciate such. Thanks.

sasikiran commented 7 years ago

On iOS, Metal APIs are/will be supported. On Android, Qualcomm SNPE. See here - https://github.com/caffe2/caffe2/issues/283

wswfc commented 7 years ago

Thanks! Looking forward to more back-end support!

lamia482 commented 7 years ago

Hi, @wswfc have you succeeded in running caffe2 on Android device with MALI GPUs activated?

wswfc commented 7 years ago

@laMia482 Nope. Still CPU only...

lamia482 commented 7 years ago

@wswfc Ooooooops, I've made it but running caffe2 with OpenGL on Android device(CUN-AL00) seems takes more times than just CPU...

twerdster commented 6 years ago

@laMia482 can you give pointers on how to get it to run using OpenGL? I have compiled the opengl caffe2 libbrary and can see that opengl is being initialized but it fails to run. What network did you use? What code did you add to native-lib.cpp?

lamia482 commented 6 years ago

@twerdster see my repo, not tested for latestet caffe2