More CUDA checking - thx David :)

See https://github.com/SubtitleEdit/subtitleedit/issues/7282#issuecomment-1703942578
This commit is contained in:
niksedk 2023-09-03 07:00:48 +02:00
parent 4855d0f6d2
commit df8e18e80e

View File

@ -289,6 +289,11 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
return;
}
}
if (!IsFasterWhisperCudaInstalled() && IsFasterWhisperCudaSupported())
{
DownloadCudaForWhisperFaster(this);
}
}
else
{
@ -1974,6 +1979,8 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
return;
}
SeLogger.WhisperInfo("CUDA check reports: " + outLine.Data);
if (!outLine.Data.Contains("CUDA device: 0") && outLine.Data.Contains("CUDA device:"))
{
CudaSomeDevice = true;