python310Packages.encodec: init at 0.1.1
EnCodec: High Fidelity Neural Audio Compression
This commit is contained in:
parent
2687680f22
commit
36af4adf9d
43
pkgs/development/python-modules/encodec/default.nix
Normal file
43
pkgs/development/python-modules/encodec/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# dependencies
|
||||
, einops
|
||||
, numpy
|
||||
, torch-bin
|
||||
, torchaudio-bin
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "encodec";
|
||||
version = "0.1.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebookresearch";
|
||||
repo = "encodec";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+iJZkX1HoyuNFu9VRxMO6aAzNQybkH9lrQJ5Ao9+/CY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
einops
|
||||
numpy
|
||||
torch-bin
|
||||
torchaudio-bin
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "encodec" ];
|
||||
|
||||
# requires model data from the internet
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "State-of-the-art deep learning based audio codec supporting both mono 24 kHz audio and stereo 48 kHz audio";
|
||||
homepage = "https://github.com/facebookresearch/encodec";
|
||||
changelog = "https://github.com/facebookresearch/encodec/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -3260,6 +3260,8 @@ self: super: with self; {
|
||||
|
||||
enamlx = callPackage ../development/python-modules/enamlx { };
|
||||
|
||||
encodec = callPackage ../development/python-modules/encodec { };
|
||||
|
||||
energyflip-client = callPackage ../development/python-modules/energyflip-client { };
|
||||
|
||||
energyflow = callPackage ../development/python-modules/energyflow { };
|
||||
|
Loading…
Reference in New Issue
Block a user