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 tflite gpu delegate #15

Open
rose-jinyang opened this issue Jan 14, 2021 · 7 comments
Open

OpenCL backend tflite gpu delegate #15

rose-jinyang opened this issue Jan 14, 2021 · 7 comments

Comments

@rose-jinyang
Copy link

Hello
How are you?
Thanks for contributing to this project.
I am going to use the OpenCL backend tflite runtime on RK3399 Ubuntu 18.04 aarch64.
I found that u provided a script to build tflite gpu delegate so file for aarch64. (https://github.com/terryky/tflite_gles_app/blob/master/tools/scripts/tf2.4/build_libtflite_r2.4_aarch64.sh)
Do u think that the gpu delegate so file built by your script can use the OpenCL on RK3399 Mali T860?
Thanks

@terryky
Copy link
Owner

terryky commented Jan 14, 2021

yes, I think it will works although I've never tested it on RK3399.

@rose-jinyang
Copy link
Author

I got the built gpu delegate so file "libtensorflowlite_gpu_delegate.so"
BTW where can I get the built main tensorflowlite library file?
I could not find the file.

@terryky
Copy link
Owner

terryky commented Jan 14, 2021

./tensorflow/bazel-bin/tensorflow/lite/libtensorflowlite.so
could you read README.md?

@rose-jinyang
Copy link
Author

thanks

@rose-jinyang
Copy link
Author

Did u try to build/use the GPU enabled tflite runtime for Python?
if so, could u let me know about the steps/methods?
Thanks

@terryky
Copy link
Owner

terryky commented Jan 14, 2021

Unfortunatelly, no.
I'm not familiar with tflite-python-API.

@aidlearning
Copy link

aidlearning commented Jan 19, 2021

Did u try to build/use the GPU enabled tflite runtime for Python?
if so, could u let me know about the steps/methods?
Thanks

you can refer aid learning . it make Python calling gpu in tflite directly

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

3 participants