LocalAI icon indicating copy to clipboard operation
LocalAI copied to clipboard

feature: support CTranslate2

Open mudler opened this issue 2 years ago • 3 comments

Among the backends that we already have, we should consider also ctransformers2 which is high performance: https://opennmt.net/CTranslate2/generation.html besides #796

mudler avatar Jul 30 '23 13:07 mudler

:warning::warning::warning::warning::warning:

Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!

but.... I can also be funny or helpful :smile_cat: and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.

Don't engage in conversation with me, I don't support (yet) replying!

:warning::warning::warning::warning::warning:

Great suggestion! We can definitely consider adding support for ctransformers2 as it seems to be a powerful backend. I will add this to our short-term roadmap and we will investigate the feasibility of implementing it. Thank you for bringing this up!

Sources:

  • https://localai.io/index.html
  • https://localai.io/model-compatibility/index.html
  • https://localai.io/basics/news/index.html

localai-bot avatar Jul 30 '23 14:07 localai-bot

@mudler Show more detail please. Do you mean we use it on Text generation or encode?

Aisuko avatar Nov 05 '23 02:11 Aisuko

@mudler Show more detail please. Do you mean we use it on Text generation or encode?

I think for Speech-to-text usage with e.g. Systran/faster-whisper-large-v3 model. It could be another backend for Audio to text besides whisper.cpp

bgeneto avatar Jun 26 '25 00:06 bgeneto