summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-03-16 18:00:31 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-03-16 18:50:37 +0100
commit6d848599d737dde228a1f7866dcc5d9bf43d5285 (patch)
tree25d74fa20070b75c4ee8841be7f4de8e30572ed7
parented32ed96331c213ebc2a0c579008f96efc89dcc9 (diff)
downloadnixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.tar
nixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.tar.gz
nixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.tar.bz2
nixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.tar.lz
nixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.tar.xz
nixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.tar.zst
nixpkgs-6d848599d737dde228a1f7866dcc5d9bf43d5285.zip
python3Packages.coqui-trainer: 0.0.4 -> 0.0.5
https://github.com/coqui-ai/Trainer/releases/tag/v0.0.5

Switch back to pytorch source build because of multiple torch packages
in the dependency set.

Tests are still not runnable for us, since they try to download test
data.
-rw-r--r--pkgs/development/python-modules/coqui-trainer/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/coqui-trainer/default.nix b/pkgs/development/python-modules/coqui-trainer/default.nix
index 5ff53b8eb75..de04e444e83 100644
--- a/pkgs/development/python-modules/coqui-trainer/default.nix
+++ b/pkgs/development/python-modules/coqui-trainer/default.nix
@@ -4,7 +4,7 @@
 
 , coqpit
 , fsspec
-, pytorch-bin
+, pytorch
 
 , pytestCheckHook
 , soundfile
@@ -14,7 +14,7 @@
 
 let
   pname = "coqui-trainer";
-  version = "0.0.4";
+  version = "0.0.5";
 in
 buildPythonPackage {
   inherit pname version;
@@ -23,21 +23,19 @@ buildPythonPackage {
   src = fetchFromGitHub {
     owner = "coqui-ai";
     repo = "Trainer";
-    # https://github.com/coqui-ai/Trainer/issues/4
-    rev = "776eba829231543d3207927fc69b321d121e527c";
-    hash = "sha256-ICveftJjBNsCgegTmd/ewd/Y6XGMg7YOvchx640RFPI=";
+    rev = "v${version}";
+    hash = "sha256-NsgCh+N2qWmRkTOjXqisVCP5aInH2zcNz6lsnIfVLiY=";
   };
 
   propagatedBuildInputs = [
     coqpit
     fsspec
-    pytorch-bin
+    pytorch
     soundfile
     tensorboardx
   ];
 
-  # tests are failing; tests require the clearml library
-  # https://github.com/coqui-ai/Trainer/issues/5
+  # only one test and that requires training data from the internet
   doCheck = false;
 
   checkInputs = [