InfoQ 中文T2·68 pts
- XProf now supports runtime hardware counter sampling for custom Pallas/Mosaic kernels on TPU v7, revealing previously invisible HBM wait bottlenecks.
- Static cost models (e.g., FLOPs metrics) can be severely inaccurate because custom kernels bypass standard XLA passes; register-level real-time data is required.
- A case study showed that addressing memory stalls identified by the new tools via triple buffering reduced chunked matrix multiplication time from 125.5µs to 88µs (~30% improvement).