From 33a6a3451b268378b3fd3cff4a5d276c6afae7e3 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 8 Apr 2025 15:20:05 +0200 Subject: [PATCH 1/2] python312Packages.huggingface-hub: 0.29.3 -> 0.30.2 Diff: https://github.com/huggingface/huggingface_hub/compare/refs/tags/v0.29.3...refs/tags/v0.30.2 Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v0.30.2 --- pkgs/development/python-modules/huggingface-hub/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index 33d2245a9806..923405a61efc 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -39,14 +39,14 @@ buildPythonPackage rec { pname = "huggingface-hub"; - version = "0.29.3"; + version = "0.30.2"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "huggingface_hub"; tag = "v${version}"; - hash = "sha256-zUI5awSEKJ4PuSdtRRe0XJCpr3KLLfI7R+dafUuzfRU="; + hash = "sha256-6nE6iKIC6ymI+NMOw/xQT4l5nshDyPdGI0YhqK7tQRE="; }; build-system = [ setuptools ]; @@ -93,7 +93,7 @@ buildPythonPackage rec { keras ]; hf_xet = [ - # hf-xet + # hf-xet (unpackaged) ]; }; From fbfd554f12736815180be8de73668909ae59b49e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 8 Apr 2025 15:21:15 +0200 Subject: [PATCH 2/2] python312Packages.transformers: 4.50.3 -> 4.51.1 Diff: https://github.com/huggingface/transformers/compare/refs/tags/v4.50.3...refs/tags/v4.51.1 Changelog: https://github.com/huggingface/transformers/releases/tag/v4.51.1 --- pkgs/development/python-modules/transformers/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index c1f45a688f4b..ec0b502b711c 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -58,14 +58,14 @@ buildPythonPackage rec { pname = "transformers"; - version = "4.50.3"; + version = "4.51.1"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "transformers"; tag = "v${version}"; - hash = "sha256-Qou5q7FZJJXO87lgMC5Qttfi5KJWCwuzG5icCEfgs0M="; + hash = "sha256-02HT0GAfEyGgqPvly7EPZX0loSeS2mJQNI87E8WbEGY="; }; build-system = [ setuptools ]; @@ -134,6 +134,9 @@ buildPythonPackage rec { flax optax ]; + hf_xet = [ + # hf-xet (unpackaged) + ]; tokenizers = [ tokenizers ]; ftfy = [ ftfy ]; onnxruntime = [