CTranslate2 Fork v4.5.1
Highlights:
- Drop-in Replacement für das Original OpenNMT/CTranslate2
- Das Python-Wheel enthält jetzt die native libctranslate2*.dylib
- Nach Installation via
pipoderrequirements.txtfunktioniertimport ctranslate2sofort - MPS/Apple Silicon wird nativ unterstützt – keine manuellen Schritte oder Kopieren von .dylib mehr nötig
Installation
In requirements.txt:
ctranslate2 @ [https://github.com/NADOOIT/CTranslate2/releases/download/v4.5.1/ctranslate2-4.5.1-cp312-cp312-macosx_14_0_arm64.whl](https://github.com/NADOOIT/CTranslate2/releases/download/v4.5.1/ctranslate2-4.5.1-cp312-cp312-macosx_14_0_arm64.whl)pip install https://github.com/NADOOIT/CTranslate2/releases/download/v4.5.1/ctranslate2-4.5.1-cp312-cp312-macosx_14_0_arm64.whlTest:
import ctranslate2
print(ctranslate2.__version__)
# Ausgabe: 4.5.1