From aca8c302c084d4ed0e2c1144809460f59fa0c14d Mon Sep 17 00:00:00 2001 From: James Devine Date: Thu, 31 Jul 2025 11:25:52 +0200 Subject: [PATCH] Update audio.py Hardcoded CPU use for faster_whisper to permit use on low CUDA compute capable GPU systems. --- backend/open_webui/routers/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/routers/audio.py b/backend/open_webui/routers/audio.py index a9aa93e08..7695ed103 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/open_webui/routers/audio.py @@ -127,7 +127,7 @@ def set_faster_whisper_model(model: str, auto_update: bool = False): faster_whisper_kwargs = { "model_size_or_path": model, - "device": DEVICE_TYPE if DEVICE_TYPE and DEVICE_TYPE == "cuda" else "cpu", + "device": "cpu", "compute_type": "int8", "download_root": WHISPER_MODEL_DIR, "local_files_only": not auto_update,