Add namedtensor build and test to the CI (#20163)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20163
ghimport-source-id: 6a821a708a20dbfa84c31a8af067d451c59b3964
Reviewed By: gchanan
Differential Revision: D15278216
Pulled By: zou3519
fbshipit-source-id: 0bc28929f8b3ce317de06f1fc275e586c649785c