diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-08-03 03:03:21 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-08-03 03:04:21 +0200 |
commit | 24c0ba0ffcce19a168a61bac47c96d7d7e9e930e (patch) | |
tree | 0cba16b124a6f5fe0642fb1c4f4bcecb8aee618e /pkgs/development | |
parent | 1fd038e11b125b86dec15dcff8446422f3619241 (diff) |
piper-train: move to top-level and mark broken
Requires torch<2, which is difficult to provide in an override, so I'd rather wait until they catch up.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/piper-train/default.nix | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/pkgs/development/python-modules/piper-train/default.nix b/pkgs/development/python-modules/piper-train/default.nix deleted file mode 100644 index 3adb94c8f2291..0000000000000 --- a/pkgs/development/python-modules/piper-train/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ buildPythonPackage -, piper-tts - -# build -, cython -, python - -# propagates -, espeak-phonemizer -, librosa -, numpy -, onnxruntime -, piper-phonemize -, pytorch-lightning -, torch -}: - -buildPythonPackage { - inherit (piper-tts) version src meta; - - pname = "piper-train"; - format = "setuptools"; - - sourceRoot = "source/src/python"; - - nativeBuildInputs = [ - cython - ]; - - postPatch = '' - substituteInPlace requirements.txt \ - --replace "onnxruntime~=1.11.0" "onnxruntime" \ - --replace "pytorch-lightning~=1.7.0" "pytorch-lightning" \ - --replace "torch~=1.11.0" "torch" - ''; - - postBuild = '' - make -C piper_train/vits/monotonic_align - ''; - - postInstall = '' - export MONOTONIC_ALIGN=$out/${python.sitePackages}/piper_train/vits/monotonic_align/monotonic_align - mkdir -p $MONOTONIC_ALIGN - cp -v ./piper_train/vits/monotonic_align/piper_train/vits/monotonic_align/core.*.so $MONOTONIC_ALIGN/ - ''; - - propagatedBuildInputs = [ - espeak-phonemizer - librosa - numpy - onnxruntime - piper-phonemize - pytorch-lightning - torch - ]; - - pythonImportsCheck = [ - "piper_train" - ]; - - doCheck = false; # no tests -} |