Skip to content

feat(bench): add three-phase prefill fleet benchmark - #174

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/prefill-benchmark-task-0716
Jul 16, 2026
Merged

feat(bench): add three-phase prefill fleet benchmark#174
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/prefill-benchmark-task-0716

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • add one terminal command that safely ensures Primary/allens services, then runs remote compute, Primary hot hit, and allens cold restore phases while leaving services running
  • measure append/prefill latency, TTFT, decode latency, generation ms/token, decode tok/s, E2E tok/s, hit source, transferred bytes and failure deltas
  • persist privacy-safe benchmark runs, live progress, stage detail and summary history in NetworkState with 200-run retention
  • add public benchmark list/live/detail/stages APIs and API-key-protected create/update endpoints
  • add a kakeya.ai Benchmarks tab with live status, phase cards, history and detail tables

Privacy

Reports reject prompt text, token IDs, cache keys, block hashes, private IPs and /Users paths. Public config contains only logical model/topology settings and a salted prefix ID.

Tests

  • full platform-neutral Python suite — 846 passed, 1 skipped
  • new benchmark/network/distributed modules — 100% coverage
  • TypeScript SDK — 54 passed, 100% coverage and typecheck
  • schema derivation, gate failures, persistence/retention, API auth/pagination, redaction and dashboard surface tests pass
  • shell syntax, Python compile and diff checks pass

Live validation after merge

Deploy to Primary, run bash scripts/run_prefill_architecture_benchmark.sh --output-tokens 32, verify all three phases, then confirm local and public /v1/network/benchmarks plus the kakeya.ai Benchmarks tab.

Made with Cursor

Provide one terminal task for remote compute, Primary hot hit, and allens cold restore; persist privacy-safe timing and hit metrics and render live/history/detail reports on the network dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit 018be36 into main Jul 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant