From 0856fa8c94f8e99d72d8c712c15072c00872a1b9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 9 Aug 2024 12:09:16 +0200 Subject: [PATCH 1/2] python312Packages.pytorch-lightning: 2.3.3 -> 2.4.0 Diff: https://github.com/Lightning-AI/pytorch-lightning/compare/refs/tags/2.3.3...2.4.0 Changelog: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/refs/tags/2.4.0 --- .../pytorch-lightning/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index bcea697b8325..116997ceb8e4 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -2,12 +2,16 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system + setuptools, + + # dependencies fsspec, lightning-utilities, numpy, packaging, pyyaml, - setuptools, tensorboardx, torch, torchmetrics, @@ -21,14 +25,14 @@ buildPythonPackage rec { pname = "pytorch-lightning"; - version = "2.3.3"; + version = "2.4.0"; pyproject = true; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "pytorch-lightning"; rev = "refs/tags/${version}"; - hash = "sha256-JgT+OiBToBBa3h556gF+kmcqLKLaK17tlTPokvEDyUE="; + hash = "sha256-FngD3nYTGVEjS1VrXAVps2/B8VlS7BZMDAsmIDtAyW0="; }; preConfigure = '' @@ -39,12 +43,12 @@ buildPythonPackage rec { dependencies = [ fsspec + lightning-utilities numpy packaging pyyaml tensorboardx torch - lightning-utilities torchmetrics tqdm traitlets @@ -61,11 +65,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "pytorch_lightning" ]; - meta = with lib; { + meta = { description = "Lightweight PyTorch wrapper for machine learning researchers"; homepage = "https://github.com/Lightning-AI/pytorch-lightning"; changelog = "https://github.com/Lightning-AI/pytorch-lightning/releases/tag/${src.rev}"; - license = licenses.asl20; - maintainers = with maintainers; [ tbenst ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ tbenst ]; }; } From eff5dec62ab9895346b77818a00f7cc70aea89fe Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 15 Aug 2024 22:46:36 +0200 Subject: [PATCH 2/2] python312Packages.finetuning-scheduler: 2.3.3 -> 2.4.0 Diff: https://github.com/speediedan/finetuning-scheduler/compare/refs/tags/v2.3.3...v2.4.0 Changelog: https://github.com/speediedan/finetuning-scheduler/blob/refs/tags/v2.4.0/CHANGELOG.md --- .../python-modules/finetuning-scheduler/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/finetuning-scheduler/default.nix b/pkgs/development/python-modules/finetuning-scheduler/default.nix index d4a2752c8ea3..0ff7318f0bb3 100644 --- a/pkgs/development/python-modules/finetuning-scheduler/default.nix +++ b/pkgs/development/python-modules/finetuning-scheduler/default.nix @@ -12,16 +12,16 @@ buildPythonPackage rec { pname = "finetuning-scheduler"; - version = "2.3.3"; + version = "2.4.0"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "speediedan"; repo = "finetuning-scheduler"; rev = "refs/tags/v${version}"; - hash = "sha256-Nci+NcfcaZV3NH3MTCyr8PwPdDykJTdq8+CmtngWdiM="; + hash = "sha256-uSFGZseSJv519LpaddO6yP6AsIMZutEA0Y7Yr+mEWTQ="; }; build-system = [ setuptools ];