Closed
Description
https://hud.pytorch.org/pr/pytorch/pytorch/124872#24274836004 gives the following:

We should only tell people to use torch.library._scoped_library in PyTorch tests (i.e. under the test/* folder). This usage of the torch.library API in the snippet (i.e. using torch.library torch/distributed/_tensor/_collective_utils.py) is allowed.
cc @kit1980