Revert CPU default threads to 0

https://github.com/SYSTRAN/faster-whisper/pull/965#issuecomment-2448208010
This commit is contained in:
Mahmoud Ashraf
2024-10-30 23:00:36 +03:00
committed by GitHub
parent f978fa2979
commit 814472fdbf

View File

@@ -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,