Gaetan Lepage 2024-06-19 09:15:51 +02:00
parent 4eb5dacee9
commit fba47afd2d

View File

@ -5,6 +5,7 @@
fetchFromGitHub,
pdm-backend,
huggingface-hub,
numpy,
pyyaml,
safetensors,
torch,
@ -16,22 +17,23 @@
buildPythonPackage rec {
pname = "timm";
version = "1.0.3";
version = "1.0.7";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "huggingface";
repo = "pytorch-image-models";
rev = "refs/tags/v${version}";
hash = "sha256-h2J1v2zXUMGRKBBqq+RnxrXKOzlD5RRrVoODWSuj9Ms=";
hash = "sha256-0o88gOZvHXblGPwyRIz2D3sD7wdg0J0knrAFlognEOY=";
};
build-system = [ pdm-backend ];
dependencies = [
huggingface-hub
numpy
pyyaml
safetensors
torch