Commit 1dceef4c authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent 7f40e21d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -23,14 +23,14 @@

buildPythonPackage (finalAttrs: {
  pname = "timm";
  version = "1.0.25";
  version = "1.0.26";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "huggingface";
    repo = "pytorch-image-models";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ulF94vSc4DQjVH6kZ+wFsrdmGRK+zpRk2ImWuF46xwE=";
    hash = "sha256-pbzDoNRRwz41b4X40yBp7oTcJ2e/Y2dKyj9XbEX5c34=";
  };

  build-system = [ pdm-backend ];
@@ -59,6 +59,10 @@ buildPythonPackage (finalAttrs: {
      # AttributeError: 'LsePlus2d' object has no attribute '__annotations__'. Did you mean: '__annotate_func__'?
      "test_torchscript"
    ]
    ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
      # assert nan < 71.5658950805664
      "test_optim_factory"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
      # CppCompileError: C++ compile error