Skip to content

Commit

Permalink
Revert CPU default threads to 4 (#965)
Browse files Browse the repository at this point in the history
Co-authored-by: Mahmoud Ashraf <[email protected]>
  • Loading branch information
ozancaglayan and MahmoudAshraf97 authored Oct 30, 2024
1 parent 2386843 commit f978fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faster_whisper/transcribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def __init__(
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,
Expand Down

0 comments on commit f978fa2

Please sign in to comment.