mirror of
https://github.com/SYSTRAN/faster-whisper.git
synced 2026-01-09 21:48:08 -05:00
Revert CPU default threads to 0
https://github.com/SYSTRAN/faster-whisper/pull/965#issuecomment-2448208010
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 = 4,
|
cpu_threads: int = 0,
|
||||||
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