File size: 542 Bytes
0f7408a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
set -euo pipefail

# Run a reproducible throughput gate.
# Default gate: 50k TPS steady-state.
#
# Usage:
#   bash scripts/run_tps_gate.sh [config] [seconds] [min_tps]
# Example:
#   bash scripts/run_tps_gate.sh baseline 300 50000

CONFIG="${1:-baseline}"
SECONDS_BUDGET="${2:-300}"
MIN_TPS="${3:-50000}"

echo "[tps-gate] config=$CONFIG seconds=$SECONDS_BUDGET min_tps=$MIN_TPS"

python scripts/benchmark_hyena_stack.py \
  --config "$CONFIG" \
  --time "$SECONDS_BUDGET" \
  --min-tps "$MIN_TPS"

echo "[tps-gate] PASS"