lenML / Speech-AI-Forge

🍦 Speech-AI-Forge is a project developed around TTS generation model, implementing an API Server and a Gradio-based WebUI.
https://huggingface.co/spaces/lenML/ChatTTS-Forge
GNU Affero General Public License v3.0
711 stars 87 forks source link

新的 requirements.dev.txt 测试发现,Python 版本和 安装包混乱 不知道是不是个例 #55

Closed WangLaoShi closed 3 months ago

WangLaoShi commented 3 months ago

阅读 README.md 和 dependencies.md

检索 issue 和 discussion

检查 Forge 版本

你的issues

ERROR: Ignored the following versions that require a different python version: 3.3 Requires-Python >=3.10; 3.3rc0 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement networkx==3.3 (from versions: 0.34, 0.35, 0.35.1, 0.36, 0.37, 0.99, 1.0rc1, 1.0, 1.0.1, 1.1, 1.2rc1, 1.2, 1.3rc1, 1.3, 1.4rc1, 1.4, 1.5rc1, 1.5, 1.6rc1, 1.6, 1.7rc1, 1.7, 1.8rc1, 1.8, 1.8.1, 1.9rc1, 1.9, 1.9.1, 1.10rc2, 1.10, 1.11rc1, 1.11rc2, 1.11, 2.0, 2.1, 2.2rc1, 2.2, 2.3rc3, 2.3rc4, 2.3, 2.4rc1, 2.4rc2, 2.4, 2.5rc1, 2.5, 2.5.1, 2.6rc1, 2.6rc2, 2.6, 2.6.1, 2.6.2, 2.6.3, 2.7rc1, 2.7, 2.7.1, 2.8rc1, 2.8, 2.8.1rc1, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.8.7, 2.8.8, 3.0b1, 3.0rc1, 3.0, 3.1rc0, 3.1, 3.2rc0, 3.2, 3.2.1)
ERROR: No matching distribution found for networkx==3.3
WangLaoShi commented 3 months ago

M1 下 Python 3.11.9 出现的问题

LawsonShot20240617PMAL8ZpsF0

nvidia-cublas-cu12 系列安装会出现问题。

LawsonShot20240617PMins5SnAY

triton==2.1.0 安装会出现问题。

WangLaoShi commented 3 months ago

M1 Python 3.10.14 下安装

WangLaoShi commented 3 months ago

M1 Python 3.9.19 安装

ERROR: No matching distribution found for networkx==3.3 出现问题

WangLaoShi commented 3 months ago

LawsonShot20240617PM4wyeZHiN

WangLaoShi commented 3 months ago

结论

有可能是作者的一个开发环境的库的版本的导出。建议不要使用。可以在 requirements.txt 中 修改 numpy==1.26.4 就好

WangLaoShi commented 3 months ago

测试的 Mac M1 的标准化安装步骤,从一个空环境开始

  1. 创建虚拟环境,指定 Python 版本 3.10
  2. pip install -r requirements.txt 其中 将 numpy 修改为 numpy==1.26.4
  3. 安装 modelscopepip install modelscope
  4. 执行模型下载,
    python -m scripts.download_models --source modelscope
  1. sndfileffmpeg 进行路径配置,可以查看之前的 issue 单子
  2. 启动

LawsonShot20240617PMxbMZWH4c@2x

zhzLuke96 commented 3 months ago

.dev.txt 是跑cicd用的,正常使用 requirements.txt 即可