The story’s score and claims

Comments on No. 97 of 128 · Ian’s Blog · edition of Thursday 26 November 2026

ML compiler eng, your job is NP-hard

Summary

Amazon's "Tensor Seeks Layout" paper proves that layout selection for tensor compilers is NP-hard, even in restricted matmul-heavy graphs, and its exact solver finds a ResNet-50 optimum costing 63.9M cycles versus 20.9M for simple heuristics, which the authors blame on an imperfect cost model.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules