Merge pull request #312031 from GaetanLepage/timm

python311Packages.timm: 0.9.16 -> 1.0.3
This commit is contained in:
Nick Cao 2024-05-15 20:27:16 -04:00 committed by GitHub
commit 4102f0aead
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "timm";
version = "0.9.16";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.7";
@ -24,14 +24,14 @@ buildPythonPackage rec {
owner = "huggingface";
repo = "pytorch-image-models";
rev = "refs/tags/v${version}";
hash = "sha256-IWEDKuI2565Z07q1MxTpzKS+CROPR6SyaD5fKcQ5eXk=";
hash = "sha256-h2J1v2zXUMGRKBBqq+RnxrXKOzlD5RRrVoODWSuj9Ms=";
};
nativeBuildInputs = [
build-system = [
pdm-backend
];
propagatedBuildInputs = [
dependencies = [
huggingface-hub
pyyaml
safetensors
@ -64,11 +64,11 @@ buildPythonPackage rec {
"timm.data"
];
meta = with lib; {
meta = {
description = "PyTorch image models, scripts, and pretrained weights";
homepage = "https://huggingface.co/docs/timm/index";
changelog = "https://github.com/huggingface/pytorch-image-models/blob/v${version}/README.md#whats-new";
license = licenses.asl20;
maintainers = with maintainers; [ bcdarwin ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}