Better HN
topnewbestaskshowjobs

From CUDA and Jax to TorchTPU: Lessons from a Cayley Graph Solver(andlukyane.com)

44 points · by Artgor · 3h ago · 1 comment

Comments
fl1pper27m ago
With T=51 and head_dim=32 giving only ~2.5% MXU tile occupancy, did you consider packing multiple puzzle states into a single tile while keeping their attention independent? Or does XLA already exploit the batch dimension for this?

From CUDA and JAX to TorchTPU: Lessons from a Cayley Graph Solver

Moving a puzzle-solving transformer and its beam search from an A100 and JAX to TPUs with TorchTPU: what had to change, what broke, and how the final speed and quality compare.

Andrey Lukyanenko