faster_whisper batch operation time-consuming
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 536
- Avg merge
- 12h 12m
- Merged PRs (30d)
- 4
Description
Is this related to CTranslate?
The following is copied from this .
I have made a test, for batching in faster-whisper.
But faster_whisper batch encode consume multiple time as sample's amount, it seems encode in batch not work as expected by CTranslate?
By the way, the decode/generate have the same issue when in-Batch ops.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported faster-whisper batch encode and decode/generate timings against the CTranslate2 behavior described in the issue and the linked faster-whisper report. Compare batched operations with equivalent single-sample operations and determine whether the observed scaling is expected; done means the behavior is explained or a focused fix is validated with timing evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- machine-learning, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100