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

+29
View File
@@ -315,3 +315,32 @@ run directories preserving relative symlinks. Process interruption may leave an
unreferenced record or temporary directory, never a partial current generation.
This local POSIX-filesystem contract does not promise power-loss durability or
network-filesystem transaction semantics.
## Explicit Whisper execution policy
Whisper remains the transcription engine. The new backend policy supports CPU,
Vulkan and Auto independently of model/language/thread settings. CPU uses
`--no-gpu`; Vulkan requires selected hardware-backend diagnostics; Auto warns
and records a single forced-CPU retry for missing evidence or recognized backend
failures, while unrelated failures are not retried. The parser targets the
pinned `978113305b2ead22249b881deafa131dc8884911` CLI diagnostic format. Software
Vulkan is rejected. Existing transcript output formats remain unchanged.
Transcription metadata records execution backend and executable/model checksums;
per-attempt logs and diagnostics survive failures. The build and benchmark
scripts described in `docs/whisper-vulkan.md` preserve the CPU installation and
never invoke Ollama. Actual R9700 validation requires host device access and is
not established by a successful compile alone.
## Independent Ollama/Whisper concurrency and memory diagnostics
Lab does not coordinate Ollama's native queue with the Whisper subprocess.
Confirmed Vulkan device OOM, host OOM, unspecified OOM and GPU allocation errors
are distinguished. Whisper Auto can retain device-OOM evidence after one CPU
retry; explicit Vulkan fails clearly. Ollama memory failures are surfaced without
retries. Pipeline metadata includes a memory classification when available.
The opt-in concurrency benchmark uses qwen3.8:27b with num_ctx=32768; compares
serial, two-request parallel and parallel-plus-Whisper cases; and captures
read-only resource telemetry. It does not modify server settings, models, power
limits or existing meeting artifacts, and adds no production scheduler.