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

Do we have below things in caffe2? #1574

Closed kingofoz closed 6 years ago

kingofoz commented 6 years ago

I know caffe2 has Android/iOS support, but generally mobile devices have very limited storage, memory and computation resources. Does caffe2 have any optimization in these aspects? I know Song Han has a paper about deep compression which is implemented in caffe.

orionr commented 6 years ago

Hi @kingofoz. Caffe2 does a variety of things for performance on mobile. Some of this is within Caffe2 (using an NNPACK or MPSCNN backend for example) while others are model-specific. Compression, quantization, or other low-precision adjustments are typically done at the model level. Hope that helps!