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

オープン
#16,944 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C#
スター
15k
フォーク
1.4k
平均マージ
1時間 37分
マージ済み PR(30日)
582

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SubtitleEdit/subtitleedit のほかの issue

SubtitleEdit/subtitleedit の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。