Browse Source

Downgrade transfromers version as of https://github.com/huggingface/transformers/issues/38283

tags/v0.3.12-rc0
haixuantao 8 months ago
parent
commit
cf3c8c3ddb
1 changed files with 12 additions and 12 deletions
  1. +12
    -12
      node-hub/dora-qwen/pyproject.toml

+ 12
- 12
node-hub/dora-qwen/pyproject.toml View File

@@ -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]


Loading…
Cancel
Save