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

OpenCL backend on tflite #13

Closed
scocoyash opened this issue Jan 10, 2020 · 4 comments
Closed

OpenCL backend on tflite #13

scocoyash opened this issue Jan 10, 2020 · 4 comments

Comments

@scocoyash
Copy link

Hi Paul,
Sorry to raise an issue here, I had some doubts regarding enabling MACE OpenCL backend on Tflite.
I found a comment of yours on the tensorflow repo that said using MACE as GPU backend improved around 30% speedup of execution.
Can you show me how to enable the same for GPU pipeline or show me some repo where this has been done?
Thanks a lot for your help :)

@idstein
Copy link
Owner

idstein commented Jan 10, 2020

MACE is an entirely different inference engine for neural network models.
This repo is not using any neural network model at all.

The benchmarks have been conducted January 2019 so before tflite open sourced its OpenCL gpu delegate.
If you benchmark on the same device (which has OpenCL support so not any Google Pixel) tflite with OpenCL vs tflite OpenGL, you‘ll likely see the same effect.

@idstein idstein closed this as completed Jan 10, 2020
@scocoyash
Copy link
Author

Sorry to trouble you again, I raised an issue here because i did not find your contact details anywhere.
May i ask where and how did you benchmark using MACE and tflite? What changes did you make in order to run the MACE backend on tflite instead of the standard provided GL delegate?

@idstein
Copy link
Owner

idstein commented Jan 11, 2020

You can not use MACE in tflite. But you can benchmark how fast for instance mobilenet v2 is running on MACE or tflite. There exists multiple different neural network runtimes like MACE, Tensorflow, Caffe, PyTorch anf a couple of others (also one from Amazon or Baidu which looks promising).

@scocoyash
Copy link
Author

Thanks a lot Paul :)

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

No branches or pull requests

2 participants