Files
WhisperLiveKit/whisperlivekit
Quentin Fuxa 8c799fa4d1 fix simulstreaming vram leak: cap cross-attn accumulation + token budget
fixes #283, fixes #275

- accumulated_cross_attns was growing unboundedly during decoding loop,
  using up to ~5GB for repetition loops. now capped to rolling window of 16
- max_tokens_per_chunk was using TOKENS_PER_SECOND (mel frame rate = 50)
  instead of actual text token rate (~15/s), allowing 10-40x too many
  decoding steps
- removed unused torch.cat on early return path
- removed dead self.committed/last_result_tokens lists (never read)
- same fixes applied to mlx variant
2026-02-11 22:10:00 +01:00
..
2025-11-23 11:20:00 +01:00
2025-12-05 17:54:14 +01:00
2025-11-23 11:20:00 +01:00
2025-11-15 19:51:41 +01:00
2025-11-23 11:20:00 +01:00
2026-01-09 11:23:19 -05:00
2025-11-23 11:20:00 +01:00
2025-11-29 17:21:10 +01:00
2025-11-23 11:20:00 +01:00