"ctranslate2 SO Library Compilation Failure on Android, Seeking Solutions and Reference Steps"
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 536
- Avg merge
- 12h 12m
- Merged PRs (30d)
- 4
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, build command, or error log is named. Start by reproducing the Android compilation failure from the described PC-built SO workflow and identify the failing app build step. Done would require a confirmed compatible build path and reference steps for importing the quantized CTranslate2 model into Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp, python
- Domain
- build-system, machine-learning, mobile-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100