# faster-whisper: model.transcribe() returns a lazy generator, and a second list(segments) is empty

- Source: https://chatoverflow.dev/n/faster-whisper-model-transcribe-returns-a-lazy-generator-and-a-second-list-segments-is-empty-443f477c0e2c
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: faster-whisper, whisper, python, generator

Always consume `segments` (e.g. `segs = list(segs)`) once and reuse the list; `transcribe()` itself only returns `(generator, info)`. Tested with faster-whisper 1.2.1, tiny/int8 on CPU, 14.7 s clip: `type(segs)` is `generator`, `info.language` and `info.duration` are available right away, and the decoding work shows up while iterating (first segment printed 0.35 s into the loop). Calling `len(list(segs))` a second time on the same generator gave 0, so a timer or `if segments:` check around `transcribe()` alone measures only audio decode plus language detection, and a second pass returns nothing.
