ARTICLE DETAIL

资讯详情

深耕网站SEO优化与搜索引擎排名提升的一线实战洞察。

AI 派蒙部署教程(Windows / Linux)

AI 派蒙部署教程(Windows / Linux) AI 派蒙详细部署教程注 : 本篇文章是三年没人维护的 AI 派蒙我把它重新救活了的后续还没了解这篇文章的建议拜访一下此专案已开源在 Github 上上面也有完整的部署教程如果是下载预编译的 Releases 版本可以直接跳转到编辑设定环境安装作者本人是在Windows 11以及Ubuntu 24.04进行开发及测试其他版本或许能运作但要注意相容性Linux / WSLPython 3.10 以上建议 3.11GitC/C 编译器build-essential、python3-dev# 更新套件索引sudoaptupdate# 安装Gitsudoaptinstall-ygit# 安装C编译器sudoaptinstall-ybuild-essential python3-dev# 安装Python核心及虚拟环境sudoaptinstall-ypython3.11 python3.11-venv python3.11-dev验证安装python3--versiongit--versiongcc--versiong--versionWindowsPython 3.10 以上建议 3.11GitC/C 编译器Desktop development with C# 安装 Python 3.11wingetinstall-e--idPython.Python.3.11 --accept-package-agreements --accept-source-agreements# 安装 Gitwingetinstall-e--idGit.Git --accept-package-agreements --accept-source-agreements# 安装 Visual Studio Build Tools (C)wingetinstall-e--idMicrosoft.VisualStudio.2022.BuildTools --accept-package-agreements --accept-source-agreements--override--quiet --wait --norestart --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended验证安装python--versiongit--version开始功能表搜寻Developer Command Prompt for VS进入并输入 :cl预期出现 :Microsoft (R) C/C Optimizing Compiler...开始编译Linux / WSLcd~# 克隆专案gitclone https://github.com/Xavier05273/Digital_Life_Server_Refactored.gitcdDigital_Life_Server_Refactored# 给予执行权限chmodx setup.sh start.sh# 执行编译脚本./setup.sh预期出现 Setup complete! Windows# 克隆专案gitclone https://github.com/Xavier05273/Digital_Life_Server_Refactored.gitcdDigital_Life_Server_Refactored# 执行编译脚本.\setup.bat预期出现 Setup complete! 放入模型可从以下来源取得Google Drive百度网盘或是从 Releases 里面提取 (备选)下载完成后请放置于Digital_Life_Server_Refactored/ ├── ASR/resources/models/ ├── SentimentEngine/models/ └── TTS/models/编辑设定打开专案下的config.yaml编辑以下设定 :llm.base_url填入你的模型 URL例如LM Studiohttp://127.0.0.1:1234/v1Ollamahttp://127.0.0.1:11434/v1llm.model请填入实际载入的模型名称例如gemma-4-e4b-abliterated模型名称必须与 LM Studio或其他 LLM中显示的名称一致。也可以视情况填入API启动伺服器Linux/WSL./start.sh预期出现Server is listening on (0.0.0.0, 38438)...Windows直接双击执行start.bat也可 :.\start.bat预期出现Server is listening on (0.0.0.0, 38438)...常见报错如果你是自己编译及放入模型可能会有以下错误 :ModuleNotFoundError: No module named monotonic_align.monotonic_align这代表你的C 编译工具没有安装成功回到环境设定重新安装然后再次编译FileNotFoundError: [Errno 2] No such file or directory: TTS/models/paimon6k.json这代表你可能漏放或是忘记放语音跟情绪辨识模型回到放入模型重新配置连接 UE Client电脑端下载并启动T.exe(放在 Releases )设定Host127.0.0.1Port38438若伺服器运行于其他电脑请将 Host 改为该电脑的 IP 位址。手机端下载并安装T-Android-arm64.apk需要允许 Windows 防火墙接收 TCP 38438 连线。请以系统管理员身分开启 PowerShell执行netsh advfirewall firewalladdrulenameDigital Life ServerdirinactionallowprotocolTCPlocalport38438接着将 Android 用户端中的 Host 设定为电脑的 IPv4 位址。可于设定 → 网路和网际网路 → Wi-Fi或乙太网路→ IPv4 位址查看。例如192.168.1.123常见问题1.手机端提示连不上伺服器检查输入的是否为正确的电脑 IPv4 位址 (不是127.0.0.1)检查是否允许 Windows 防火墙接收 TCP 38438 连线手机与电脑是否位于同一个区域网路2.说话了但我的派蒙没反应?检查你的LLM服务是否正确启动且模型已载入检查config.yaml是否输入正确的base_url以及model
返回列表