13 , rotary-embedding-torch
25 buildPythonPackage rec {
26 pname = "k-diffusion";
27 version = "0.1.1.post1";
28 format = "setuptools";
30 disabled = pythonOlder "3.7";
32 src = fetchFromGitHub {
35 rev = "refs/tags/v${version}";
36 hash = "sha256-x/UHzobQv5ov0luUHqC8OA5YbtF+aWL39/SQtzTm0RM=";
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;