harness: tolerate missing container in ASI capture; llama cmdline fallback
This commit is contained in:
+4
-1
@@ -69,7 +69,10 @@ fi
|
|||||||
|
|
||||||
# 5. Identity evidence for the loop's records (exact engine argv).
|
# 5. Identity evidence for the loop's records (exact engine argv).
|
||||||
ASI_ARGS="$(ssh "$HOST" 'podman inspect frank-large-mimo \
|
ASI_ARGS="$(ssh "$HOST" 'podman inspect frank-large-mimo \
|
||||||
--format "{{join .Config.Cmd \" \"}}" 2>/dev/null' | tr -d "\n" | head -c 400)"
|
--format "{{join .Config.Cmd \" \"}}" 2>/dev/null' | tr -d "\n" | head -c 400 || true)"
|
||||||
|
if [ -z "$ASI_ARGS" ]; then
|
||||||
|
ASI_ARGS="$(ssh "$HOST" "tr '\\0' ' ' < /proc/\\$(pgrep -x llama-server | head -1)/cmdline 2>/dev/null" | head -c 400 || true)"
|
||||||
|
fi
|
||||||
echo "ASI engine_args=${ASI_ARGS:0:400}"
|
echo "ASI engine_args=${ASI_ARGS:0:400}"
|
||||||
|
|
||||||
# 6. The battery, on the host, medians over 3 reps x 2 greedy prompts.
|
# 6. The battery, on the host, medians over 3 reps x 2 greedy prompts.
|
||||||
|
|||||||
Reference in New Issue
Block a user