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

Performance on a GPU is slower than on CPU on Android #212

Open
hristorv opened this issue May 23, 2023 · 5 comments
Open

Performance on a GPU is slower than on CPU on Android #212

hristorv opened this issue May 23, 2023 · 5 comments

Comments

@hristorv
Copy link

I have tested both the CPU and the GPU versions in the newest version 2.0 with zipformer model and the performance on the GPU is far slower than on the CPU. I am doing something wrong? Do I need to change some of the settings? I am assuming that the GPU should be faster than the CPU version.

@csukuangfj
Copy link
Collaborator

How did you test it?

@hristorv
Copy link
Author

I've added my own RTF and for the CPU it is around 0.4 and for the GPU it is more than 1. I've played with all configurations and i have not seen any difference?

@spianmo
Copy link
Contributor

spianmo commented May 30, 2023

我已经在最新版本 2.0 中使用 zipformer 模型测试了 CPU 和 GPU 版本,GPU 的性能远低于 CPU。我做错了什么?我需要更改某些设置吗?我假设 GPU 应该比 CPU 版本快。

I also have the same problem

@danpovey
Copy link
Collaborator

It's possible that the GPUs on some of these handheld devices are designed more to reduce power consumption than to make things faster?

@spianmo
Copy link
Contributor

spianmo commented May 30, 2023

It's possible that the GPUs on some of these handheld devices are designed more to reduce power consumption than to make things faster?

May be NCNN vulkan efficiency problem

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

4 participants