Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on Embedded #2025

Closed
hedaoyuan opened this issue May 5, 2017 · 3 comments
Closed

Work on Embedded #2025

hedaoyuan opened this issue May 5, 2017 · 3 comments
Assignees

Comments

@hedaoyuan
Copy link
Contributor

hedaoyuan commented May 5, 2017

About Paddle's main work related to embedded engineering, after two weeks of discussion and research with @Xreki .

Mainly contains four parts:

  • Build Paddle for the embedded(mobile) device.
    This part of the work has been completed 70%. Next, we will continue to improve the Paddle cmake for the embedded environment. Include build Paddle for ios. And build minimum size image for the mobile environment.
  • Deploy Paddle to the embedded(mobile) device.
    Currently, on the mobile side, we mainly solve the problem of inference. Now Paddle capi is ready, and we have investigated the capi-based alexnet/vgg/resnet and other models inference implementation. The next step is to get some performance/memory benchmarks. As well as the real application model's inference implementation and performance analysis.
  • Paddle Performance
    We estimate that the biggest problem on inference is the lack of performance. At present, there are already some deep optimization libraries(like NNPACK) for the deep learning algorithm(like cnn) on ARM. So, we need to investigate the performance of these libraries, and the method of import these libraries into Paddle. Also, we need to optimize some of the PADDLE code for ARM. In addition, there is a known problem that Paddle needs to optimize memory usage during inference.
  • Application
    We have already started trying to apply Paddle to the face and ocr mobile inference. Subsequent problems and progress will also be updated here.

image

@hedaoyuan
Copy link
Contributor Author

hedaoyuan commented May 17, 2017

Build Paddle for the embedded(mobile) device.

  • Support the compilation of mainstream embedded devices.
  • Meet the embedded environment-related compilation requirements.

TODO

  • The documentation describes how to build.
  • Build in the NVIDIA DRIVE PX2 environment.
  • Extend the pruning capabilities of paddle

DONE

  • Build in the Android environment.
  • Build in the Raspberry Pi environment.

@hedaoyuan
Copy link
Contributor Author

hedaoyuan commented May 17, 2017

Paddle Performance

@NHZlX NHZlX self-assigned this May 24, 2017
@hedaoyuan
Copy link
Contributor Author

Close this issue, due to we have a new to-do list. #5782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants