This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] reduce tensor dimensions in sparse test
ClosedPublic

Authored by aartbik on Feb 10 2021, 5:44 PM.

Details

Summary

Rationale:
BuiltinTypes.cpp observed overflow when computing size of
tensor<100x200x300x400x500x600x700x800xf32>.

Diff Detail

Event Timeline

aartbik created this revision.Feb 10 2021, 5:44 PM
aartbik requested review of this revision.Feb 10 2021, 5:44 PM
stellaraccident accepted this revision.Feb 10 2021, 5:46 PM

Thanks. This should fix the sanitizer issues I am seeing. I am a bit sketched out, though that tensor volume overflows fail silently (arguably less of an issue for dense but certainly an issue for sparse). File an issue?

This revision is now accepted and ready to land.Feb 10 2021, 5:46 PM
This revision was landed with ongoing or failed builds.Feb 10 2021, 5:59 PM
This revision was automatically updated to reflect the committed changes.

Thanks. This should fix the sanitizer issues I am seeing. I am a bit sketched out, though that tensor volume overflows fail silently (arguably less of an issue for dense but certainly an issue for sparse). File an issue?

Yes, Stella Gets Sparse! Thanks!
Filed bug=49136 against myself to detect this during regular assert runs (without ASAN that is).