From 0b1f8a056754cc1684a7b71ed33e1ff67e48ca13 Mon Sep 17 00:00:00 2001 From: jrp2014 Date: Sat, 11 Apr 2026 18:13:59 +0100 Subject: [PATCH 1/3] Update nanobind version to v2.12.0 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e315c160a8..b4a2d652d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -348,7 +348,7 @@ if(MLX_BUILD_PYTHON_BINDINGS) FetchContent_Declare( nanobind GIT_REPOSITORY https://github.com/wjakob/nanobind.git - GIT_TAG v2.10.2 + GIT_TAG v2.12.0 GIT_SHALLOW TRUE EXCLUDE_FROM_ALL) FetchContent_MakeAvailable(nanobind) From c8a575b5ea9c7b7f3d797238f4636572280942f6 Mon Sep 17 00:00:00 2001 From: jrp2014 Date: Tue, 14 Apr 2026 10:42:12 +0100 Subject: [PATCH 2/3] Update requirements.txt --- examples/extensions/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/extensions/requirements.txt b/examples/extensions/requirements.txt index 2fa00ac5c0..5cce5efb85 100644 --- a/examples/extensions/requirements.txt +++ b/examples/extensions/requirements.txt @@ -1,4 +1,4 @@ setuptools>=42 cmake>=3.25 mlx>=0.21.0 -nanobind==2.10.2 +nanobind==2.12.0 From e18061fb4a056f6f9b90e0d6fe4e4913c54e1175 Mon Sep 17 00:00:00 2001 From: jrp2014 Date: Tue, 14 Apr 2026 10:43:06 +0100 Subject: [PATCH 3/3] Update pyproject.toml --- examples/extensions/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/extensions/pyproject.toml b/examples/extensions/pyproject.toml index 4052340785..3f8c0652dd 100644 --- a/examples/extensions/pyproject.toml +++ b/examples/extensions/pyproject.toml @@ -3,6 +3,6 @@ requires = [ "setuptools>=42", "cmake>=3.25", "mlx>=0.18.0", - "nanobind==2.10.2", + "nanobind==2.12.0", ] build-backend = "setuptools.build_meta"