13 , rotary-embedding-torch
25 buildPythonPackage rec {
26 pname = "k-diffusion";
28 format = "setuptools";
30 disabled = pythonOlder "3.7";
32 src = fetchFromGitHub {
35 rev = "refs/tags/v${version}";
36 hash = "sha256-ef4NhViHQcV+4T+GXpg+Qev5IC0Cid+XWE3sFVx7w4w=";
39 propagatedBuildInputs = [
48 rotary-embedding-torch
60 pythonImportsCheck = [
68 description = "Karras et al. (2022) diffusion models for PyTorch";
69 homepage = "https://github.com/crowsonkb/k-diffusion";
70 license = licenses.mit;
71 maintainers = teams.tts.members;