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: izdeby
Differential Revision: D22673153
Pulled By: ezyang
fbshipit-source-id: 850f537483f929fcb43bcdef9d4ec264a7c3d354