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

Method generate_streaming

src/models/voxcpm2/generator.cpp:1435–1439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1433 entry.prompt_embeddings = encode_feature_embeddings(
1434 prompt.prompt_features, prompt.prompt_patches, patch_elems);
1435 entry.reference_embeddings = encode_feature_embeddings(
1436 prompt.reference_features, prompt.reference_patches, patch_elems);
1437 const double embedding_ms = engine::debug::elapsed_ms(embedding_start);
1438 if (prompt_audio_embedding_cache_.capacity() == 0) {
1439 uncached_prompt_audio_embedding_ = std::move(entry);
1440 debug::trace_log_scalar("voxcpm2.prompt_audio_embedding_cache.hit", 0);
1441 debug::trace_log_scalar("voxcpm2.prompt_audio_embedding_cache.slots", 0);
1442 debug::trace_log_scalar("voxcpm2.prompt_audio_embedding_cache.entries",

Callers 2

run_streamingMethod · 0.45
run_onceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected