Performance & Slowness #111
Replies: 4 comments 10 replies
-
Best question is are you compiling in release mode? Failing that, it'd be nice to see your code. There's no way to stream audio due to fundamental limitations in the whisper model itself, which feeds audio in 30-second chunks, so you must load the entire file into memory and process that. |
Beta Was this translation helpful? Give feedback.
-
Checked in release mode |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I made this open source project vibe vibe.mp4 |
Beta Was this translation helpful? Give feedback.
-
I tried to run
whisper-rs-cli
on16khz
mono
wav file with length of30s
(default cli params)It took
1m
and9.408s
.Spec:
amd ryzen 5 4500u
,windows 11
I tried to split the samples and call
state.full_n_segments
multiple times and it was, slower, took1m
and47.975s
Beta Was this translation helpful? Give feedback.
All reactions