MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / inspect

Method inspect

src/models/miotts/loader.cpp:57–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
68class MioTTSLoader final : public runtime::IVoiceModelLoader {
69public:
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}},

Callers

nothing calls this directly

Calls 4

load_miotts_assetsFunction · 0.85
resolve_model_rootFunction · 0.70
discover_config_assetsFunction · 0.70
discover_weight_assetsFunction · 0.70

Tested by

no test coverage detected