Remove Seed-VC after failed German quality test
This commit is contained in:
@@ -112,7 +112,6 @@ MUSIC_START_TIMEOUT = float(os.environ.get("MUSIC_START_TIMEOUT", "600"))
|
||||
SEPARATOR_START_TIMEOUT = float(os.environ.get("SEPARATOR_START_TIMEOUT", "600"))
|
||||
VOICE_START_TIMEOUT = float(os.environ.get("VOICE_START_TIMEOUT", "600"))
|
||||
VOICE_CHANGE_START_TIMEOUT = float(os.environ.get("VOICE_CHANGE_START_TIMEOUT", "600"))
|
||||
SEED_VC_START_TIMEOUT = float(os.environ.get("SEED_VC_START_TIMEOUT", "900"))
|
||||
APPLIO_START_TIMEOUT = float(os.environ.get("APPLIO_START_TIMEOUT", "900"))
|
||||
|
||||
# Optional worker APIs. The clean Docker baseline deliberately ships only
|
||||
@@ -487,11 +486,6 @@ def _wait_aux_voice_ready(worker_field: str, health_field: str,
|
||||
raise RuntimeError(f"{label} nach {timeout:.0f} s nicht bereit")
|
||||
|
||||
|
||||
def _wait_seed_vc_ready() -> None:
|
||||
_wait_aux_voice_ready("seed_vc_worker", "seed_vc_health",
|
||||
"Seed-VC", SEED_VC_START_TIMEOUT)
|
||||
|
||||
|
||||
def _wait_applio_ready() -> None:
|
||||
_wait_aux_voice_ready("applio_worker", "applio_health",
|
||||
"Applio", APPLIO_START_TIMEOUT)
|
||||
@@ -507,9 +501,6 @@ def _special_worker(mode: str) -> tuple[str, str, callable]:
|
||||
if mode == "voicechange":
|
||||
return ("/workers/voice-change/start", _voice_change_worker_state(),
|
||||
_wait_voice_change_ready)
|
||||
if mode == "seedvc":
|
||||
return ("/workers/seed-vc/start", _worker_field("seed_vc_worker"),
|
||||
_wait_seed_vc_ready)
|
||||
if mode == "applio":
|
||||
return ("/workers/applio/start", _worker_field("applio_worker"),
|
||||
_wait_applio_ready)
|
||||
@@ -520,7 +511,7 @@ def set_operating_mode(mode: str) -> dict:
|
||||
"""Atomarer Wechsel zwischen LLM und den exklusiven GPU-Werkzeugen."""
|
||||
if not ENABLE_MUSIC_MODE or not PROFILE_CONTROL_URL:
|
||||
raise RuntimeError("Musikmodus ist nicht konfiguriert")
|
||||
special_modes = {"music", "separation", "voice", "voicechange", "seedvc", "applio"}
|
||||
special_modes = {"music", "separation", "voice", "voicechange", "applio"}
|
||||
if mode not in {"llm", *special_modes}:
|
||||
raise ValueError("unbekannter Betriebsmodus")
|
||||
with STATE.lock:
|
||||
@@ -568,7 +559,6 @@ def set_operating_mode(mode: str) -> dict:
|
||||
_profile_controller_request("POST", "/workers/separator/stop")
|
||||
_profile_controller_request("POST", "/workers/voice/stop")
|
||||
_profile_controller_request("POST", "/workers/voice-change/stop")
|
||||
_profile_controller_request("POST", "/workers/seed-vc/stop")
|
||||
_profile_controller_request("POST", "/workers/applio/stop")
|
||||
_restore_qwen(profile)
|
||||
STATE.mode = "llm"
|
||||
@@ -588,7 +578,7 @@ def schedule_operating_mode(mode: str) -> tuple[bool, str]:
|
||||
"""Start a transition in the background so chat/UI acknowledgement is instant."""
|
||||
if not ENABLE_MUSIC_MODE or not PROFILE_CONTROL_URL:
|
||||
raise RuntimeError("Musikmodus ist nicht konfiguriert")
|
||||
if mode not in {"llm", "music", "separation", "voice", "voicechange", "seedvc", "applio"}:
|
||||
if mode not in {"llm", "music", "separation", "voice", "voicechange", "applio"}:
|
||||
raise ValueError("unbekannter Betriebsmodus")
|
||||
with STATE.lock:
|
||||
if STATE.mode_phase not in {"ready", "error"}:
|
||||
@@ -627,7 +617,7 @@ def _control_command(data: dict, path: str) -> str | None:
|
||||
"/athena separation", "/athena llm",
|
||||
"/athena voice",
|
||||
"/athena voicechange", "/athena changer",
|
||||
"/athena seedvc", "/athena applio",
|
||||
"/athena applio",
|
||||
"/athena status"} else None
|
||||
|
||||
|
||||
@@ -2107,8 +2097,6 @@ class Handler(BaseHTTPRequestHandler):
|
||||
"voice_health": _voice_worker_health(),
|
||||
"voice_change_worker": _voice_change_worker_state(),
|
||||
"voice_change_health": _voice_change_worker_health(),
|
||||
"seed_vc_worker": _worker_field("seed_vc_worker"),
|
||||
"seed_vc_health": _worker_field("seed_vc_health"),
|
||||
"applio_worker": _worker_field("applio_worker"),
|
||||
"applio_health": _worker_field("applio_health"),
|
||||
"return_profile": state.get("return_profile"),
|
||||
@@ -2120,7 +2108,7 @@ class Handler(BaseHTTPRequestHandler):
|
||||
try:
|
||||
data = json.loads(self._read_body() or b"{}")
|
||||
mode = data.get("mode") if isinstance(data, dict) else None
|
||||
if mode not in {"llm", "music", "separation", "voice", "voicechange", "seedvc", "applio"}:
|
||||
if mode not in {"llm", "music", "separation", "voice", "voicechange", "applio"}:
|
||||
raise ValueError("Feld 'mode' enthält einen unbekannten Betriebsmodus")
|
||||
started, phase = schedule_operating_mode(mode)
|
||||
self._send_json(202 if started else 200, {
|
||||
@@ -2792,7 +2780,6 @@ class Handler(BaseHTTPRequestHandler):
|
||||
"separation" if command in {"/athena stems", "/athena separation"}
|
||||
else "voice" if command == "/athena voice"
|
||||
else "voicechange" if command in {"/athena voicechange", "/athena changer"}
|
||||
else "seedvc" if command == "/athena seedvc"
|
||||
else "applio" if command == "/athena applio"
|
||||
else "llm")
|
||||
try:
|
||||
@@ -2806,8 +2793,6 @@ class Handler(BaseHTTPRequestHandler):
|
||||
if target == "voice" else
|
||||
"Voice Changer wird gestartet. LLM und TTS werden entladen."
|
||||
if target == "voicechange" else
|
||||
"Seed-VC wird gestartet. LLM und TTS werden entladen."
|
||||
if target == "seedvc" else
|
||||
"Applio wird gestartet. LLM und TTS werden entladen."
|
||||
if target == "applio" else
|
||||
"Spezialmodus wird beendet und das vorherige LLM-Profil wiederhergestellt.")
|
||||
|
||||
Reference in New Issue
Block a user