Commit 34a71199 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.finetuning-scheduler: skip failing test

parent a79f1ad2
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"