mirror of
https://github.com/SYSTRAN/faster-whisper.git
synced 2026-07-23 11:10:58 -05:00
Revert CPU default threads to 4 (#965)
Co-authored-by: Mahmoud Ashraf <hassouna97.ma@gmail.com>
This commit is contained in:
@@ -512,7 +512,7 @@ class WhisperModel:
|
|||||||
device: str = "auto",
|
device: str = "auto",
|
||||||
device_index: Union[int, List[int]] = 0,
|
device_index: Union[int, List[int]] = 0,
|
||||||
compute_type: str = "default",
|
compute_type: str = "default",
|
||||||
cpu_threads: int = 16,
|
cpu_threads: int = 4,
|
||||||
num_workers: int = 1,
|
num_workers: int = 1,
|
||||||
download_root: Optional[str] = None,
|
download_root: Optional[str] = None,
|
||||||
local_files_only: bool = False,
|
local_files_only: bool = False,
|
||||||
|
|||||||
Reference in New Issue
Block a user