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

Function validate_chatterbox_weight_storage

src/models/chatterbox/session.cpp:180–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 auto s3_tokenizer = S3TokenizerComponent::load_from_source(
179 *assets.s3gen_weights,
180 execution_context,
181 component_weight_storage_type);
182 engine::codecs::s3gen::S3GenConfig s3gen_config;
183 auto s3gen = std::make_unique<engine::codecs::s3gen::S3GenRuntime>(
184 assets.s3gen_weights, execution_context, s3gen_config,
185 engine::codecs::s3gen::S3GenRuntimeOptions{component_weight_storage_type});
186 auto campplus_encoder = CAMPPlusEncoderComponent::load_from_source(
187 assets.s3gen_weights,
188 execution_context,
189 component_weight_storage_type);
190 release_tensor_storage(assets);
191 return std::make_unique<ChatterboxTTSComponent>(
192 std::move(t3_weights),

Calls 1

stringFunction · 0.50

Tested by

no test coverage detected