-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CI tests #1993
Fix CI tests #1993
Conversation
justinchuby
commented
Dec 31, 2024
•
edited
Loading
edited
- Bump ort and onnx versions
- Remove dort tests as they are obsolete
- Improve constant folding and assert the invariance of const_value being tensors
- Bump ort and onnx versions - Remove dort tests as they are obsolete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
Files not reviewed (1)
- requirements-dev.txt: Language not supported
❌ 34 Tests Failed:
View the full list of 3 ❄️ flaky tests
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 12 changed files in this pull request and generated no comments.
Files not reviewed (7)
- requirements-dev.txt: Language not supported
- requirements/ci/requirements-ort-nightly.txt: Language not supported
- onnxscript/rewriter/broadcast_to_matmul.py: Evaluated as low risk
- onnxscript/function_libs/torch_lib/ops/core.py: Evaluated as low risk
- tests/models/sequences.py: Evaluated as low risk
- .github/workflows/main.yaml: Evaluated as low risk
- onnxscript/tools/transformers_models/mistral_test.py: Evaluated as low risk
Comments suppressed due to low confidence (10)
tests/function_libs/torch_lib/ops_test_data.py:552
- The test for zero sized inputs is skipped with the reason 'zero sized inputs cannot be compared'. Ensure that this is the intended behavior.
.skip(
tests/function_libs/torch_lib/ops_test_data.py:569
- The skip condition for scalar inputs to ReduceMax-18 is removed. Confirm that the issue with ORT has been resolved.
TorchLibOpInfo("amax", core_ops.aten_amax, input_wrangler=_amin_amax_input_wrangler,).skip(
tests/function_libs/torch_lib/ops_test_data.py:701
- The skip condition for zero-dim tensors is updated to handle device-specific tensors.
matcher=lambda sample: sample.input[0].equal(torch.tensor([]).to(sample.input[0].device)),
tests/function_libs/torch_lib/ops_test_data.py:726
- The skip condition for size 0 inputs is added with the reason 'Size 0 inputs are not handled by design'.
TorchLibOpInfo("clamp_max", core_ops.aten_clamp_max).skip(
tests/function_libs/torch_lib/ops_test_data.py:853
- The skip condition for index_put_bool is added with the reason 'FIXME: [torchlib] Improve index_put #1749'.
.skip(reason="FIXME: https://github.com/microsoft/onnxscript/issues/1749"),
tests/function_libs/torch_lib/ops_test_data.py:963
- The skip condition for scalar inputs to Reduce*-18 is removed. Confirm that the issue with ORT has been resolved.
TorchLibOpInfo("maximum", core_ops.aten_maximum),
tests/function_libs/torch_lib/ops_test_data.py:1061
- The tolerance value for embedding_bag is updated.
tolerance={torch.float16: (1e-2, 5e-2)},
tests/function_libs/torch_lib/ops_test_data.py:1449
- The tolerance value for sub is added.
TorchLibOpInfo("sub", core_ops.aten_sub, tolerance={torch.float16: (2e-3, 1e-3)}),
tests/function_libs/torch_lib/ops_test_data.py:1470
- The xfail condition for topk is added with the reason 'fixme: result mismatch. [torchlib]
topk
results do not match when input is int64/int32 #853'.
TorchLibOpInfo("topk", core_ops.aten_topk).xfail(
tests/function_libs/torch_lib/ops_test_data.py:1587
- The skip condition for scalar inputs to Reduce*-18 is removed. Confirm that the issue with ORT has been resolved.
TorchLibOpInfo("clamp", core_ops.aten_clamp),