Skip to content

Commit 03b22ff

Browse files
authored
[WebGPU EP] adjust test case to skip CoreML EP (microsoft#24927)
Fixes pipeline error in MacOS_C_API_Packaging_CPU_x86_64 by disabling softmax NaN test for CoreML EP since it does not handle NaN.
1 parent 49ed0e8 commit 03b22ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onnxruntime/test/providers/cpu/math/softmax_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ TEST(SoftmaxOperator, webgpu_nan) {
6060
test.AddInput<float>("X", dimensions, x_vals);
6161
test.AddOutput<float>("Y", dimensions, expected_result);
6262

63-
// explicitly disable CPU EP for this test since CPU implementation does not handle NaN
64-
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kCpuExecutionProvider});
63+
// explicitly disable for EPs that do not handle NaN
64+
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kCpuExecutionProvider, kCoreMLExecutionProvider});
6565
}
6666
#endif
6767

0 commit comments

Comments
 (0)