Commit 1dafc558 authored by Your Name's avatar Your Name

Add warning when faster-whisper runs on CPU (no CUDA)

parent c8f70fe4
...@@ -3811,6 +3811,12 @@ def main(): ...@@ -3811,6 +3811,12 @@ def main():
multi_model_manager.add_model(model_key, whisper_model) multi_model_manager.add_model(model_key, whisper_model)
print(f"Audio model loaded successfully (faster-whisper)") print(f"Audio model loaded successfully (faster-whisper)")
# Warn if using CPU (no CUDA available)
import torch
if not torch.cuda.is_available():
print("Note: faster-whisper is running on CPU (no CUDA GPU detected)")
print(" For GPU acceleration, use NVIDIA GPU with CUDA or wait for Vulkan support.")
except ImportError: except ImportError:
# faster-whisper not available, will try whispercpp below # faster-whisper not available, will try whispercpp below
faster_whisper_failed = True faster_whisper_failed = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment