Loading pkgs/development/python-modules/finetuning-scheduler/default.nix +2 −10 Original line number Diff line number Diff line Loading @@ -17,24 +17,16 @@ buildPythonPackage rec { pname = "finetuning-scheduler"; version = "2.9.0"; version = "2.9.1"; pyproject = true; src = fetchFromGitHub { owner = "speediedan"; repo = "finetuning-scheduler"; tag = "v${version}"; hash = "sha256-AfkrWuqpFS71Zrh5NsamzxMitKCsqPF50F9zTDdDhRg="; hash = "sha256-6v7KhY2dOc/Sbw85UO9KVDSS0+4DJ+VWrQ5Tg5E8Ddc="; }; # See https://github.com/speediedan/finetuning-scheduler/pull/21 postPatch = '' substituteInPlace src/finetuning_scheduler/strategy_adapters/base.py \ --replace-fail \ "from lightning.fabric.utilities.types import ReduceLROnPlateau" \ "from torch.optim.lr_scheduler import ReduceLROnPlateau" ''; build-system = [ setuptools ]; pythonRelaxDeps = [ Loading Loading
pkgs/development/python-modules/finetuning-scheduler/default.nix +2 −10 Original line number Diff line number Diff line Loading @@ -17,24 +17,16 @@ buildPythonPackage rec { pname = "finetuning-scheduler"; version = "2.9.0"; version = "2.9.1"; pyproject = true; src = fetchFromGitHub { owner = "speediedan"; repo = "finetuning-scheduler"; tag = "v${version}"; hash = "sha256-AfkrWuqpFS71Zrh5NsamzxMitKCsqPF50F9zTDdDhRg="; hash = "sha256-6v7KhY2dOc/Sbw85UO9KVDSS0+4DJ+VWrQ5Tg5E8Ddc="; }; # See https://github.com/speediedan/finetuning-scheduler/pull/21 postPatch = '' substituteInPlace src/finetuning_scheduler/strategy_adapters/base.py \ --replace-fail \ "from lightning.fabric.utilities.types import ReduceLROnPlateau" \ "from torch.optim.lr_scheduler import ReduceLROnPlateau" ''; build-system = [ setuptools ]; pythonRelaxDeps = [ Loading