Skip to content

Commit

Permalink
win
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
  • Loading branch information
xadupre committed Jun 26, 2024
1 parent 5d6621d commit 9ee3e08
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions onnxscript/backend/onnx_export_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ def skip(pattern: str | Pattern, reason: str, *, condition: bool = True):
skip(r"^test_ai_onnx_ml_label_encoder", "ONNX Runtime does not support Opset 21 at 1.17"),
)

if sys.platform == "win32":
SKIP_TESTS = (
*SKIP_TESTS,
skip(r"^test_gemm_beta", "cannot import module, import_module does not work"),
skip(
r"^test_averagepool_2d_default",
"cannot import module, import_module does not work",
),
)


def load_function(obj):
return ort.InferenceSession(obj.SerializeToString(), providers=("CPUExecutionProvider",))
Expand Down

0 comments on commit 9ee3e08

Please sign in to comment.