Skip to content

Commit

Permalink
update expected failures
Browse files Browse the repository at this point in the history
  • Loading branch information
yanboliang committed Jul 20, 2023
1 parent 5e11840 commit 210d017
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions torch/testing/_internal/common_methods_invocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -11173,6 +11173,8 @@ def reference_flatten(input, start_dim=0, end_dim=-1):
# CUDA driver allocated memory was 1254555648 and is now 1242955776.
DecorateInfo(unittest.skip("Skipped!"), 'TestJit', 'test_variant_consistency_jit',
dtypes=(torch.cfloat,), device_type="cuda"),
DecorateInfo(unittest.expectedFailure, 'TestDecomp', 'test_comprehensive',
dtypes=(torch.int16, torch.int32, torch.int64, torch.bfloat16), device_type="cpu"),
)),
UnaryUfuncInfo('log',
ref=np.log,
Expand Down Expand Up @@ -18651,7 +18653,7 @@ def reference_flatten(input, start_dim=0, end_dim=-1):
dtypes=(torch.uint8, torch.int8, torch.int16, torch.int32, torch.int64),
device_type="cuda"),
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_ref',
dtypes=(torch.uint8, torch.int8, torch.int16, torch.int32, torch.int64),
dtypes=(torch.int8, torch.int16, torch.int32, torch.int64),
device_type="cuda"),
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_ref_executor',
dtypes=(torch.uint8, torch.int8, torch.int16, torch.int32, torch.int64),
Expand All @@ -18668,12 +18670,15 @@ def reference_flatten(input, start_dim=0, end_dim=-1):
DecorateInfo(unittest.expectedFailure, 'TestMathBits', 'test_conj_view'),
DecorateInfo(unittest.expectedFailure, 'TestMathBits', 'test_neg_conj_view'),

DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_ref',
dtypes=(torch.int8, torch.uint8, torch.int16, torch.int32, torch.int64, torch.bfloat16), device_type="cpu"),

# Off-by-one issue when casting floats to ints
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_ref_torch_fallback',
dtypes=(torch.int16, torch.int32, torch.int64),
device_type="cuda"),
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_ref',
dtypes=(torch.int16, torch.int32, torch.int64),
dtypes=(torch.int8, torch.uint8, torch.int16, torch.int32, torch.int64, torch.bfloat16, torch.float16),
device_type="cuda"),
DecorateInfo(unittest.expectedFailure, 'TestCommon', 'test_python_ref_executor',
dtypes=(torch.int16, torch.int32, torch.int64),
Expand Down

0 comments on commit 210d017

Please sign in to comment.