From 9724ad9161a2a639f6f2568d2d5cdb66940181ab Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 3 Jan 2025 19:39:40 -0800 Subject: [PATCH] norm --- tests/function_libs/torch_lib/ops_test_data.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/function_libs/torch_lib/ops_test_data.py b/tests/function_libs/torch_lib/ops_test_data.py index 70bcf7d33..07164d594 100644 --- a/tests/function_libs/torch_lib/ops_test_data.py +++ b/tests/function_libs/torch_lib/ops_test_data.py @@ -772,6 +772,12 @@ def _where_input_wrangler( dtypes=(torch.float16,), # Numbers match sometimes but not other times reason="fixme: off-by-one. https://github.com/microsoft/onnxscript/issues/990", + ) + .skip( + variant_name="floor_rounding", + dtypes=(torch.float16,), + test_class_name="TestOutputConsistencyEager", + reason="fixme: off-by-one and inverted inf. https://github.com/microsoft/onnxscript/issues/989", ), TorchLibOpInfo("div_mode_int", core_ops.aten_div_mode_int).skip( variant_name="no_rounding_mode", @@ -1760,7 +1766,7 @@ def _where_input_wrangler( .xfail( dtypes=(torch.float32,), matcher=lambda sample: len(sample.input.shape) == 1, - enabled_if=ops_test_common.IS_MACOS and version_utils.onnxruntime_older_than("1.18"), + enabled_if=ops_test_common.IS_MACOS, reason="fixme: result mismatch. https://github.com/microsoft/onnxruntime/issues/20676", ) .skip(