Remove noexcept from dtype (#80991)
Assuming we virtualize it soon the noexcept would cause bugs.
Layout's noexcept is being removed by the layout slow path PR.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/80991
Approved by: https://github.com/cpuhrsch