Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion tools/ci/token_rate_floor_device.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
# that silently passes because there was no model would be exactly the failure this tool exists to catch.
set -u
ROOT=${1:-$(cd "$(dirname "$0")/../.." && pwd)}
FLOOR=${TOKEN_RATE_FLOOR:-0}
# A REAL default, not 0. `--floor 0` means "record, do not judge" and exits 77 (SKIP), so a default of 0 would
# make this row a permanent skip: registered, tested, never applied -- engine#2418's defect. 60 is measured, not
# guessed: this row's own model (Qwen3-0.6B-Q4_K_M) ran **144.5 tok/s** sequential through `1bit serve` on
# gfx1151 (2026-11-15), so 60 keeps 2.4x headroom and still catches a 2.4x regression. Override with TOKEN_RATE_FLOOR.
FLOOR=${TOKEN_RATE_FLOOR:-60}
if [ "$FLOOR" = "0" ]; then
echo "SKIPPED: token_rate_floor device row did NOT run -- TOKEN_RATE_FLOOR=0 is record-only, which asserts nothing; unset it to judge at the default 60" >&2
exit 77
fi
PORT=${TOKEN_RATE_PORT:-8191}
SKIP=77

Expand Down
Loading