# Build from Dockerfiledocker build -t f5tts:v1 .
# Run from GitHub Container Registrydocker container run --rm -it --gpus=all --mount'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:main
# Quickstart if you want to just run the web interface (not CLI)docker container run --rm -it --gpus=all --mount'type=volume,source=f5-tts,target=/root/.cache/huggingface/hub/' -p 7860:7860 ghcr.io/swivid/f5-tts:main f5-tts_infer-gradio --host 0.0.0.0
权重加载:CPU 和 Apple Silicon Metal 默认映射 GGUF 权重,--no-mmap 可切换为复制加载。
后端选择:CPU 默认启用 tinyBLAS;GPU 可选 Apple Silicon Metal、Linux/Windows Vulkan,以及 Linux 上的 CUDA 或 HIP/ROCm。
uv run scripts/catalog/format.py --check # canonical record layout
uv run scripts/catalog/check.py # schema, integrity, pairing
uv run scripts/catalog/render.py # rewrite the marked doc regions
uv run scripts/catalog/render.py --check
F5-TTS vs transcribe.cpp 常见问题 (FAQ)
F5-TTS 和 transcribe.cpp 在开源协议与商用合规上有什么区别?
SWivid/F5-TTS 采用 MIT · 允许商用(宽松开源协议,允许商业使用、修改与私有化闭源分发(保留版权声明即可)。);handy-computer/transcribe.cpp 采用 MIT · 允许商用(宽松开源协议,允许商业使用、修改与私有化闭源分发(保留版权声明即可)。)。
2026 年 F5-TTS 与 transcribe.cpp 哪个社区增长更快?
按 RepoForAI 实时快照,F5-TTS 总 Star 15,717(7日 +45),transcribe.cpp 总 Star 2,230(7日 +19),近期增速由 F5-TTS 领先。
团队技术选型时该如何二选一?
适合选用 F5-TTS(Python):使用已获授权的参考录音制作本地旁白或多角色语音,且团队能实测 GPU 推理并维护运行时;适合选用 transcribe.cpp(C++):需要在本地处理录音、按业务挑选 ASR 模型,并通过 CLI 批量转写或将推理嵌入语音应用的团队。