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

Method run

src/models/vibevoice/decoder.cpp:548–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546 }
547
548 VibeVoiceDecoderPrefillOutput run(const std::vector<float> & embeddings) {
549 auto results = run_batch({embeddings});
550 if (results.size() != 1) {
551 throw std::runtime_error("VibeVoice decoder prefill graph returned unexpected batch size");
552 }
553 return std::move(results.front());
554 }
555
556 std::vector<VibeVoiceDecoderPrefillOutput> run_batch(const std::vector<std::vector<float>> & embeddings) {
557 const auto & config = runtime_->assets().config.decoder;

Callers 3

run_batch_layerwiseMethod · 0.45
embed_tokensMethod · 0.45
prefill_embeddingsMethod · 0.45

Calls 2

run_batchFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected