[PSA] `tensor.pack` + `tensor.unpack` - Moving to Linalg Next Week

Hi Folks,

Following up on:

the PR implementing this move has just been approved:

I plan to merge it on Monday - please take this time to test the patch if you’re concerned about potential impacts.

A huge thanks to @rengolin and @qed for testing this refactor in MLIR-TPP and IREE , respectively. Both projects are major users of tensor.pack + tensor.unpack, making this a significant validation.

Action Required for Downstream Users

Following this change, you’ll need to update your projects. The migration should be straightforward:

  • Code: s/tensor::(Up)PackOp/linalg::(Un)PackOp/g
  • Tests: s/tensor.(un)pack/linalg.(un)pack/g

Thank you all for your patience, and apologies for the churn. We’ve tried our best to keep this transition smooth.

Best,
-Andrzej

4 Likes

Landed! :tada:

If you encounter any issues, feel free to reach out. I’ll also do my best to address any post-commit feedback promptly.

Thanks for your patience and support!

-Andrzej

4 Likes