Alignment heads [(layer, head), …] from the checkpoint (word timestamps); falls back to every head of the last half of the decoder layers.
The optimized execution path (packages/inference/src/models/whisper/fast.ts), built lazily.
TextDecoder.call: tokens [B, T] int32, audioFeatures [B|1, 1500, D].
Returns logits [B, T, n_vocab] (weight dtype) and, when requested, the
per-layer raw cross-attention qk for alignment. Mutates cache.
A fresh faithful-path decoder cache.
Raw checkpoint tensor (borrowed; the fast path composes its own graphs).
What the transcription engine needs of a speech-recognition graph: the faithful encoder/decoder, the optimized path, and the checkpoint facts window decoding and word timing read. The engine never names the class that implements it.