Decorate test_pdist_large for requiring large memory (#74574)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/74154
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74574
Reviewed By: george-qi
Differential Revision: D35100229
Pulled By: janeyx99
fbshipit-source-id: d7df377318e45c7f5447c034aa025b1422fcc06e
(cherry picked from commit 335a76d9f2a721b30e1b9e1c869bfbe431f01a2a)