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

Method can_load

src/models/chatterbox/loader.cpp:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 {"do_sample", "bool", "Enable sampling. Captured during clone preparation; changing it on the same prepared session is rejected. Default: true.", false, "true"},
46 {"stop_on_eos", "bool", "Stop token generation on EOS. Captured during clone preparation; changing it on the same prepared session is rejected. Default: true.", false, "true"},
47 {"num_inference_steps", "int", "Voice conversion flow steps; max_steps is also accepted.", false, "10", "1"},
48 {"seed", "int", "Sampling seed; omitted chooses a random seed. Captured during clone preparation; changing it on the same prepared session is rejected.", false, std::nullopt, "0", "4294967295"},
49 {"source_audio", "audio_path", "Voice conversion source WAV path; overrides audio_input.", false},
50 {"target_voice", "audio_path", "Voice conversion target WAV path; overrides the speaker reference.", false},
51 {"text_chunk_size", "int", "Framework long-form text chunk size.", false, "128"},
52 };
53 out.session_options = {
54 {"chatterbox.weight_type", "native|f32|f16|bf16|q8_0", "Weight storage type; defaults to native.", false},
55 {"chatterbox.t3_weight_type", "native|f32|f16|bf16|q8_0", "T3 weight storage; inherits weight_type.", false},
56 {"chatterbox.multilingual_t3", "v2|v3", "Multilingual T3 checkpoint for non-English TTS; default v2.", false, "v2"},
57 {"chatterbox.conditionals_cache_slots", "int", "Prepared voice-condition cache slots; default 1, set 0 to disable.", false, "1", "0"},
58 {"chatterbox.vc_reference_cache_slots", "int", "Prepared voice-conversion target cache slots; default 1, set 0 to disable.", false, "1", "0"},
59 {"chatterbox.mem_saver", "bool", "Free non-conditional runtime graphs after each request chunk; default false.", false, "false"},

Callers

nothing calls this directly

Calls 2

resolve_model_rootFunction · 0.70

Tested by

no test coverage detected