You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I compile a ctranslate2 SO library to run on Android? I have already compiled a model using opennmt-py and quantized the model with ctranslate2. Now I want to import the quantized model into Android. The difficulty I'm facing is that I don't know why the compilation of the app on Android fails after compiling the SO on my PC. Can you provide a reference?
The text was updated successfully, but these errors were encountered:
I built libctranslate2.so to access from rust code so I wrote simple unsafe shim header and its implementation, but for android project with C++, you may not need one. Therefore, you need to integrate built SO file with your app depending on your codebase.
How do I compile a ctranslate2 SO library to run on Android? I have already compiled a model using opennmt-py and quantized the model with ctranslate2. Now I want to import the quantized model into Android. The difficulty I'm facing is that I don't know why the compilation of the app on Android fails after compiling the SO on my PC. Can you provide a reference?
The text was updated successfully, but these errors were encountered: