Repository navigation
feat(bench): add freetpu-bench suite and 60s TPU playbooks (#3) - #8
Closed
saariuslystoned wants to merge 18 commits into
Closed
saariuslystoned wants to merge 18 commits into
saariuslystoned wants to merge 18 commits into
Conversation
4 of 11 tasks
…GB capacity, label half-RTT
…t, skip JAX init for comms-only
…he BW from DRAM score, fix JAX CPU labels
…r --allow-jax-cpu, use procfs RPC check
…g in direct Colab playbook
…ate ADB socket, reject shared output paths
5 of 8 tasks
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #3
Summary
Ships
freetpu-bench+ 4 Copy-Paste 60-Second Playbooks (inspired bynvbench,nvbandwidth,nccl-tests, anddgx-spark-playbooksfor TPUs) while keeping full file-level independence from sibling PRs (tools/colab_tpu_bench.py,skills/freetpu/,freetpu_tile/untouched).Deliverables
bench/freetpu_bench.py(clean-room stdlib +numpy, optionaljax, headlesscolabCLI runner):--suite compute(nvbench-style): BF16 / INT8 / W8A16 GEMM, fusedGEMM + SiLU, and small-op dispatch floor sweep (1x64x32..8192x8192x8192).--suite bandwidth(nvbandwidth-style): HBM2e / LPDDR triad streaming (a + s * b) GB/s + host<->device (H2D/D2H) latency.--suite comms(nccl-tests-style): TCP / USB-Ethernet / RPC activation-hop latency (us) and bidirectional throughput (GB/s) across16 KB – 4 MBPP/MoE payloads (with--comms-serverfor two-node wired Pixel testing).--backend cpu|buenos_mock|jax_tpu|colab_tpu+--json+--markdownscorecard comparingmeasuredrows againstpublished-referencebaselines (Pixel Tensor G5buenos_a0, Cloud TPUv5e-1, Cloud TPUv6e-1, NVIDIA H100 SXM, RTX 5090) with normalized$/1M tokensandTFLOP/s-per-$economics and explicit public pricing citations.--self-test: fast offline deterministic test suite (compute,bandwidth,comms, scorecard integrity, andcolab_tpuv6e1 -> v5e1fallback).playbooks/:playbooks/01-pixel-tensor-g5-baremetal.mdplaybooks/02-colab-cloud-tpu-v5e-v6e.mdplaybooks/03-dual-pixel-wired-cluster.mdplaybooks/04-cost-per-token-vs-gpu.mdpython3 bench/freetpu_bench.py --self-testinto.github/workflows/ci.ymland addedBenchmarks & Playbooks (freetpu-bench)toREADME.md.Verification
python3 bench/freetpu_bench.py --self-test-> PASSmake -C libopenbuenos verify-header-host host test-> PASS (16/16suites)emit_custom_gemm.py,dgc0_builder.py,spline_0x640.py,pack_int4.py,verify_*.py) -> PASS82repo files -> PASS (0vendor binaries or private paths)v6e1ReadTimeout fallback ->v5e1, auto-stopped cleanly) + localcommsloopback run ->178.56 TFLOP/sBF16,356.96 TOPSINT8,652.30 GB/sHBM2e triad,130.45 ussync floor,36.62 us1-way16 KBloopback hop (7.21 GB/speak at4 MB).