[chalf] update type promotion table (#76893)

Reference #74537

TODO:
* [x] Add tests
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76893
Approved by: https://github.com/anjali411
This commit is contained in:
kshitij12345
2022-05-10 19:51:33 +00:00
committed by PyTorch MergeBot
parent 2e6ed5d0cc
commit 00fb828276
3 changed files with 61 additions and 25 deletions

View File

@ -18378,9 +18378,6 @@ python_ref_db = [
# torch function issue:
# ValueError: Callable cat has no meta function!
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_reference_meta_functions'),
# eager torch.cat incorrectly throws an error for a chalf x double x half type promotion case
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_reference_consistency',
dtypes=(torch.chalf,)),
)
),
PythonRefInfo(