Revert CPU default threads to 4 (#965)

Co-authored-by: Mahmoud Ashraf <hassouna97.ma@gmail.com>
This commit is contained in:
Ozan Caglayan
2024-10-30 13:50:49 +00:00
committed by GitHub
parent 2386843fd7
commit f978fa2979

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 = 16,
cpu_threads: int = 4,
num_workers: int = 1,
download_root: Optional[str] = None,
local_files_only: bool = False,