Skip to content

Commit

Permalink
Update xfail_sets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sahas3 committed Dec 5, 2024
1 parent d17a04f commit 70c6080
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions projects/pt1/e2e_testing/xfail_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3016,7 +3016,6 @@
"MaxPool1dCeilModeTrueModule_basic",
"MaxPool1dModule_basic",
"MaxPool2dCeilModeTrueModule_basic",
"MaxPool2dStaticCeilModeTrueReduceOutputModule_basic",
"MaxPool2dModule_basic",
"MaxPool2dWithIndicesAllOnesModule_basic",
"MaxPool2dWithIndicesBackwardDynamic3DModule_basic",
Expand Down Expand Up @@ -3388,6 +3387,13 @@
"ScaledDotProductAttentionBoolMaskModule_basic",
}

if torch_version_for_comparison() > version.parse("2.5.1"):
ONNX_XFAIL_SET = ONNX_XFAIL_SET | {
# error: 'memref.cast' op operand type 'memref<2x6x4x3xf32>' and result type 'memref<2x6x5x3xf32>' are cast incompatible
# torch.onnx.export produces onnx.MaxPool op with incorrect output shape of 2x6x5x3 instead of 2x6x4x3
"MaxPool2dStaticCeilModeTrueReduceOutputModule_basic",
}

if torch_version_for_comparison() < version.parse("2.4.0.dev"):
STABLEHLO_PASS_SET = STABLEHLO_PASS_SET - {
"AtenIntMM_basic",
Expand Down Expand Up @@ -4503,7 +4509,6 @@
"MaxPool1dCeilModeTrueModule_basic",
"MaxPool1dModule_basic",
"MaxPool2dCeilModeTrueModule_basic",
"MaxPool2dStaticCeilModeTrueReduceOutputModule_basic",
"MaxPool2dModule_basic",
"MaxPool2dWithIndicesAllNegativeValuesModule_basic",
"MaxPool2dWithIndicesAllOnesModule_basic",
Expand Down Expand Up @@ -4944,3 +4949,10 @@
"_LogSoftmaxModule_basic",
"_SoftmaxModule_basic",
}

if torch_version_for_comparison() > version.parse("2.5.1"):
ONNX_TOSA_XFAIL_SET = ONNX_TOSA_XFAIL_SET | {
# error: 'memref.cast' op operand type 'memref<2x6x4x3xf32>' and result type 'memref<2x6x5x3xf32>' are cast incompatible
# torch.onnx.export produces onnx.MaxPool op with incorrect output shape of 2x6x5x3 instead of 2x6x4x3
"MaxPool2dStaticCeilModeTrueReduceOutputModule_basic",
}

0 comments on commit 70c6080

Please sign in to comment.