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

Method can_load

src/models/miotts/loader.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 {"frequency_penalty", "float", "Frequency penalty; default 0.", false, std::to_string(assets.config.frequency_penalty), "0", "1"},
46 {"text_chunk_size", "int", "Framework long-form text chunk size; inherits the session setting.", false, std::nullopt, "1"},
47 };
48 out.session_options = {
49 {"miotts.codec_model_path", "dir", "MioCodec model directory used by MioTTS acoustic decoding."},
50 {"miotts.best_of_n_enabled", "true|false", "Enable best-of-N candidate selection by default.", false, "false"},
51 {"miotts.best_of_n_default", "n", "Default best-of-N candidate count.", false, "1", "1"},
52 {"miotts.best_of_n_max", "n", "Maximum best-of-N candidate count.", false, "8", "1"},
53 {"miotts.best_of_n_language", "auto|en|ja", "Default language used when scoring best-of-N candidates.", false, "auto"},
54 {"miotts.best_of_n_asr_model_path", "dir", "Qwen3-ASR model directory used by best-of-N scoring."},
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"},

Callers

nothing calls this directly

Calls 2

has_miotts_assetsFunction · 0.85
resolve_model_rootFunction · 0.70

Tested by

no test coverage detected