Skip to content

Commit

Permalink
Merge pull request #314032 from r-ryantm/auto-update/python311Package…
Browse files Browse the repository at this point in the history
…s.pytorch-lightning

python311Packages.pytorch-lightning: 2.2.4 -> 2.2.5
  • Loading branch information
wegank committed Jun 2, 2024
2 parents 822ce18 + 1de24ea commit 74bbe63
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pkgs/development/python-modules/pytorch-lightning/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
fsspec,
lightning-utilities,
numpy,
packaging,
pyyaml,
setuptools,
tensorboardx,
torch,
torchmetrics,
Expand All @@ -21,21 +21,23 @@

buildPythonPackage rec {
pname = "pytorch-lightning";
version = "2.2.4";
format = "pyproject";
version = "2.2.5";
pyproject = true;

src = fetchFromGitHub {
owner = "Lightning-AI";
repo = "pytorch-lightning";
rev = "refs/tags/${version}";
hash = "sha256-IkoSID7nEPbKrhEMlo/UaMcF80HYldvndFA54DoHT+M=";
hash = "sha256-2O6Gr9BdjI/WTU0+KTfOQG31xzHyBeqxGv97f3WxUMs=";
};

preConfigure = ''
export PACKAGE_NAME=pytorch
'';

propagatedBuildInputs = [
build-system = [ setuptools ];

dependencies = [
fsspec
numpy
packaging
Expand All @@ -61,7 +63,8 @@ buildPythonPackage rec {

meta = with lib; {
description = "Lightweight PyTorch wrapper for machine learning researchers";
homepage = "https://pytorch-lightning.readthedocs.io";
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 ];
};
Expand Down

0 comments on commit 74bbe63

Please sign in to comment.