browsermt / bergamot-translator

Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.
http://browser.mt
Mozilla Public License 2.0
327 stars 36 forks source link

Android ARM-64 Build #422

Closed jerinphilip closed 1 year ago

jerinphilip commented 2 years ago

Adds a CI using Android NDK and changes to CMakeLists.txt to build on Android.

PRs to be merged before this:

Issues:

jerinphilip commented 2 years ago

https://github.com/browsermt/marian-dev/commit/3a6c51516670eaca3e841ccb76840208091f3278

[2022-06-15 10:35:46] [data] Lexical short list firstNum 50 and bestNum 50
[2022-06-15 10:35:46] gemm-precision: *shifted* is not available on ARM; Setting to false.
[2022-06-15 10:35:46] [memory] Extending reserved space to 2048 MB (device cpu0)
[2022-06-15 10:35:46] Loaded model config
[2022-06-15 10:35:46] Loading scorer of type transformer as feature F0
[2022-06-15 10:35:47] [memory] Reserving 31 MB, device cpu0
[2022-06-15 10:35:47] [memory] Reserving 8 MB, device cpu0
[2022-06-15 10:35:47] Best translation 0 : Hallo Welt!
Hallo Welt!
[2022-06-15 10:35:47] Total time: 0.02579s wall
XapaJIaMnu commented 1 year ago

superseded by #443