ML compiler eng, your job is NP-hard
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
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.