python3Packages.timm: 1.0.15 -> 1.0.16 (#420354)
This commit is contained in:
@@ -18,19 +18,18 @@
|
||||
expecttest,
|
||||
pytestCheckHook,
|
||||
pytest-timeout,
|
||||
pythonAtLeast,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "timm";
|
||||
version = "1.0.15";
|
||||
version = "1.0.16";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "pytorch-image-models";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TXc+D8GRrO46q88fOH44ZHKOGnCdP47ipEcobnGTxWU=";
|
||||
hash = "sha256-8z23KQvb+wAlM/IXDC9j6OV8ioZE1dx0xhITSzdHoeY=";
|
||||
};
|
||||
|
||||
build-system = [ pdm-backend ];
|
||||
@@ -51,20 +50,12 @@ buildPythonPackage rec {
|
||||
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
disabledTests =
|
||||
lib.optionals
|
||||
(
|
||||
# RuntimeError: Dynamo is not supported on Python 3.13+
|
||||
(pythonAtLeast "3.13")
|
||||
|
||||
# torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
|
||||
# CppCompileError: C++ compile error
|
||||
# OpenMP support not found.
|
||||
|| stdenv.hostPlatform.isDarwin
|
||||
)
|
||||
[
|
||||
"test_kron"
|
||||
];
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
|
||||
# CppCompileError: C++ compile error
|
||||
# OpenMP support not found.
|
||||
"test_kron"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Takes too long and also tries to download models
|
||||
|
||||
Reference in New Issue
Block a user