[pytorch] more informative error msg from fbgemm embedding spmdm call (#65186)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65186
FBGEMM JIT'ed EmbeddingSpMDM kernel just returns false when there's an error delegating detailed error handling to the caller (since each framework like PyTorch and Caffe2 wants to do error handling differently). Many of PyTorch code was simply reporting there was "an" error without pinpointing exactly why error happened. This diff introduces more informative error msg following what Caffe2 was doing.
Test Plan: CI
Reviewed By: dskhudia
Differential Revision: D31008300
fbshipit-source-id: b8d069af0692dc86dc642b18a9c68f22deaffea3