Will enable GPU for windows for recording transcriber (#1083)

This commit is contained in:
Raivis Dejus 2025-02-16 20:21:11 +02:00 committed by GitHub
commit 7861e2bd85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,10 +87,6 @@ class RecordingTranscriber(QObject):
model_root_dir = os.getenv("BUZZ_MODEL_ROOT", model_root_dir)
device = "auto"
if platform.system() == "Windows":
logging.debug("CUDA GPUs are currently no supported on Running on Windows, using CPU")
device = "cpu"
if torch.cuda.is_available() and torch.version.cuda < "12":
logging.debug("Unsupported CUDA version (<12), using CPU")
device = "cpu"