-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Correct parameter for cross compile for ARM Android ? #8
Comments
Hi, I found a way to compile with following
Top from other terminal show below :
Result is : Hardware: Samsung A31 recording length: 120 s total time: ggml-base.bin : 160 sec According to https://www.gsmarena.com/samsung_galaxy_a31-10149.php this phone have GPU,
|
Congrats! You might very well be the first person ever to run whisper on a mobile device 😄 For the large model you need to have about 5GB memory. From the My implementation does not use GPU - it runs fully on the CPU. I don't plan on supporting GPUs for now, so we won't be able to benefit from that. The rpi-4 branch was a quick hack to make it run on my RPi4 that I have at home. I think it might be possible to improve the performance by properly implementing SIMD routines that are efficient for the Android Arm architecture. Need some investigation on that. Also, there is a bug in the FFT function on the rpi-4 branch that makes the transcription worse, especially for the smaller models. I have fixed this on Anyway - glad to hear that at least it works! P.S. Maybe try different number of threads and see how it affects the performance: |
* fix: more-itertools name in requirements.txt * feature: minimal environment.yml for conda * Revert "feature: minimal environment.yml for conda" This reverts commit 8fd7438b368b0eb5df85f667fea911f293fa5e6d. Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
What is correct parameter for cross compile for ARM Android ? I'm using Intel Ubuntu , android-ndk-r25b
The text was updated successfully, but these errors were encountered: