Spaces:
Sleeping
Sleeping
Download backend/sql/033_tts_engine_kind_dual.sql from stylevoice/talk: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/spaces/stylevoice/talk/resolve/main/backend/sql/033_tts_engine_kind_dual.sql
- Command line
-
hf download hf://spaces/stylevoice/talk/backend/sql/033_tts_engine_kind_dual.sql
-
curl -L -o 033_tts_engine_kind_dual.sql https://huggingface.co/spaces/stylevoice/talk/resolve/main/backend/sql/033_tts_engine_kind_dual.sql
1.47 kB
| -- TTS ์ธ์คํด์ค engine_kind ์ 'dual' ์ถ๊ฐ (2026-05-20, Dual-engine ํตํฉ image ํธ๋). | |
| -- 1 docker = Qwen3 fork ร2 + CosyVoice 3.0 ร1 ํตํฉ ์ธ์คํด์ค (์ ํธ๋ํฝ ํ๋์จ์ด ์ ์ฝ). | |
| -- | |
| -- 'dual' ์ ๋ผ์ฐํ engine ์ด ์๋๋ผ instance kind โ ๊ฐ ์์ปค๋ ์๊ธฐ /health ๋ก qwen3/ | |
| -- cosyvoice35 ๋ฅผ ๋ณด๊ณ ํ๊ณ dispatcher ๊ฐ per-worker ๋ผ์ฐํ (mixed ์๋). instance ์ | |
| -- 'dual' ๊ฐ์ image ์ ํ / disk / inet / proc_count / cap ์๋ง ์ฌ์ฉ (scale_service.py). | |
| -- | |
| -- ํ๊ท 0 ๊ฐ๋: | |
| -- - 030/032 ์ ๊ธฐ์กด 'qwen3'/'cosyvoice35' ์ธ์คํด์ค ์ํฅ 0 (constraint ํ์ฅ๋ง) | |
| -- - user_voice_prompts (sql 031) ์ engine_kind CHECK ๋ ๋ณ๊ฒฝ X โ prompt ๋ | |
| -- ์์ปค ๋ณด๊ณ engine ('qwen3'/'cosyvoice35') ๋จ์๋ก ์ ์ฅ, 'dual' ๋ก ์ ์ฅ ์ ๋จ | |
| -- | |
| -- ์ดํ ๋จ๊ณ: | |
| -- 1) ์ด SQL ์ ์ฉ (constraint ๊ฐฑ์ ) | |
| -- 2) backend ๋ฐฐํฌ (ENGINE_KIND_DUAL ์ฒ๋ฆฌ) | |
| -- 3) PoC ๊ฒ์ดํธ 3๊ฐ ํต๊ณผ ํ voicetalk-tts-dual:latest ๋น๋ (build-tts-dual-image.yml) | |
| -- 4) frontend ๋ฐฐํฌ (admin engine dropdown "Dual") | |
| -- 5) admin "TTS ์๋ฒ ์ถ๊ฐ" โ Dual ์ ํ spawn | |
| -- | |
| -- ์ฐธ์กฐ: doc/runbook/tts_engine_multi.md "Dual-engine ํตํฉ image" ์น์ | |
| ALTER TABLE public.tts_scale_instances | |
| DROP CONSTRAINT IF EXISTS tts_scale_instances_engine_kind_check; | |
| ALTER TABLE public.tts_scale_instances | |
| ADD CONSTRAINT tts_scale_instances_engine_kind_check | |
| CHECK (engine_kind IN ('qwen3', 'cosyvoice35', 'dual')); | |