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

Multiple CNN models concurrently on the GPU #66998

Open
B-JackMao opened this issue May 6, 2024 · 3 comments
Open

Multiple CNN models concurrently on the GPU #66998

B-JackMao opened this issue May 6, 2024 · 3 comments
Assignees
Labels
comp:lite TF Lite related issues stat:awaiting response Status - Awaiting response from author TFLiteGpuDelegate TFLite Gpu delegate issue

Comments

@B-JackMao
Copy link

I want to know if TFLITE currently supports running two or more CNN tasks in parallel on a mobile phone's GPU. Can TFLITE run multiple CNN models concurrently on the GPU to accelerate inference?

@Venkat6871 Venkat6871 added the comp:lite TF Lite related issues label May 7, 2024
@Venkat6871 Venkat6871 assigned sawantkumar and unassigned Venkat6871 May 7, 2024
@sawantkumar
Copy link

Hi @B-JackMao ,

I haven't seen any tflite official documentation mentioning the concurrent model execution on GPU. If i find something i will let you know.

@sawantkumar sawantkumar added the TFLiteGpuDelegate TFLite Gpu delegate issue label May 14, 2024
@sawantkumar
Copy link

Hi @pkgoogle ,

I saw examples of running two models concurrently on dedicated desktop gpu's using tensorflow but i am not sure if its possible in tflite on android.

@pkgoogle
Copy link

Hi @B-JackMao, the GPU Delegate will automatically execute tasks in parallel. Please review the speed section of the description here: https://www.tensorflow.org/lite/performance/gpu . Of course depending on the nature of the tasks and the various dependencies it may or may not be easily parallelizable but the algorithm will try its best to. Let us know if that answers your question, thanks!

@pkgoogle pkgoogle added the stat:awaiting response Status - Awaiting response from author label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:lite TF Lite related issues stat:awaiting response Status - Awaiting response from author TFLiteGpuDelegate TFLite Gpu delegate issue
Projects
None yet
Development

No branches or pull requests

4 participants