Browse Source

fix outetts pyproject issue with metal flag for llama-cpp-python

tags/v0.3.9-rc1
haixuantao 11 months ago
parent
commit
8358e3a0f9
2 changed files with 11 additions and 3 deletions
  1. +1
    -1
      examples/vlm/qwen2-5-vl-vision-only-dev.yml
  2. +10
    -2
      node-hub/dora-outtetts/pyproject.toml

examples/vlm/qwen2-5-vl-vision-only.yml → examples/vlm/qwen2-5-vl-vision-only-dev.yml View File

@@ -7,7 +7,7 @@ nodes:
outputs:
- image
env:
CAPTURE_PATH: 1
CAPTURE_PATH: 0

- id: dora-qwenvl
build: pip install -e ../../node-hub/dora-qwen2-5-vl

+ 10
- 2
node-hub/dora-outtetts/pyproject.toml View File

@@ -5,18 +5,26 @@ authors = []
description = "dora-outtetts"
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.9"

dependencies = [
"dora-rs >= 0.3.6",
"numpy < 2.0.0",
"pyarrow >= 5.0.0",
"outetts >= 0.2.3",
"llama-cpp-python >= 0.3.5",
"llama-cpp-python",
]

[dependency-groups]
dev = ["pytest >=8.1.1", "ruff >=0.9.1"]

[tool.uv.sources]
llama-cpp-python = [
{ marker = "sys_platform == 'darwin' and python_version == '3.9'", url = "https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.5-metal/llama_cpp_python-0.3.5-cp39-cp39-macosx_11_0_arm64.whl" },
{ marker = "sys_platform == 'darwin' and python_version == '3.10'", url = "https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.5-metal/llama_cpp_python-0.3.5-cp310-cp310-macosx_11_0_arm64.whl" },
{ marker = "sys_platform == 'darwin' and python_version == '3.11'", url = "https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.5-metal/llama_cpp_python-0.3.5-cp311-cp311-macosx_11_0_arm64.whl" },
{ marker = "sys_platform == 'darwin' and python_version == '3.12'", url = "https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.5-metal/llama_cpp_python-0.3.5-cp312-cp312-macosx_11_0_arm64.whl" },
]

[project.scripts]
dora-outtetts = "dora_outtetts.main:main"

Loading…
Cancel
Save