Skip to content

Commit f8d85c9

Browse files
committed
disable unstable test
1 parent f5b58e0 commit f8d85c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/function_libs/torch_lib/ops_test_data.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import copy
4040
import dataclasses
4141
import functools
42+
import sys
4243
from typing import Any, Callable, Collection, Optional
4344

4445
import numpy as np
@@ -1585,7 +1586,8 @@ def _where_input_wrangler(
15851586
core_ops.aten_layer_norm,
15861587
tolerance={torch.float32: (3.7e-5, 1.8e-4)},
15871588
).xfail(
1588-
dtypes=(torch.int64,),
1589+
# test is unstable on macosx
1590+
dtypes=(torch.int64,) if sys.platform != "darwin" else (torch.int64, torch.float32),
15891591
reason="fixme: ORT `LayerNormKernelImpl` not implemented for int64",
15901592
),
15911593
TorchLibOpInfo("logit", core_ops.aten_logit, tolerance={torch.float16: (1e-1, 7e-4)}),

0 commit comments

Comments
 (0)