andrijdavid
d196646811
community[patch]: Refactor OpenAIWhisperParserLocal ( #15150 )
...
This PR addresses an issue in OpenAIWhisperParserLocal where requesting
CUDA without availability leads to an AttributeError #15143
Changes:
- Refactored Logic for CUDA Availability: The initialization now
includes a check for CUDA availability. If CUDA is not available, the
code falls back to using the CPU. This ensures seamless operation
without manual intervention.
- Parameterizing Batch Size and Chunk Size: The batch_size and
chunk_size are now configurable parameters, offering greater flexibility
and optimization options based on the specific requirements of the use
case.
---------
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com >
2024-01-15 12:29:14 -08:00
..
2023-12-11 13:53:30 -08:00
2024-01-15 12:29:14 -08:00
2024-01-15 10:32:42 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-22 13:14:22 -08:00
2023-12-11 13:53:30 -08:00
2024-01-01 16:13:28 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2024-01-07 09:28:52 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-26 11:22:59 -08:00
2023-12-11 13:53:30 -08:00
2024-01-12 11:01:28 -08:00
2023-12-11 13:53:30 -08:00
2023-12-19 08:58:24 -05:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2024-01-07 09:33:35 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-22 11:49:35 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-22 11:49:35 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-19 08:58:24 -05:00
2023-12-11 13:53:30 -08:00
2023-12-22 12:39:38 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2024-01-01 14:02:56 -08:00
2023-12-11 13:53:30 -08:00
2023-12-22 11:49:35 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2024-01-07 08:31:53 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-22 11:49:35 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2024-01-15 10:32:42 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-22 11:49:35 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00
2023-12-11 13:53:30 -08:00