Add Half support for aminmax on CPU (#106853)
Add Half support for aminmax on CPU.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106853
Approved by: https://github.com/cpuhrsch
diff --git a/test/test_mps.py b/test/test_mps.py
index e6da181..5d3a19e 100644
--- a/test/test_mps.py
+++ b/test/test_mps.py
@@ -79,7 +79,7 @@
'cdist': [torch.float32],
'masked.scatter': [torch.float16, torch.float32],
'index_fill': [torch.float16, torch.float32], # missing `aten::_unique`.
- 'aminmax': [torch.float32],
+ 'aminmax': [torch.float32, torch.float16],
'polar': [torch.float32],
# Correctness issues