Skip to content

Commit 21ecc79

Browse files
localai-botmudler
andauthored
fix(qwen3-tts-cpp): hold qwentts.cpp at 35ebe537, upstream master hangs in synthesis (#11286)
tests-qwen3-tts-cpp has been failing on master since 2026-07-31. The suite loads every component fine and then stops: TTS() never returns from the native call, so a job that takes ~5 minutes runs into the 20 minute Go test timeout instead. goroutine 74 [syscall, 19 minutes]: github.com/ebitengine/purego.RegisterFunc.func4 qwen3-tts-cpp.(*Qwen3TtsCpp).TTS goqwen3ttscpp.go:154 qwen3-tts-cpp.init.func2.4 e2e_test.go:90 Not a flake: reproduced on master and again on an explicit re-run. Bisected across this cycle's eight qwentts.cpp bumps by their own check: 10832, 10850, 10902, 10964, 11006, 11039 and 11127 all pass in ~5 minutes; 11241 (abab6b3) fails at 1h58m. That PR was merged with this check already red, which is how the hang reached master. 35ebe537..abab6b3 is three upstream commits, and the only functional one is 26dd8adb, "predictor: unroll the frame into one cgraph and sample in standard ops", which is consistent with a generation loop that never reaches its stop condition. Hold the pin at the last known-good commit. The bump entry is commented out rather than left in place, because it tracks upstream master and would put the hang straight back on the next nightly run. Both spots carry a pointer to the other so the hold is discoverable, and restoring it is uncommenting four lines once upstream is fixed. Assisted-by: Claude Code:claude-opus-5 [Read] [Edit] [Bash] Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 9fe1165 commit 21ecc79

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/bump_deps.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,14 @@ jobs:
110110
variable: "LOCATEANYTHING_VERSION"
111111
branch: "master"
112112
file: "backend/go/locate-anything-cpp/Makefile"
113-
- repository: "ServeurpersoCom/qwentts.cpp"
114-
variable: "QWEN3TTS_CPP_VERSION"
115-
branch: "master"
116-
file: "backend/go/qwen3-tts-cpp/Makefile"
113+
# qwentts.cpp is held, not tracked: upstream master hangs in synthesis
114+
# (see the comment on QWEN3TTS_CPP_VERSION in the backend Makefile).
115+
# Leaving it here would re-bump the pin back onto the hang every night.
116+
# Restore this entry once the upstream fix lands.
117+
# - repository: "ServeurpersoCom/qwentts.cpp"
118+
# variable: "QWEN3TTS_CPP_VERSION"
119+
# branch: "master"
120+
# file: "backend/go/qwen3-tts-cpp/Makefile"
117121
- repository: "ServeurpersoCom/omnivoice.cpp"
118122
variable: "OMNIVOICE_VERSION"
119123
branch: "master"

backend/go/qwen3-tts-cpp/Makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ GO_TAGS?=
77
JOBS?=$(shell nproc --ignore=1)
88

99
# qwentts.cpp version
10+
#
11+
# Held at 35ebe537 rather than tracking latest: abab6b3 hangs in synthesis.
12+
# TTS() never returns from the native call, so tests-qwen3-tts-cpp goes from
13+
# ~5 minutes to the 20 minute Go test timeout. Reproduced on master on
14+
# 2026-08-01 and again on re-run, and the bump PR (#11241) was merged with
15+
# this same check already red.
16+
#
17+
# The regression is in 35ebe537..abab6b3, three upstream commits whose only
18+
# functional change is 26dd8adb, "predictor: unroll the frame into one cgraph
19+
# and sample in standard ops". Restore the bump once that is fixed upstream.
1020
QWEN3TTS_REPO?=https://github.com/ServeurpersoCom/qwentts.cpp
11-
QWEN3TTS_CPP_VERSION?=abab6b3bf317cfa1b788efce1d25f4f9239395ad
21+
QWEN3TTS_CPP_VERSION?=35ebe5376b82a0a59d008586d55bbe623d449011
1222
SO_TARGET?=libgoqwen3ttscpp.so
1323

1424
CMAKE_ARGS+=-DBUILD_SHARED_LIBS=OFF

0 commit comments

Comments
 (0)