Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

51 lines
979 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
wheel,
# dependencies
beartype,
einops,
torch,
}:
buildPythonPackage rec {
pname = "rotary-embedding-torch";
version = "0.8.6";
pyproject = true;
src = fetchFromGitHub {
owner = "lucidrains";
repo = "rotary-embedding-torch";
tag = version;
hash = "sha256-4/vKf5RwWbiFYKCQo4kAQzXLM85L4CwaL/MR7/xTkH8=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
beartype
einops
torch
];
pythonImportsCheck = [ "rotary_embedding_torch" ];
doCheck = false; # no tests
meta = with lib; {
description = "Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch";
homepage = "https://github.com/lucidrains/rotary-embedding-torch";
changelog = "https://github.com/lucidrains/rotary-embedding-torch/releases/tag/${version}";
license = licenses.mit;
teams = [ teams.tts ];
};
}