ctranslate2: 3.18.0 -> 3.20.0
https://github.com/OpenNMT/CTranslate2/blob/v3.20.0/CHANGELOG.md
This commit is contained in:
parent
486f61a0d9
commit
198884d46f
1 changed files with 13 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue