Releases: NADOOIT/CTranslate2
Releases · NADOOIT/CTranslate2
CTranslate2 Fork v4.5.1 – Drop-in macOS Wheel mit nativer MPS-Unterstützung
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.1CTranslate2 Fork v4.5.0 – macOS Universal2 Wheel & Source Release (Drop-in Replacement)
CTranslate2 Fork v4.5.0
Highlights:
- Drop-in Replacement für das Original OpenNMT/CTranslate2
- Fertig gebautes macOS Universal2 Wheel (
.whl) und Source-Archiv (.tar.gz) - Alle nativen Komponenten und Submodules enthalten
- Direkt via
requirements.txtoderpip installnutzbar – kein manuelles Klonen oder Submodule-Init nötig
Installation
Im Projekt-requirements.txt:
ctranslate2 @ [https://github.com/NADOOIT/CTranslate2/releases/download/v4.5.0/ctranslate2-4.5.0-cp39-cp39-macosx_11_0_universal2.whl](https://github.com/NADOOIT/CTranslate2/releases/download/v4.5.0/ctranslate2-4.5.0-cp39-cp39-macosx_11_0_universal2.whl)
Oder direkt installieren:
pip install https://github.com/NADOOIT/CTranslate2/releases/download/v4.5.0/ctranslate2-4.5.0-cp39-cp39-macosx_11_0_universal2.whl
Import-Test:
import ctranslate2
print(ctranslate2.__version__)
# Ausgabe: 4.5.0
Hinweise
Dieses Release ist speziell für macOS (Universal2, arm64 + x86_64).
Das Python-Binding und alle nativen Bibliotheken sind enthalten.
Für andere Plattformen bitte selbst bauen oder ein entsprechendes Release anfragen.
Build-Details
Enthält alle Submodules (spdlog, ruy, googletest etc.)
Gebaut mit Python 3.9 & 3.12, macOS 11.0+
Kompatibel mit Apple Silicon (M1/M2) und Intel Macs
Feedback, Issues und Feature-Wünsche gerne als GitHub Issue!