Views
No views yet
https://github.com/HITsz-TMG/Lychee-FD| Component | Source | Expected local directory |
|---|---|---|
| Lychee-FD full-duplex model | HIT-TMG/Lychee-FD, files at the repository root | lychee_full_duplex/ |
| Token2Wav vocoder | stepfun-ai/Step-Audio-2-mini, folder token2wav/ | token2wav/ |
1/path/to/model-root/
2 lychee_full_duplex/
3 token2wav/1hf download HIT-TMG/Lychee-FD \
2 --local-dir /path/to/model-root/lychee_full_duplex1huggingface-cli download stepfun-ai/Step-Audio-2-mini \
2 --include "token2wav/*" \
3 --local-dir /path/to/model-root1/path/to/model-root/
2 lychee_full_duplex/
3 token2wav/1git clone https://github.com/HITsz-TMG/Lychee-FD.git
2cd Lychee-FDcp .env.docker.example .env.env and replace the model paths:1LYCHEE_FD_IMAGE=ghcr.io/hitsz-tmg/lychee-fd:latest
2
3# Host path on your machine.
4HOST_MODEL_ROOT=/path/to/model-root
5
6# Container paths. The host model root is mounted as /models.
7CONTAINER_MODEL_ROOT=/models
8ALLOWED_MODEL_ROOT=/models
9
10# Main Lychee-FD checkpoint.
11STEPAUDIO_MODEL_PATH=/models/lychee_full_duplex
12
13# Token2Wav checkpoint downloaded from stepfun-ai/Step-Audio-2-mini.
14STEPAUDIO_T2W_MODEL_PATH=/models/token2wavHOST_MODEL_ROOT is the path on your host machine.STEPAUDIO_MODEL_PATH and STEPAUDIO_T2W_MODEL_PATH are paths inside the
container.HOST_MODEL_ROOT to /models, so model paths inside
.env should usually start with /models.1docker compose pull
2docker compose uphttp://127.0.0.1:8084127.0.0.1 with the server IP.1TOKEN2WAV_CUDA_VISIBLE_DEVICES=0
2BACKEND_CUDA_VISIBLE_DEVICES=10:1TOKEN2WAV_CUDA_VISIBLE_DEVICES=0
2BACKEND_CUDA_VISIBLE_DEVICES=0STEPAUDIO_VLLM_MAX_MODEL_LEN=8192model_presets_dev.json in the GitHub
repository. If you customize the model list, make sure the preset path uses the
container path:1{
2 "name": "lychee_full_duplex",
3 "model_path": "/models/lychee_full_duplex",
4 "backend_type": "vllm",
5 "mode": "stable"
6}docker compose restart frontendstepfun-ai/Step-Audio-2-mini; please
follow the license and usage terms of the upstream model repository.https://github.com/HITsz-TMG/Lychee-FD.