ctranslate2: 3.18.0 -> 3.20.0

https://github.com/OpenNMT/CTranslate2/blob/v3.20.0/CHANGELOG.md
This commit is contained in:
Martin Weinelt 2023-09-24 02:49:16 +02:00
parent 486f61a0d9
commit 198884d46f
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -10,6 +10,10 @@
, withOneDNN ? false, oneDNN
, withOpenblas ? true, openblas
, withRuy ? true
# passthru tests
, libretranslate
, wyoming-faster-whisper
}:
let
@ -17,13 +21,13 @@ let
in
stdenv.mkDerivation rec {
pname = "ctranslate2";
version = "3.18.0";
version = "3.20.0";
src = fetchFromGitHub {
owner = "OpenNMT";
repo = "CTranslate2";
rev = "v${version}";
hash = "sha256-ipCUiCyWubKTUB0jDOsRN+DSg3S84hbj8Xum/2NsrKc=";
hash = "sha256-PdCjzLyc5O1rrTtPz8JD08unY7uMNS5fcD3ZLHJDeYg=";
fetchSubmodules = true;
};
@ -57,6 +61,13 @@ stdenv.mkDerivation rec {
darwin.apple_sdk.frameworks.CoreVideo
];
passthru.tests = {
inherit
libretranslate
wyoming-faster-whisper
;
};
meta = with lib; {
description = "Fast inference engine for Transformer models";
homepage = "https://github.com/OpenNMT/CTranslate2";