Prepare isolated Qwen3.8 IQ4_XS A/B tests

This commit is contained in:
Mikei386 committed 2026-09-07 16:22:51 +02:00
1 parent 1844551534
commit 2ae61baec7
9 files changed
+371

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -Eeuo pipefail
NAME=mike-ai-llama-qwen38-ab
deadline=$((SECONDS + ${READY_TIMEOUT:-900}))
until curl -fsS --max-time 3 http://127.0.0.1:5005/health >/dev/null; do
state=$(docker inspect -f '{{.State.Running}}' "$NAME" 2>/dev/null || true)
if [[ $state != true ]]; then
docker logs --tail 100 "$NAME" >&2 || true
exit 1
fi
if ((SECONDS >= deadline)); then
docker logs --tail 100 "$NAME" >&2 || true
exit 1
fi
sleep 2
done
curl -fsS http://127.0.0.1:5005/props
printf '\nA/B test server is ready.\n'