sparse compressed tensor validation without syncs for low-(batch)dim tensors. (#94048)
As per title. Sync is still unavoidable for super high-dim tensors.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94048
Approved by: https://github.com/alexsamardzic, https://github.com/cpuhrsch