Disable meta device tests.
After discussion with Can Balioglu, we have concluded that
https://github.com/pytorch/pytorch/pull/53682 , while clever, is more
trouble than it is worth. The main problem is that whenever someone
adds support for new meta tensors, they then get dozens of new test case
failures, because tests that were previously halted by lack of support
for an operator on meta tensors, now have gotten further and hit some
logic which expects to be able to, e.g., pull out a real value from a
tensor (which clearly doesn't work). This is very annoying and time
consuming! Most of these tests aren't written with meta device in
mind, and it's not a good use of time to try to make them more generic.
The plan on record is to switch meta testing to OpInfo, but that patch
will take some time to prepare for now I want to stem the bleeding. I
don't think we're at high risk for regressions here because meta tensors
mostly share logic with their regular brethren.
Signed-off-by: Edward Z. Yang <ezyangfb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74468
Approved by: https://github.com/mruberry