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

Aperta
#16,944 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
15k
Fork
1.4k
Merge medio
1h 37m
PR unite (30g)
582

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SubtitleEdit/subtitleedit

Tutte le issue di SubtitleEdit/subtitleedit

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.