SIMT RTX GPU vs. Systolic TPU v5p Pipeline
How CUDA-style pointer chasing stalls on TPU HBM, and how VMEM 64-ary Wide-BVH avoids gathers.
| Dimension | Google Cloud TPU v5p (TPU-RTX) | NVIDIA GPU (RTX / H100 / Isaac) |
|---|
System Stack Inside One XLA Graph
TPU v5p silicon, three zero-copy core kernels, eight adapters, and benchmark suites.
Adapters (tpu_mjx_render/adapters/)
Click any module badge to view its XLA / Pallas Mosaic source on GitHub.
Benchmark Coverage
Measured TPU v5p suites vs. API-compatible drop-in targets.
| Benchmark / Suite | Adapter Stack | Status | Measured Result or Compatibility Scope |
|---|
import tpu_rtx
from tpu_mjx_render import adapters # mjx_universal, isaac_replicator, openusd_loader, blend_compiler, tpu_gsplat, tpu_optix, tpu_dlss, tpu_restir
scene = tpu_rtx.compile(mj_model, shader="fused_ao_ggx", res=(128, 128), sharding="auto")
obs = tpu_rtx.render(mjx_data, scene) # → {"rgb", "depth", "normal", "seg_id", "flow"} in TPU HBM
High-Resolution 4K / 8K Stills & Spectral Optics (Click Frame to Inspect)
Optimization Trajectory on TPU v5p (453 → 266,209 FPS; 32c: 411,023 FPS)
Chronological step-envelope including negative and flat runs.
Source: v2_live_*.json, v3_w0_wave2_100k_fps.json, v3_pod_v5p64_capstone.jsonhost_callbacks = 0
3DGS Trajectory: Pallas v1 (659 FPS) → 142k (4c) → 952k FPS (32c Pod)
Replacing padded DMA writes with chunked VMEM EWA reaches 142,008 FPS (4c) and 952,248 FPS + 1.062B splats (32c).
Source: v2_live_assets_1c.json, v3_w3_gs3d_v3.json, v3_pod_v5p64_capstone.jsongather_ops = 0
64 MiB VMEM Spill Cliff at tile_size = 512 (−24%)
Measured throughput sweeping ray tile size from 64 to 512 on 1 TPU v5p chip (B = 1024).
Source: live_tpu_tile_sweep_1c.jsonPeak @ tile_size = 64
FP32 vs. BF16 vs. INT8 W8A8 MXU Precision Pareto
BF16 gives 2.11× @ 4K (78.6 vs. 37.2 FPS) at identical 20.276 dB PSNR; INT8 QAT drops 0.047 dB.
Source: v3_w4_wave5_relight_quant.json24 held-out 512² states
Hero Camera vs. Held-Out Orbit Camera PSNR
Both hero-view and multi-angle held-out orbit PSNR across 7 Blender Studio scenes.
Source: v3_w5_wave5/6*.json, v3_w7_barbershop_cinema.jsonAgX Tonemap
End-to-End jax.grad(mjx.step + PBR) Servoing (240 iters in 8.61 s)
RGB L2 loss optimizes 7-DOF torques from 17.55 dB → 36.08 dB while reducing end-effector error from 16.03 cm → 1.63 cm.
Source: v3_w0_taskB.json27.87 grad-steps/s
Closed-Loop Vision PPO Training in HBM
Cartpole (656.4k env-steps/s steady), PandaPickCube (173.5k/s), and Humanoid-21DOF (221.7k/s) trained end-to-end from rendered pixels.
Source: v3_w0_wave4_rl_sdk.jsonhlo_zero_copy = true
32-View 3DGS Training: Mip-NeRF 360 garden (25.5 s)
4-chip jax.grad reaches 28.56 dB in 3.22 s, 30.30 dB in 7.50 s, and 31.31 dB peak at 23.42 steps/s.
Source: v3_w3_wave7_8k_and_gradtrain.json50k Gaussians · 128²
1M VLA Frames (142.6 s), ViT-Tiny VLA & 8×1080p + LiDAR Rig
Measured data generation, online ViT-Tiny training, GelSight tactile simulation, and surround perception parity.
Source: v3_w1_wave4_vla_tactile_factory.json, v3_w6_wave5_surround_bokeh.json, v3_pod_v5p64_capstone.json0 host callbacks
| Stage-2 Neural Shader Ablation | PSNR (dB) | ROI Contact PSNR | Occ Mismatch | Gate & Root Cause |
|---|
Scope & Hardware Boundaries
| Workload | TPU-RTX (Google TPU v5p) | GPU Cycles (wenhaochai/rtx-h100) | NVIDIA Isaac Sim / OptiX |
|---|
| Experiment | Config / Scale | Throughput | Accuracy / Parity | JSON |
|---|
Benchmark Summary Breakdown (5 Categories)
Full Still Image Index (26 Plates)
@misc{liu2026tpurtx,
author = {Feiyang Liu},
title = {TPU-RTX: Native Ray Tracing and Physical AI Rendering on Google Cloud TPU v5p},
year = {2026},
howpublished = {\url{https://github.com/ZaychikLiu/tpu-rtx}},
note = {Project page: \url{https://zaychikliu.github.io/tpu-rtx/}}
}