brkirch e247b7400a Add fixes for PyTorch 1.12.1
Fix typo "MasOS" -> "macOS"

If MPS is available and PyTorch is an earlier version than 1.13:
* Monkey patch torch.Tensor.to to ensure all tensors sent to MPS are contiguous
* Monkey patch torch.nn.functional.layer_norm to ensure input tensor is contiguous (required for this program to work with MPS on unmodified PyTorch 1.12.1)
2022-11-21 02:07:19 -05:00
..
2022-09-05 23:08:06 +03:00
2022-10-22 19:27:16 +03:00
2022-11-21 02:07:19 -05:00
2022-11-17 00:08:21 -05:00
2022-09-07 12:32:28 +03:00
2022-11-10 20:42:41 +08:00
2022-10-19 11:52:12 +03:00
2022-10-08 22:42:30 +03:00
2022-11-17 00:08:45 -05:00
2022-11-09 07:17:09 +01:00
2022-10-10 19:54:57 +03:00
2022-10-08 22:42:30 +03:00
2022-11-17 00:08:21 -05:00