Idea: Add CoreML / Apple Neural Engine backend
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 536
- Avg merge
- 12h 12m
- Merged PRs (30d)
- 4
Description
I don't know anything about CoreML other than the fact that the Neural Engine is very well optimized on Apple's devices. I'm writing this as an idea. Would it be possible to introduce this backend?
I know that Apple has its own CoreML Transformer implementations, and that similar support has been recently added to whisper.cpp, where it brought a significant performance improvement.
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
The issue names no files, tests, or entry points. Start by determining how a CoreML or Apple Neural Engine backend would fit CTranslate2 and compare it with the linked whisper.cpp work; done would require a defined implementation scope and validation of the claimed performance benefit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ios
- Domain
- backend, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100