OpenNMT / OpenNMT/CTranslate2

Is possible port it to WASM?

Open
#528 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
4.7k
Forks
536
Avg merge
12h 12m
Merged PRs (30d)
4

Description

Hi, in other issue to me say that probably i should will compile CTranslate2 to WASM

Source https://github.com/LibreTranslate/LibreTranslate/issues/120#issuecomment-888676870

I here because at this time i don't know how work CTranslate2 and see in README that it use GPU, then i have question.

Is possible use CTranslate2 for WASM or it will work not performant or even not work due to GPU bound?

What you think about it?

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

The issue mentions the README and CTranslate2's GPU usage but names no source files or tests. Start by reviewing the README and the linked LibreTranslate discussion, then determine whether CTranslate2 can compile and run under WASM and what GPU or performance constraints apply. Done means a supported feasibility conclusion with the relevant constraints documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.