voicebox icon indicating copy to clipboard operation
voicebox copied to clipboard

How to install the qwen TTS model offline

Open z583463990-code opened this issue 9 months ago • 5 comments

Image

z583463990-code avatar Feb 25 '26 07:02 z583463990-code

The same

stillmedia avatar Feb 25 '26 09:02 stillmedia

same for me. ugghh

johnheathknysna-design avatar Feb 25 '26 09:02 johnheathknysna-design

Same

derolly avatar Feb 25 '26 16:02 derolly

There was a previous issue that was closed earlier, even though it is certainly still a bug. I am having the same problem. Running on Windows.

I don't mind an error, but the issue that is frustrating is that the download progress hangs in the UI, even though the background task has failed. It would be great to either clear the stalled task, or ensure that the failure ends the SSE connection used to track the progress and have the UI react accordingly.

coryjamescrook avatar Feb 27 '26 00:02 coryjamescrook

Voicebox 模型下载问题解决方案

通过手动下载解决 Voicebox 模型下载问题。

适用环境说明

平台 支持状态
macOS ✅ 主要测试环境
Windows ⚠️ 可参考类似解决思路

前置说明

注意:MLX 后端 0.6B 和 1.7B 共享同一个 HuggingFace 仓库: mlx-community/Qwen3-TTS-12Hz-1.7B-Base-bf16


一、安装 huggingface-cli 工具

brew install huggingface-cli

二、手动下载模型

hf download mlx-community/Qwen3-TTS-12Hz-1.7B-Base-bf16

三、默认模型下载位置

~/.cache/huggingface/hub/models--mlx-community--Qwen3-TTS-12Hz-1.7B-Base-bf16

四、调试接口

查询模型状态

curl http://127.0.0.1:17493/models/status

查询活跃任务

curl http://127.0.0.1:17493/tasks/active

模型状态响应示例

{
  "models": [
    {
      "model_name": "qwen-tts-1.7B",
      "display_name": "Qwen TTS 1.7B",
      "downloaded": true,
      "downloading": false,
      "size_mb": 4333.6989774704,
      "loaded": false
    },
    {
      "model_name": "qwen-tts-0.6B",
      "display_name": "Qwen TTS 0.6B",
      "downloaded": true,
      "downloading": false,
      "size_mb": 4333.6989774704,
      "loaded": false
    },
    {
      "model_name": "whisper-base",
      "display_name": "Whisper Base",
      "downloaded": false,
      "downloading": false,
      "size_mb": null,
      "loaded": false
    },
    {
      "model_name": "whisper-small",
      "display_name": "Whisper Small",
      "downloaded": false,
      "downloading": false,
      "size_mb": null,
      "loaded": false
    },
    {
      "model_name": "whisper-medium",
      "display_name": "Whisper Medium",
      "downloaded": false,
      "downloading": false,
      "size_mb": null,
      "loaded": false
    },
    {
      "model_name": "whisper-large",
      "display_name": "Whisper Large",
      "downloaded": false,
      "downloading": false,
      "size_mb": null,
      "loaded": false
    }
  ]
}

五、模型下载判断逻辑

Voicebox 根据以下条件判断模型下载状态:

条件 downloaded downloading
存在模型权重文件 + 无 .incomplete 文件 + 非下载中 true false
正在下载任务中 false true
存在 .incomplete 文件 false false
无模型权重文件 false false

go-restream avatar Mar 02 '26 03:03 go-restream