Make ubatch benchmark cleanup failure safe
This commit is contained in:
@@ -73,6 +73,13 @@ TEMPLATE_FILE="$REPO_ROOT/scripts/chat-template.jinja"
|
||||
grep -q 'REASONING_FORMAT' "$bench"
|
||||
}
|
||||
|
||||
@test "large ubatch bench cleans up scratch server on request failure" {
|
||||
local bench="$REPO_ROOT/scripts/bench-ubatch-rocmi4.sh"
|
||||
grep -q 'SCRATCH_PID=' "$bench"
|
||||
grep -q 'kill.*SCRATCH_PID' "$bench"
|
||||
grep -qF 'eval time =\s' "$bench"
|
||||
}
|
||||
|
||||
@test "frank-default-large uses the tracked Qwen-Sharp template on :7770" {
|
||||
grep -q '^CHAT_TEMPLATE_FILE=' "$ENV_FILE"
|
||||
grep -q -- '--jinja' "$SERVE_FILE"
|
||||
|
||||
Reference in New Issue
Block a user