Add Vulkan Whisper backend and GPU concurrency tooling

This commit is contained in:
admin committed 2026-10-12 15:19:12 +02:00
1 parent 405fa6cdf4
commit b3f8baa7ca
18 files changed
+1326 -12

No files matched your search

+2
View File
@@ -25,6 +25,7 @@ def parse_args(argv: list[str] | None = None) -> argparse.Namespace:
parser.add_argument("--language", default="auto", help="Language code or 'auto' (default: auto).")
parser.add_argument("--threads", default="auto", help="Thread count or 'auto' for physical CPU cores (default: auto).")
parser.add_argument("--whisper-executable", default="whisper-cli", help="whisper.cpp CLI executable (default: whisper-cli).")
parser.add_argument("--whisper-backend", choices=("cpu", "vulkan", "auto"), default="auto")
return parser.parse_args(argv)
@@ -38,6 +39,7 @@ def main(argv: list[str] | None = None) -> int:
args.language,
executable=args.whisper_executable,
threads=args.threads,
backend=args.whisper_backend,
)
except TranscriptionError as exc:
print(f"Error: {exc}")