From 814472fdbf7faf5d77d65cdb81b1528c0dead02a Mon Sep 17 00:00:00 2001 From: Mahmoud Ashraf Date: Wed, 30 Oct 2024 23:00:36 +0300 Subject: [PATCH] Revert CPU default threads to 0 https://github.com/SYSTRAN/faster-whisper/pull/965#issuecomment-2448208010 --- 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 721d118..a8db571 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 = 4, + cpu_threads: int = 0, num_workers: int = 1, download_root: Optional[str] = None, local_files_only: bool = False,