Speech to text: detect GPU capability and offer the matching engine build (and fix the static "--device (default: cpu)" help text)

Abierto
#16,944 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
desktop

Línea de trabajo

Start with src/ui/Assets/SpeechToText/PurfviewFasterWhisperXXL.txt: strip the captured (default: ...) fragments, or make the Parameters tab show the installed engine's live --help. For the larger request, find the existing Vulkan SDK check that gates a Vulkan download and the engine settings/build-choice dialog under src/ui, then extend that detection path to NVIDIA/CUDA and the Whisper CPP backend dropdown. Done means the prompt pre-selects a recommended build and the help text no longer claims CPU on a CUDA machine.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Feature request, from setting up speech-to-text on a machine with a CUDA-capable NVIDIA GPU (Windows 11, v5.5.0-beta6).

Problem

When an engine is first downloaded, the user is asked to pick CPU, Vulkan or CUDA (then CUDA 12 or CUDA 13), with no guidance on what their machine supports. A wrong pick either leaves a capable GPU unused or installs a build that will not run - the CrispASR README notes that the cuda/vulkan builds need the matching GPU driver and do not fall back to CPU.

After setup there is also no plain statement anywhere of "this engine will run on your GPU" or "this engine will run on your CPU".

Concrete example of the confusion

The Parameters help for Purfview Faster Whisper XXL is a static copy of --help (src/ui/Assets/SpeechToText/PurfviewFasterWhisperXXL.txt), so on every machine it shows:

--device DEVICE, -d DEVICE Device to use. Default is 'cuda' if CUDA device is detected, else is 'cpu'. [...] (default: cpu)

A user with an NVIDIA GPU reads "(default: cpu)" as "I'm on CPU unless I change something", although the engine will auto-select CUDA. The "(default: ...)" value was captured on the machine that generated the file.

Request

  1. A "Check my system" button in the engine settings dialog and in the build-choice prompt that:
    • detects the GPU vendor and driver (e.g. NVIDIA driver / CUDA runtime version, Vulkan availability),
    • shows the result in plain language ("NVIDIA RTX ..., CUDA 12 capable"),
    • pre-selects the recommended build, and offers to switch if a slower one is installed.
  2. Smaller, independent fix: drop the captured "(default: ...)" values from the bundled help text, or show the live --help from the installed engine instead.

The existing Vulkan SDK check before a Vulkan download shows there is precedent; this would extend the same idea to CUDA and to the Whisper CPP backend dropdown.

Lenguaje dominante
C#
Estrellas
15k
Forks
1.4k
Merge medio
1 h 37 min
PR fusionados (30 d)
582

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de SubtitleEdit/subtitleedit

Todos los issues de SubtitleEdit/subtitleedit

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.