Running CLI and loading model #262
-
Is the whole model loaded into memory every time whisper is run as a cli? Is there any way to avoid this so that a cli can be used as a batch processing tool? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This project does not provide a CLI. Did you build your own CLI or are you using another project? In general the CLI can accept multiple input files so that the model is loaded only once and used multiple times. |
Beta Was this translation helpful? Give feedback.
-
Yes.
If args are implemented same as vanilla whisper then this should work: |
Beta Was this translation helpful? Give feedback.
This project does not provide a CLI. Did you build your own CLI or are you using another project?
In general the CLI can accept multiple input files so that the model is loaded only once and used multiple times.