| 55 | {"miotts.weight_type", "native|f32|f16|bf16|q8_0", "MioTTS language-model matmul weight storage type."}, |
| 56 | {"miotts.text_chunk_size", "int", "Default framework text chunk size; 120 when hanzi, kana and Hangul outnumber other letters and digits, otherwise 180.", false, std::nullopt}, |
| 57 | {"miotts.prefill_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 58 | {"miotts.decode_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 59 | {"miotts.weight_context_mb", "int", "Context or graph arena size in MiB. Default: 8.", false, "8", "1"}, |
| 60 | {"miotts.codec_weight_context_mb", "int", "Context or graph arena size in MiB. Default: 8.", false, "8", "1"}, |
| 61 | {"miotts.codec_constant_context_mb", "int", "Context or graph arena size in MiB. Default: 16.", false, "16", "1"}, |
| 62 | {"miotts.global_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 63 | {"miotts.wave_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 64 | }; |
| 65 | return out; |
| 66 | } |
| 67 | |
| 68 | class MioTTSLoader final : public runtime::IVoiceModelLoader { |
| 69 | public: |
| 70 | std::string family() const override { |
| 71 | return "miotts"; |
| 72 | } |
| 73 | |
| 74 | runtime::CapabilitySet advertised_capabilities() const override { |
| 75 | runtime::CapabilitySet out; |
| 76 | out.supported_tasks = { |
| 77 | {runtime::VoiceTaskKind::Tts, {runtime::RunMode::Offline}}, |
nothing calls this directly
no test coverage detected