Unverified Commit ae14de49 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.pytorch-lightning: 2.5.2 -> 2.5.3 (#433497)

parents f0f48314 34a71199
Loading
Loading
Loading
Loading
+22 −17
Original line number Diff line number Diff line
@@ -58,8 +58,13 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];
  enabledTestPaths = [ "tests" ];
  disabledTests =
    lib.optionals (pythonOlder "3.12") [
  disabledTests = [
    # Fails since pytorch-lightning was bumped to 2.5.3
    # IndexError: list index out of range
    # https://github.com/speediedan/finetuning-scheduler/issues/19
    "test_fts_misconfiguration"
  ]
  ++ lib.optionals (pythonOlder "3.12") [
    # torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
    # LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
    "test_fts_dynamo_enforce_p0"
+2 −2
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@

buildPythonPackage rec {
  pname = "pytorch-lightning";
  version = "2.5.2";
  version = "2.5.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Lightning-AI";
    repo = "pytorch-lightning";
    tag = version;
    hash = "sha256-zYPjMahC8/9uYomzSFMbswJoh+CcBsnO0h4pkgCxIcQ=";
    hash = "sha256-xLm8t1A6mwIyX5WCkhdt9D9/PsomkSTCAxIGBQlFGxY=";
  };

  preConfigure = ''