Methodforward_chunkForward self-attention with kv cache.
Args:
hidden_states: shape (b, t, c)
kv_cache: shape (b, nh, t, c*2)
fireredtts2/codec/whisper.py:81
Methodforward_chunkForward self-attention with kv cache.
Args:
hidden_states: shape (b, t, c)
kv_cache: shape (b, nh, t, c*2)
fireredtts2/codec/whisper.py:164
Methodgenerate_monologue(
self, text, prompt_wav=None, prompt_text=None, temperature=0.75, topk=20
)
fireredtts2/fireredtts2.py:406
Functionsummarize(
writer,
global_step,
scalars={},
histograms={},
images={},
audios={},
aud
fireredtts2/llm/utils.py:261