From 9fc9e7dee9a0136e684a0ba8be7bd60c0a7023f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Thu, 26 Mar 2026 08:50:18 +0000 Subject: [PATCH 1/3] python3Packages.transformers: 4.57.3 -> 5.3.0 --- nix-builder/overlay.nix | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/nix-builder/overlay.nix b/nix-builder/overlay.nix index 4c451919..537fcb40 100644 --- a/nix-builder/overlay.nix +++ b/nix-builder/overlay.nix @@ -77,18 +77,20 @@ in else python-self.callPackage ./pkgs/python-modules/cuda-python { }; - huggingface-hub = python-super.huggingface-hub.overridePythonAttrs (old: rec { + huggingface-hub = python-super.huggingface-hub.overridePythonAttrs (prevAttrs: rec { version = "1.3.0"; src = python-super.fetchPypi { pname = "huggingface_hub"; inherit version; hash = "sha256-KJ4qNYb98B41iClE6qBvvVdDbeJLbmU9H6skhYSs1ms="; }; - dependencies = (old.dependencies or [ ]) ++ [ - python-self.httpx - python-self.shellingham - python-self.typer-slim - ]; + dependencies = + (prevAttrs.dependencies or [ ]) + ++ (with python-self; [ + httpx + shellingham + typer-slim + ]); # Skip tests since they require network access. doCheck = false; }); @@ -135,6 +137,19 @@ in xpuPackages = final.xpuPackages_2025_3; }; + transformers = python-super.transformers.overridePythonAttrs (prevAttrs: rec { + version = "5.3.0"; + src = python-super.fetchPypi { + pname = "transformers"; + inherit version; + hash = "sha256-AJVVs2QCnanilG1B8cXenxXmsd9GsYm3KT8zoWG5xVc="; + }; + + dependencies = (prevAttrs.dependencies or [ ]) ++ [ + python-self.typer + ]; + }); + triton-xpu_2_9 = callPackage ./pkgs/python-modules/triton-xpu { torchVersion = "2.9"; xpuPackages = final.xpuPackages_2025_2; From 4f2396469ed9bf9adb1d01422c56f63187621644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Thu, 26 Mar 2026 09:13:02 +0000 Subject: [PATCH 2/3] python3Packages.hf-xet: 1.2.0 -> 1.4.2 --- nix-builder/overlay.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nix-builder/overlay.nix b/nix-builder/overlay.nix index 537fcb40..3fdb1a2b 100644 --- a/nix-builder/overlay.nix +++ b/nix-builder/overlay.nix @@ -102,6 +102,27 @@ in } ); + hf-xet = python-super.hf-xet.overridePythonAttrs (prevAttrs: rec { + version = "1.4.2"; + src = final.fetchFromGitHub { + owner = "huggingface"; + repo = "xet-core"; + tag = "v${version}"; + hash = "sha256-UdHEpJztlVI8LPs8Ne9sKe1Nv3kVVk4YLxQ3W8sUPbQ="; + }; + cargoDeps = final.rustPlatform.fetchCargoVendor { + inherit (prevAttrs) + pname + sourceRoot + ; + inherit + version + src + ; + hash = "sha256-GV+XY5uV57yQWVGdRLpGU3eD8Gz2gy6p7OHlF+mlJI4="; + }; + }); + nvidia-cutlass-dsl = python-self.callPackage ./pkgs/python-modules/nvidia-cutlass-dsl { }; nvidia-cutlass-dsl-libs = python-self.callPackage ./pkgs/python-modules/nvidia-cutlass-dsl-libs { }; From e35c125741d290c3f0c55decbac00c1b5d666788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Thu, 26 Mar 2026 09:13:24 +0000 Subject: [PATCH 3/3] python3Packages.huggingface-hub: 1.3.0 -> 1.8.0 --- nix-builder/overlay.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix-builder/overlay.nix b/nix-builder/overlay.nix index 3fdb1a2b..3a54d39c 100644 --- a/nix-builder/overlay.nix +++ b/nix-builder/overlay.nix @@ -78,18 +78,18 @@ in python-self.callPackage ./pkgs/python-modules/cuda-python { }; huggingface-hub = python-super.huggingface-hub.overridePythonAttrs (prevAttrs: rec { - version = "1.3.0"; + version = "1.8.0"; src = python-super.fetchPypi { pname = "huggingface_hub"; inherit version; - hash = "sha256-KJ4qNYb98B41iClE6qBvvVdDbeJLbmU9H6skhYSs1ms="; + hash = "sha256-xWJ7L9Uh4Ayvjv9KyWW6mI6nUWf61+5y4X+bcYPsY/M="; }; dependencies = (prevAttrs.dependencies or [ ]) ++ (with python-self; [ httpx shellingham - typer-slim + typer ]); # Skip tests since they require network access. doCheck = false;