Temporary fix for determinant bug on CPU (#35136)
Summary:
Changelog:
- Make diagonal contiguous
Temporarily Fixes https://github.com/pytorch/pytorch/issues/34061
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35136
Reviewed By: vincentqb
Differential Revision: D22516606
Pulled By: ezyang
fbshipit-source-id: 7ea8299b9d2c1c244995955b333a1dffb0cdff73