Add Vulkan GPU deployment support for fertigungski

This commit is contained in:
admin committed 2026-10-12 15:18:54 +02:00
1 parent 9ce4af69be
commit 63182ef32a
11 files changed
+269

No files matched your search

+44
View File
@@ -262,3 +262,47 @@ Meeting Lab retains immutable generation records including prompt, transcript
input, model response/metadata, glossary configuration, mappings and Meeting
Context. Latest protocol/diagnostic/context paths resolve through an atomic
`protocol/current` link. Copy whole runs with relative symlinks preserved.
## Explicit Whisper backend
`MKA_WHISPER_BACKEND=cpu|vulkan|auto` is forwarded to Meeting Lab. The portable
default is `auto`. CPU explicitly disables GPU execution. Vulkan requires
selected hardware-backend diagnostics and successful inference; Auto emits a
warning and records any CPU fallback. Backend and executable/model provenance
are saved in the run's transcription metadata and diagnostic files. Transcript
formats, language, threads, flash attention and Ollama settings are unchanged.
Use the paired Meeting Lab change, including its `docs/whisper-vulkan.md`, before
running this Assistant revision. That document contains the pinned separate
build and controlled benchmark procedure. Keep the original executable/model.
On fertigungski, `./run_fertigungski.sh` defaults to the original CPU installation.
After successful R9700 validation, select the separate build explicitly:
```bash
MKA_WHISPER_BACKEND=vulkan ./run_fertigungski.sh
```
For reported fallback within the Vulkan binary, select `auto` instead. Both
modes select `/opt/whisper.cpp/build-vulkan/bin/whisper-cli` by default; an explicit
`MKA_WHISPER_EXECUTABLE` overrides the path. Changing the launcher's host default
to Vulkan is deferred until actual hardware validation and benchmarking pass.
The launcher does not change the existing local `start.sh` or Ollama service configuration.
Rollback selects the preserved CPU binary and same model:
```bash
MKA_WHISPER_BACKEND=cpu \
MKA_WHISPER_EXECUTABLE=/opt/whisper.cpp/build/bin/whisper-cli \
./run_fertigungski.sh
```
The fertigungski launcher permits only `qwen3.8:27b`. The additive Ollama service
policy sets one resident model and two parallel inference requests, while
Assistant keeps its explicit 32768-token context. Ollama and Vulkan Whisper run
independently; no global GPU lock or scheduler is introduced. Confirmed GPU OOM
is reported, and any Auto Whisper CPU fallback retains that diagnostic. See
[host concurrency deployment, benchmarking and rollback](docs/gpu-concurrency.md).
The service policy and Vulkan host default require live host validation before
being marked active.