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

Method reset_cached_state

src/models/vibevoice/decoder.cpp:1633–1642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631}
1632
1633void VibeVoiceDecoderWeightsRuntime::reset_cached_state(
1634 VibeVoiceDecoderCachedState & state,
1635 runtime::TransformerKVState prefill_state) const {
1636 if (state.batch_owner_ != nullptr) {
1637 export_and_drop_cached_batch_graph(state.batch_owner_);
1638 }
1639 state.pending_state_ = std::move(prefill_state);
1640 state.graph_has_state_ = false;
1641 state.batch_owner_ = nullptr;
1642}
1643
1644VibeVoiceDecoderResult VibeVoiceDecoderWeightsRuntime::cached_step(
1645 const std::vector<float> & embedding,

Callers 2

generate_vibevoiceFunction · 0.80
generate_vibevoice_batchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected