[LT] Merge permutation_util into master (#67766)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/67766
Test Plan: `build/bin/test_lazy`
Reviewed By: wconstab
Differential Revision: D32147676
Pulled By: desertfire
fbshipit-source-id: 528b48c9cf789abc171235091c7146b2ab7a9c76