From cf3c8c3ddb1c74019ea7fc16be2bead6a5deee61 Mon Sep 17 00:00:00 2001 From: haixuantao Date: Mon, 26 May 2025 17:19:49 +0200 Subject: [PATCH] Downgrade transfromers version as of https://github.com/huggingface/transformers/issues/38283 --- node-hub/dora-qwen/pyproject.toml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/node-hub/dora-qwen/pyproject.toml b/node-hub/dora-qwen/pyproject.toml index c78728e9..bb93acd2 100644 --- a/node-hub/dora-qwen/pyproject.toml +++ b/node-hub/dora-qwen/pyproject.toml @@ -8,22 +8,22 @@ readme = "README.md" requires-python = ">=3.9" dependencies = [ - "dora-rs >= 0.3.9", - "torch == 2.4.0", - "torchvision >= 0.19", - "torchaudio >= 2.1.0", - "opencv-python >= 4.1.1", - "modelscope >= 1.18.1", - "accelerate>=1.3.0", - "transformers", - "mlx-lm>=0.21.1; sys_platform == 'darwin'", - "llama-cpp-python", + "dora-rs >= 0.3.9", + "torch == 2.4.0", + "torchvision >= 0.19", + "torchaudio >= 2.1.0", + "opencv-python >= 4.1.1", + "modelscope >= 1.18.1", + "accelerate>=1.3.0", + "transformers <= 4.52.2", + "mlx-lm>=0.21.1; sys_platform == 'darwin'", + "llama-cpp-python", ] [tool.uv.sources] llama-cpp-python = [ - { index = "llama_cpp_python_metal", marker = "sys_platform == 'darwin'" }, - { index = "llama_cpp_python_cu121", marker = "sys_platform == 'linux'" }, + { index = "llama_cpp_python_metal", marker = "sys_platform == 'darwin'" }, + { index = "llama_cpp_python_cu121", marker = "sys_platform == 'linux'" }, ] [dependency-groups]