From 7f0ef74871f3c50413abe41b0739e8f98f93f8f3 Mon Sep 17 00:00:00 2001 From: Zhaowen Wang <50333897+Hellwz@users.noreply.github.com> Date: Sat, 14 Sep 2024 15:29:25 +0800 Subject: [PATCH] Modify the description of "cpu_threads" Seems the default value of cpu_threads has been changed. The description should be changed accordingly. --- faster_whisper/transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index 8652e82b..a124b988 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -610,7 +610,7 @@ def __init__( when transcribe() is called from multiple Python threads (see also num_workers). compute_type: Type to use for computation. See https://opennmt.net/CTranslate2/quantization.html. - cpu_threads: Number of threads to use when running on CPU (4 by default). + cpu_threads: Number of threads to use when running on CPU (16 by default). A non zero value overrides the OMP_NUM_THREADS environment variable. num_workers: When transcribe() is called from multiple Python threads, having multiple workers enables true parallelism when running the model