Skip to content

Commit

Permalink
Bump ORT nightly version to 1.17.0.dev20231218002 | chore(ci) (#1236)
Browse files Browse the repository at this point in the history
Pin `expecttest==0.1.6` because version `0.2` does not play very well
with the pytorch version in CI.
  • Loading branch information
justinchuby authored Dec 20, 2023
1 parent 1a262ab commit 635fb43
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"typing_extensions",
"beartype!=0.16.0",
"types-PyYAML",
"expecttest",
"expecttest==0.1.6",
"hypothesis",
"packaging",
"parameterized",
Expand Down
23 changes: 21 additions & 2 deletions onnxscript/tests/function_libs/torch_lib/ops_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,7 @@ def _where_input_wrangler(
)
.xfail(
dtypes=(torch.float16,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: SplitToSequence op inference failed. https://github.com/microsoft/onnxruntime/issues/16006",
)
.xfail(
Expand Down Expand Up @@ -1222,16 +1223,30 @@ def _where_input_wrangler(
TorchLibOpInfo(
"nn.functional.relu",
nn_ops.aten_relu,
).xfail(
)
.xfail(
dtypes=(torch.int64,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: ORT did not implement Relu for int64. https://github.com/microsoft/onnxruntime/issues/16654",
)
.xfail(
dtypes=(torch.int64,),
test_class_name="TestOutputConsistencyEager",
reason="fixme: ORT fails with 'Could not find an implementation for Relu(14) node'",
),
TorchLibOpInfo(
"nn.functional.relu6",
nn_ops.aten_relu6,
).xfail(
)
.xfail(
dtypes=(torch.int64,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: ORT did not implement Relu for int64. https://github.com/microsoft/onnxruntime/issues/16654",
)
.xfail(
dtypes=(torch.int64,),
test_class_name="TestOutputConsistencyEager",
reason="fixme: ORT fails with 'Could not find an implementation for Relu(14) node'",
),
TorchLibOpInfo(
"ops.aten.replication_pad1d",
Expand Down Expand Up @@ -1470,6 +1485,7 @@ def _where_input_wrangler(
)
.xfail(
dtypes=(torch.float16,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: ORT failed to produce the correct argument type: https://github.com/microsoft/onnxruntime/issues/16006",
)
.xfail(
Expand All @@ -1482,11 +1498,13 @@ def _where_input_wrangler(
)
.xfail(
dtypes=(torch.float16,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: ORT failed to produce the correct argument type: https://github.com/microsoft/onnxruntime/issues/16006",
)
.xfail(
variant_name="list_args",
dtypes=(torch.float16,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: ORT failed to produce the correct argument type: https://github.com/microsoft/onnxruntime/issues/16006",
)
.xfail(
Expand Down Expand Up @@ -1563,6 +1581,7 @@ def _where_input_wrangler(
)
.xfail(
dtypes=(torch.float16,),
enabled_if=version_utils.onnxruntime_older_than("1.17"),
reason="fixme: SplitToSequence op inference failed. https://github.com/microsoft/onnxruntime/issues/16006",
)
.xfail(
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sphinx>=6
beartype!=0.16.0

# Testing
expecttest
expecttest==0.1.6
hypothesis
parameterized
pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci/requirements-onnx-weekly.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
onnx-weekly==1.16.0.dev20231218
onnx-weekly==1.16.0.dev20231211
2 changes: 1 addition & 1 deletion requirements/ci/requirements-ort-nightly.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# https://aiinfra.visualstudio.com/PublicPackages/_artifacts/feed/ORT-Nightly/PyPI/ort-nightly/overview
--index-url=https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/
ort-nightly==1.16.0.dev20230908001
ort-nightly==1.17.0.dev20231218002

0 comments on commit 635fb43

Please sign in to comment.