[PyTorch] Add isUndefined to ExclusivelyOwnedTraits<TensorBase> debug msg (#70638)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70638
We are seeing these assertions fire infrequently. Add more information to aid in debugging when they fire.
ghstack-source-id: 146819527
Test Plan: CI
Reviewed By: bdhirsh
Differential Revision: D33412651
fbshipit-source-id: 7e35faf9f4eeaa5f2455a4392e00f62fe692811c