| 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), |
no test coverage detected