Modernize test-suite in sparse tensor CSR (#56392)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56392
Fixes for gh-56371 and gh-56369
Test Plan: Imported from OSS
Reviewed By: H-Huang
Differential Revision: D27913212
Pulled By: mruberry
fbshipit-source-id: 2c78fe9fa4b6c6b566d9eb01f71e6016d672a545