OpenNMT / OpenNMT/CTranslate2

"ctranslate2 SO Library Compilation Failure on Android, Seeking Solutions and Reference Steps"

Open
#1,848 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.