VoxCPM 1.5.0 macOS

Python 版本

bash 复制代码
 python3 --version
bash 复制代码
Python 3.11.13
bash 复制代码
python3 -c "import torch; print(f'PyTorch: {torch.__version__}'); print(f'MPS Available: {torch.backends.mps.is_available()}'); print(f'MPS Built: {torch.backends.mps.is_built()}')" 2>/dev/null || echo "PyTorch 未安装"
bash 复制代码
PyTorch: 2.9.0
MPS Available: True
MPS Built: True
bash 复制代码
python3 -c "import torchaudio; print(f'TorchAudio: {torchaudio.__version__}')" 2>/dev/null || echo "TorchAudio 未安装"
bash 复制代码
TorchAudio: 2.9.0

卸载现有版本

bash 复制代码
pip uninstall voxcpm -y
bash 复制代码
Found existing installation: voxcpm 1.0.5
Uninstalling voxcpm-1.0.5:
  Successfully uninstalled voxcpm-1.0.5

重新安装

bash 复制代码
pip install voxcpm

启动 Web

bash 复制代码
python app.py
bash 复制代码
🚀 Running on device: cpu
funasr version: 1.2.7.
Downloading Model from https://www.modelscope.cn to directory: /Users/m4/.cache/modelscope/hub/models/iic/SenseVoiceSmall
2025-12-27 22:47:19,955 - modelscope - WARNING - Using branch: master as version is unstable, use with caution
WARNING:root:trust_remote_code: False
* Running on local URL:  http://localhost:7860
* To create a public link, set `share=True` in `launch()`.

下载模型

  • 下载到项目 models 目录
bash 复制代码
python3 -c "
from modelscope import snapshot_download
model_dir = snapshot_download('OpenBMB/VoxCPM1.5', cache_dir='./models')
print(f'Model downloaded to: {model_dir}')
"
bash 复制代码
python3 -c "import transformers; print(f'transformers: {transformers.__version__}')"
bash 复制代码
transformers: 4.57.1

降级 transformers 到兼容版本

bash 复制代码
pip install "transformers>=4.36.2,<4.50"
bash 复制代码
python3 -c "import transformers; print(f'transformers: {transformers.__version__}')"
transformers: 4.49.0

降级 NumPy 到 1.x 版本

bash 复制代码
pip install "numpy<2"

pip install "numpy<2" -i https://pypi.tuna.tsinghua.edu.cn/simple

datasets 库版本

bash 复制代码
pip install "datasets==2.18.0" -i https://pypi.tuna.tsinghua.edu.cn/simple

开始生成

相关推荐
元Y亨H7 天前
MacBook Air 开发神器:IDEA 与 PyCharm 极简安装及环境配置
macos
yuanyxh8 天前
macOS 应用 - 纯对话生成
前端·macos·ai编程
AI创界者10 天前
PilotTTS 一键整合包(Win/Mac):8G 显存畅跑,实测解锁情绪与副语言的精准控制
人工智能·macos·aigc·音视频
AirDroid_cn10 天前
系统终端与iTerm2字体看起来不一样?macOS Sequoia统一渲染指南
macos
JiaWen技术圈10 天前
2026 年的 macOS 磁盘清理方法
macos
lichong95110 天前
让AI自己用电脑!Cua:后台操作鼠标键盘,Mac/Windows/Linux全支持
人工智能·macos·ai·计算机外设·agent·提示词
A尘埃10 天前
批处理命令(Linux/Mac、Windows项目启动脚本)
linux·windows·macos
他们都不看好你,偏偏你最不争气11 天前
【iOS】Runtime - Part 2 && 消息发送:缓存、查找与转发
macos·ios·objective-c·cocoa
Deepzz11 天前
macOS 上调教第三方鼠标的一些经验:从滚动顺滑到输入法自动切换
macos·swift·鼠标