From f978fa29791fdd5e513cb1b2e85d6444e012650e Mon Sep 17 00:00:00 2001 From: Ozan Caglayan Date: Wed, 30 Oct 2024 13:50:49 +0000 Subject: [PATCH] Revert CPU default threads to 4 (#965) Co-authored-by: Mahmoud Ashraf --- faster_whisper/transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index da23d50..721d118 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -512,7 +512,7 @@ class WhisperModel: device: str = "auto", device_index: Union[int, List[int]] = 0, compute_type: str = "default", - cpu_threads: int = 16, + cpu_threads: int = 4, num_workers: int = 1, download_root: Optional[str] = None, local_files_only: bool = False,