Document running CPU Redux preview without Deck restart
This commit is contained in:
1 parent
81cc316ebe
commit
45bc86e58e
2 files changed
+38
-2
No files matched your search
@@ -1,7 +1,8 @@
|
||||
# Parakeet Redux — preparation on Athena, 2026-10-13
|
||||
|
||||
**Prepared only. No transcription test, app activation/restart, endpoint publication,
|
||||
service launch or change to running Qwen/Strata/audio policies.**
|
||||
**Deck update remains prepared/inactive. By subsequent explicit user request, the
|
||||
isolated Redux CPU preview is now started. No transcription test, app activation/restart,
|
||||
endpoint publication or change to running Qwen/Strata/audio policies.**
|
||||
|
||||
## Files and runtime
|
||||
|
||||
@@ -104,3 +105,21 @@ Official sources:
|
||||
- https://github.com/mudler/parakeet.cpp/blob/v0.6.1/examples/server/README.md
|
||||
- https://github.com/mudler/parakeet.cpp/blob/v0.6.1/docs/ultra-redux.md
|
||||
- https://huggingface.co/moondream/parakeet-redux
|
||||
|
||||
## CPU preview started later on user request
|
||||
|
||||
`athena-parakeet-redux-preview.service` runs the prepared native CPU server at
|
||||
`127.0.0.1:18097`. GET `/health` returned200 and `{"status":"ok"}`. Measured
|
||||
service memory387096576 bytes (~369MiB); this is loaded/idle memory, not peak
|
||||
transcription memory. No transcription request or quality/speed test has run.
|
||||
Strata PID3127 and GPU allocations11236/15348MiB stayed identical before/after.
|
||||
|
||||
The host's restrictive Deck parent directories are preserved. A read-only bind
|
||||
inside the service namespace gives UID65534 access through
|
||||
`/var/lib/athena-parakeet-preview/runtime`; no model copies or broader directory
|
||||
permissions. `start-preview.sh` reproduces this layout without starting Deck.
|
||||
The service is transient, not boot-enabled and not exposed publicly. Its future
|
||||
recipe suppresses stdout/stderr so reference audio/transcripts cannot enter its logs.
|
||||
It is not selectable in the currently running Deck app until the prepared app
|
||||
update is activated. After the regular integration is activated and ready, stop
|
||||
only this temporary preview with `systemctl stop athena-parakeet-redux-preview`.
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
# Native preview only. No Deck/model changes. Called explicitly by the operator.
|
||||
set -eu
|
||||
[ "$(id -u)" = 0 ] || { echo 'Run as root'; exit 1; }
|
||||
if systemctl is-active --quiet athena-parakeet-redux-preview; then exit 0; fi
|
||||
runtime_root=${PARAKEET_PREVIEW_ROOT:-/opt/athena-deck-dev/runtime/state/parakeet-runtime/v0.6.1}
|
||||
target=/var/lib/athena-parakeet-preview/runtime
|
||||
install -d -m 755 "$target"
|
||||
systemctl reset-failed athena-parakeet-redux-preview 2>/dev/null || true
|
||||
systemd-run --unit=athena-parakeet-redux-preview \
|
||||
--property=User=65534 --property=Group=65534 --property=Nice=10 \
|
||||
--property=NoNewPrivileges=yes --property=PrivateTmp=yes --property=ProtectSystem=strict \
|
||||
--property=StandardOutput=null --property=StandardError=null \
|
||||
--property="BindReadOnlyPaths=$runtime_root:$target" \
|
||||
--setenv=CUDA_VISIBLE_DEVICES= --setenv=OMP_NUM_THREADS=2 \
|
||||
/usr/bin/env "$target/runtime/parakeet-v0.6.1-bin-linux-cpu-x64/parakeet-server" \
|
||||
--model "$target/redux-packed.gguf" --host 127.0.0.1 --port 18097 --threads 2 --concurrency 1
|
||||
Reference in new issue
Block a user