Dia 本地部署全流程指南
本地运行Dia需要完成以下关键步骤:
- Environmental Preparation:pass (a bill or inspection etc)
git clone https://github.com/nari-labs/dia.git
克隆仓库,使用Python创建隔离虚拟环境。 - 依赖管理:采用uv工具进行依赖安装(
pip install uv
),该工具会自动处理PyTorch等核心组件的版本适配问题。 - Hardware Requirements:推荐配备NVIDIA GPU的16GB内存设备,当前版本对CPU支持尚在开发中。
验证安装成功后,通过uv run app.py
启动Gradio服务,默认访问地址为http://127.0.0.1:7860
。首次运行会下载约5GB的预训练模型文件。
This answer comes from the articleDia: text-to-speech modeling for generating hyper-realistic multiplayer conversationsThe