From e5d781d5b9cbfe149d732bd471ff8b294fe0ce50 Mon Sep 17 00:00:00 2001 From: Qubitium-ModelCloud Date: Tue, 27 May 2025 17:31:58 +0800 Subject: [PATCH] update pyo3 and rust-numpy depends for no-gil/free-threading compat (#1774) Signed-off-by: root Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> --- bindings/python/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index d6e11712..fa937f13 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -14,7 +14,7 @@ serde = { version = "1.0", features = ["rc", "derive"] } serde_json = "1.0" libc = "0.2" env_logger = "0.11" -pyo3 = { version = "0.24", features = ["abi3", "abi3-py39", "py-clone"] } +pyo3 = { version = "0.24.2", features = ["abi3", "abi3-py39", "py-clone"] } numpy = "0.24" ndarray = "0.16" itertools = "0.12" @@ -24,7 +24,7 @@ path = "../../tokenizers" [dev-dependencies] tempfile = "3.10" -pyo3 = { version = "0.24", features = ["auto-initialize"] } +pyo3 = { version = "0.24.2", features = ["auto-initialize"] } [features] default = ["pyo3/extension-module"]