Open full-duplex voice models that hear your tone and speak with one. One GPU with vLLM-Omni, or fully offline on a Mac with MLX. Zero-shot voice cloning, OpenAI Realtime / GPT-Live compatible, free hosted API trial. Apache-2.0.
Python apple-siliconfull-duplexlivekitmacosmlxofflineopen-sourceopenai-realtimeparalinguisticspipecatrealtimespeechspeech-to-speechttsvllmvllm-omnivoice-assistantvoice-cloningzero-shot
1.6.3: pin duplexjev-vllm 0.4.0 so the 4B builds hear the whole clip
Jie Jinf0fe89c52f71
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3592905..b5bc68d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,12 @@ One version number for the whole Sophon-Realtime v1 family: the code in this repModelScope (git tags with the same name) and the `sophon-realtime` package on PyPI. Each entry says which builds changed.Second digit: new features or new weights; third digit: fixes only.+## 1.6.3 (2026-11-26): the 4B builds hear the whole clip++- **4B Tag, Flash and E2E dropped the last few percent of every audio chunk** before the brain heard it. The 4B brain was trained with the audio encoder's full output length (its config says `"audio_full_length": true`), but the installers pinned `duplexjev-vllm` 0.3.0, which ignores that setting and cuts each 30 s chunk to 12.5 tokens per second instead of 13. The installers now pin `duplexjev-vllm` 0.4.0, which reads the setting. The 32B builds do not use it and are unchanged.+- Measured on one H100, 4B Tag, same plugin code, only `duplexjev-vllm` changed: Full-Duplex-Bench v1.0 four-task average 90.2 → 91.2 (pause handling and back-channels slightly better, turn-taking 0.07 s faster). The brain's turn decisions now match the vLLM-Omni in-tree implementation (vllm-project/vllm-omni#11149) on the same audio.+- Existing installs: `uv pip install duplexjev-vllm==0.4.0` in the build's `.venv`, then restart. The `sophon-realtime` package on PyPI (1.3.0) still pins 0.3.0; if you serve a 4B build with it, run `pip install duplexjev-vllm==0.4.0` after installing it (pip reports the pin, the server works).+## 1.6.2 (2026-11-23): say always finishes, and works before the caller speaks- **A `say` could stop before the end of the sentence** ([#22](https://github.com/adventists-ai/sophon-realtime/issues/22)). Its token limit was the sentence's normal tokenization plus 16. Constrained decoding may spell the same words with more, shorter tokens, so a long read-back on the 4B stopped at its limit mid-sentence. The limit is now the sentence's length in UTF-8 bytes plus 8. Every token spells at least one byte, so the sentence always fits.diff --git a/e2e/install.sh b/e2e/install.shindex d37f1c6..909bd3d 100644--- a/e2e/install.sh+++ b/e2e/install.sh@@ -14,7 +14,7 @@ uv python install 3.12[ -d .venv ] || uv venv --python 3.12 --seed .venvsource .venv/bin/activateuv pip install $IDX vllm==0.30.0 ${TORCH_BACKEND:+--torch-backend=$TORCH_BACKEND}-uv pip install $IDX vllm-omni==0.30.0 duplexjev-vllm==0.3.0+uv pip install $IDX vllm-omni==0.30.0 duplexjev-vllm==0.4.0uv pip install $IDX -e ./plugin# the voice stage needs torch 2.14.1 (with an older torch its compiled graphs take about 50 GB more GPU memory); install it last so nothing downgrades ituv pip install $IDX torch==2.14.1 torchaudio==2.11.0 torchvision==0.29.2 ${TORCH_BACKEND:+--torch-backend=$TORCH_BACKEND}diff --git a/e2e/plugin/pyproject.toml b/e2e/plugin/pyproject.tomlindex bcd99d8..200a053 100644--- a/e2e/plugin/pyproject.toml+++ b/e2e/plugin/pyproject.toml@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"[project]name = "sophon-realtime-e2e"-version = "1.6.2"+version = "1.6.3"description = "Sophon-Realtime-32B-E2E as one vLLM-Omni model: full-duplex listen + write (with sound tags) -> E2E talker (continuous voice vectors) -> decoder"requires-python = ">=3.10"license = "Apache-2.0"-dependencies = ["duplexjev-vllm>=0.3.0", "x-transformers", "einops>=0.8", "safetensors>=0.4", "soundfile>=0.12", "librosa>=0.10", "torchaudio", "onnxruntime"]+dependencies = ["duplexjev-vllm>=0.4.0", "x-transformers", "einops>=0.8", "safetensors>=0.4", "soundfile>=0.12", "librosa>=0.10", "torchaudio", "onnxruntime"][project.entry-points."vllm_omni.general_plugins"]sophon_realtime = "sophon_realtime:register"diff --git a/e2e/plugin/sophon_realtime/__init__.py b/e2e/plugin/sophon_realtime/__init__.pyindex 9f22f17..fd7d70e 100644--- a/e2e/plugin/sophon_realtime/__init__.py+++ b/e2e/plugin/sophon_realtime/__init__.py@@ -3,7 +3,7 @@E2E build (installed by e2e/install.sh as `sophon-realtime-e2e`): vllm serve <Sophon-Realtime-32B-E2E dir> --omni --deploy-config <yaml>"""-__version__ = "1.6.2"+__version__ = "1.6.3"ARCH = "SophonRealtimeForConditionalGeneration"TALKER_ARCH = "SophonE2ETalker"DECODER_ARCH = "SophonE2EDecoder"diff --git a/flash/install.sh b/flash/install.shindex 66fbc7e..648447f 100755--- a/flash/install.sh+++ b/flash/install.sh@@ -14,7 +14,7 @@ uv python install 3.12[ -d .venv ] || uv venv --python 3.12 --seed .venvsource .venv/bin/activateuv pip install $IDX vllm==0.30.0 ${TORCH_BACKEND:+--torch-backend=$TORCH_BACKEND}-uv pip install $IDX vllm-omni==0.30.0 duplexjev-vllm==0.3.0+uv pip install $IDX vllm-omni==0.30.0 duplexjev-vllm==0.4.0uv pip install $IDX -e ./pluginpython -c "import vllm, vllm_omni, sophon_realtime; print('OK vllm', vllm.__version__, '| vllm-omni', vllm_omni.__version__, '| plugin', sophon_realtime.__version__)"echo "INSTALL_DONE — now: bash start.sh"diff --git a/flash/plugin/pyproject.toml b/flash/plugin/pyproject.tomlindex 10ea4f2..5bb4d0e 100644--- a/flash/plugin/pyproject.toml+++ b/flash/plugin/pyproject.toml@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"[project]name = "sophon-realtime-flash"-version = "1.6.2"+version = "1.6.3"description = "Sophon-Realtime-32B-Flash as one vLLM-Omni model: full-duplex listen + write (with sound tags) -> 12.5 Hz streaming speech"requires-python = ">=3.10"license = "Apache-2.0"-dependencies = ["duplexjev-vllm>=0.3.0"]+dependencies = ["duplexjev-vllm>=0.4.0"][project.entry-points."vllm_omni.general_plugins"]sophon_realtime = "sophon_realtime:register"diff --git a/flash/plugin/sophon_realtime/__init__.py b/flash/plugin/sophon_realtime/__init__.pyindex 4aa63c4..aeeda55 100644--- a/flash/plugin/sophon_realtime/__init__.py+++ b/flash/plugin/sophon_realtime/__init__.py@@ -2,7 +2,7 @@Flash build (installed by flash/install.sh as `sophon-realtime-flash`): vllm serve <Sophon-Realtime dir> --omni --deploy-config <sophon_realtime.yaml>"""-__version__ = "1.6.2"+__version__ = "1.6.3"ARCH = "SophonRealtimeForConditionalGeneration"TALKER_ARCH = "SophonTTSTalker"_done = Falsediff --git a/scripts/install.sh b/scripts/install.shindex ba47b89..2f97bfc 100644--- a/scripts/install.sh+++ b/scripts/install.sh@@ -22,7 +22,7 @@ fiecho "[1/3] thinker environment (.venv-thinker)"mkvenv .venv-thinker-pipi .venv-thinker -c scripts/constraints-thinker.txt "vllm[audio]==0.29.0" "duplexjev-vllm==0.3.0"+pipi .venv-thinker -c scripts/constraints-thinker.txt "vllm[audio]==0.29.0" "duplexjev-vllm==0.4.0"echo "[2/3] engine environment (.venv-engine)"mkvenv .venv-enginediff --git a/tag/install.sh b/tag/install.shindex 9283965..729f060 100644--- a/tag/install.sh+++ b/tag/install.sh@@ -14,7 +14,7 @@ uv python install 3.12[ -d .venv ] || uv venv --python 3.12 --seed .venvsource .venv/bin/activateuv pip install $IDX vllm==0.30.0 ${TORCH_BACKEND:+--torch-backend=$TORCH_BACKEND} # default: torch from the same index as vLLM; TORCH_BACKEND=auto = pytorch.org CUDA build-uv pip install $IDX vllm-omni==0.30.0 duplexjev-vllm==0.3.0+uv pip install $IDX vllm-omni==0.30.0 duplexjev-vllm==0.4.0if [ "${NO_TRT:-0}" != 1 ]; then # TensorRT for the flow decoder (about 2x faster speech); optionaluv pip install $IDX --no-deps tensorrt-cu13==10.13.3.9 tensorrt-cu13-bindings==10.13.3.9 tensorrt-cu13-libs==10.13.3.9 || echo "WARNING: TensorRT could not be installed; the voice will run in plain PyTorch, about 3x slower under load"fidiff --git a/tag/plugin/pyproject.toml b/tag/plugin/pyproject.tomlindex c7da961..b0e8adc 100644--- a/tag/plugin/pyproject.toml+++ b/tag/plugin/pyproject.toml@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"[project]name = "sophon-realtime-tag"-version = "1.6.2"+version = "1.6.3"description = "Sophon-Realtime-32B-Tag as one vLLM-Omni model: full-duplex listen + write (with sound tags) -> tag-tts streaming speech"requires-python = ">=3.10"license = "Apache-2.0"-dependencies = ["duplexjev-vllm>=0.3.0"]+dependencies = ["duplexjev-vllm>=0.4.0"][project.entry-points."vllm_omni.general_plugins"]sophon_realtime = "sophon_realtime:register"diff --git a/tag/plugin/sophon_realtime/__init__.py b/tag/plugin/sophon_realtime/__init__.pyindex 21e1bca..4df0d50 100644--- a/tag/plugin/sophon_realtime/__init__.py+++ b/tag/plugin/sophon_realtime/__init__.py@@ -3,7 +3,7 @@ bistream style while it is written) -> CosyVoice3 flow + HiFT, served as one vLLvllm serve <Sophon-Realtime-32B-Tag dir> --omni --deploy-config <sophon_realtime_tag_1gpu.yaml>"""-__version__ = "1.6.2"+__version__ = "1.6.3"ARCH = "SophonRealtimeForConditionalGeneration"TALKER_ARCH = "SophonTagTalker"_done = False