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

Method generate

src/models/voxcpm2/generator.cpp:1429–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1427 debug::timing_log_scalar("voxcpm2.prompt_audio_embedding_ms", 0.0);
1428 return *cached;
1429 }
1430
1431 const auto embedding_start = Clock::now();
1432 PromptAudioEmbeddingCacheEntry entry;
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);

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected