Skip to content

Commit 21bd1ff

Browse files
committed
Skip BinaryClassifierSymSgdTest on Linux due to numerical differences
1 parent d0fe25f commit 21bd1ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Microsoft.ML.Predictor.Tests/TestPredictors.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,11 @@ public void BinaryClassifierLogisticRegressionTest()
283283
[Trait("Category", "SkipInCI")]
284284
public void BinaryClassifierSymSgdTest()
285285
{
286+
// Linux uses a version of MKL that doesn't support conditional numerical reproducibility the same way as
287+
// Windows runs.
288+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
289+
return;
290+
286291
//Results sometimes go out of error tolerance on OS X.
287292
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
288293
return;

0 commit comments

Comments
 (0)