Skip to content

proof(cloud-tpu): Cloud TPU v6e-8 Trillium live proof packet (#3) - #15

Merged
saariuslystoned merged 3 commits into
mainfrom
proof/cloud-tpu-v6e8
Dec 1, 2026
Merged

saariuslystoned merged 3 commits into
mainfrom
proof/cloud-tpu-v6e8

Conversation

@saariuslystoned

@saariuslystoned saariuslystoned commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Updates proof/cloud-tpu-v6e8/PROOF.md (merged with current main) as the historical Google-stack baseline (2026-11-22) for Cloud TPU v6e-8 (Trillium) alongside the 15 untouched raw JSON, Prometheus, log, and CNCF CDI artifacts under proof/cloud-tpu-v6e8/artifacts/.

Verified Baseline Scope (v6e-8, 8 × PCI 1ae0:006f, 256 GiB HBM)

  • Non-privileged CNCF CDI v0.6.0 (ops/tpu-cdi): generated freetpu.dev/tpu spec (9 entries: 0..7 + all in artifacts/freetpu_cdi.json); container output (artifacts/02_tpu_cdi_container_jax.txt) records 9 VFIO nodes, jax 0.11.2, 8 × TPU v6 lite, and cdi_matmul_sum=512.0 (operator launch reported non-privileged execution with --net=host; subsequent main PR #24 added CDI v1.1.0 opt-in and --network-mode isolated / --single-host-env).
  • Prometheus Telemetry (ops/tpu-exporter): preserves two separate capture snapshots:
    • artifacts/03_tpu_exporter_serving.prom: full 8-chip scrape (0.093452 s, freetpu_tpu_devices_discovered 8, freetpu_tpu_pci_enabled=1, freetpu_tpu_pid_telemetry_available=1, pid="49352", freetpu_tpu_info_available 0, telemetry_source="sysfs-fallback").
    • artifacts/03_tpu_exporter_tpuinfo_ok.txt: separate 10-line excerpt (chip="0..4", freetpu_tpu_info_available 1), explicitly documenting the VFIO index discrepancy where 0000:00:0e.0 (chip="3") maps to /dev/vfio/1 vs /dev/vfio/7 in 03_tpu_exporter_serving.prom and freetpu_cdi.json.
  • Compute & HBM Benchmarks (artifacts/04_bench_v6e8.*, artifacts/04_v6e8_8chip_fp8_hbm.json): 651.03 TFLOP/s BF16 / 1,146.58 TOPS INT8 / 1,335.25 GB/s HBM triad (1335.245 GB/s JSON; 1335.24 scorecard display) (1-chip peak, produced by prototype bench/freetpu_bench.py from closed PR #8, absent from main); 2,413.06 TFLOP/s BF16 / 1,946.90 TFLOP/s FP8-input (float8_e4m3fn->bf16 upcast, no HLO trace proving native FP8 execution) / 2,934.46 TOPS INT8 / 4,667.68 GB/s triad (8-chip peak). 04_bench_v6e8.json comms targets tcp_loopback (127.0.0.1:37821).
  • @freetpu.tile_kernel (Pallas/Mosaic, artifacts/05_tile_*.json): all 4 kernels (fused_matmul_silu & swiglu, BF16 & W8A16; from closed PR #10 examples/tile_dsl/{fused_gemm_silu,swiglu}.py, absent from main) lowered with tpu_custom_call=True (self-reported mock: false) and passed float-tolerance parity checks (parity.cloud_tpu_pallas.ok: true, max_abs_err 7.63e-06 to 1.03e-02, nmse 2.41e-14 to 3.33e-05).
  • Historical Router Baseline (router/freetpu_router.py v0.1.0, pre-PR #22) + vllm-tpu Serving:
    • Qwen/Qwen3-32B (BF16, TP=8): 17.99 ms med TTFT, 124.91 tok/s 1-stream decode, 953.17 tok/s (c=16), $1.89/1M Spot / $3.15/1M Flex (implied ~$6.48/hr / ~$10.80/hr).
    • unsloth/Llama-3.3-70B-Instruct (BF16, TP=8): 31.09 ms med TTFT, 60.51 tok/s 1-stream decode, 632.73 tok/s (c=16), $2.84/1M Spot / $4.74/1M Flex.
    • Explicitly notes tpu_exporter_snapshot.hbm_used_gib: 0.0 reflects hbm_used_bytes: null (live HBM usage unavailable), historical v0.1.0 ghost inflight counts (active_inflight: 26 and 24 despite c <= 16), and freetpu_router_backend_healthy 0 in 06_router_metrics.prom.
  • Bracket 3 Root Causes (artifacts/06_bracket3_root_causes.txt): curated excerpts + notes for openai/gpt-oss-120b (IndivisibleError at TP=8, NotImplementedError in default GMM EP, and f4E2M1FN Mosaic type errors under MOE_TC_PERMUTE=1 / USE_MOE_EP_KERNEL=1), Qwen3-235B-FP8 (220.19 GiB loaded in 53.03 s followed by RuntimeProgramAllocationFailure 864.12M vs 592.05M), and auto_gptq non-support.

Phase 2 Status (2026-11-22 Capture Context)

  • Waiting on GCP quota approval at capture time for Ironwood (tpu7x-standard-4t, 4 chips / 768 GiB HBM3e) (TPUS-PER-TPU-FAMILY tpu_family=tpu7x + PREEMPTIBLE-TPU7X). Subsequent main updates already landed CDI v1.1.0 opt-in (PR #24), the _SSEReactor router fix (PR #22), and native ggml-cloudtpu / libopentpu / freetile components.

Verification

Refs #3
Refs #16
Refs #44

@saariuslystoned

Copy link
Copy Markdown
Collaborator Author

Proof Integrity & Public-Roads Safety Audit Receipt (6d34b82c)

  • Audited head: 6d34b82c (no fixes required — confirmed clean)
  • Public-roads leak lint (16 files, +2,367 lines): CLEAN — zero private-factory terms, GCP project IDs, emails, internal IPs/hostnames, /Users/ paths, SSH keys, credentials/tokens, or device serials.
  • Proof integrity: All 9 JSON artifacts parse cleanly; all 15 relative links resolve; all PROOF.md numerical metrics reconcile to artifacts (bench, 8-chip 256 GiB HBM, 4 tile kernels, router 28/28×3488, CDI 9 devices, spot/flex $/1M math).
  • Verification: CTest 1/1 PASS, make verify-header-host host test 16/16 PASS, Python ISA self-tests PASS, clean-room audit PASS (101 files).

@saariuslystoned
saariuslystoned merged commit 3e1c3f6 into main Dec 1, 2026
2 checks passed
@saariuslystoned
saariuslystoned deleted the proof/cloud-tpu-v6e8 branch December 1, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant