python3Packages.timm: 1.0.25 -> 1.0.26 (#502862)

This commit is contained in:
Nick Cao
2026-03-24 20:34:14 +00:00
committed by GitHub
@@ -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