WhisperLive icon indicating copy to clipboard operation
WhisperLive copied to clipboard

Provide .srt with backend TensorRT

Open PatLemaire opened this issue 6 months ago • 1 comments

Hi, After several attempts to modify the client, I notice that the 'segments' returned by the TensorRT backend are not in the same form as those in faster_whisper. There is no start, end or completed. As a result, it is not possible to obtain a transcription for this backend. Is it possible to modify the segments so that they are compatible?

PatLemaire avatar Oct 24 '25 14:10 PatLemaire

Yes, because tensorrt backend has a different implementation for the token decoding i.e. it doesnt decode with time-stamps. We have a closed issue on TensorRT-LLM => https://github.com/NVIDIA/TensorRT-LLM/issues/647

Feel free to open a PR

makaveli10 avatar Nov 11 '25 11:11 makaveli10