-
Notifications
You must be signed in to change notification settings - Fork 23
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
unittest: Handle op_db to align xfail defined by CUDA #608
Conversation
Please resolve the conflicts. |
Please,
|
# Mismatched elements: 2 / 125 (1.6%) | ||
# Greatest absolute difference: 0.001953125 at index (2, 0, 0) (up to 0.001 allowed) | ||
# Greatest relative difference: 0.007568359375 at index (2, 0, 0) (up to 0.001 allowed) | ||
"test_compare_cpu_cumprod_xpu_bfloat16", |
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.
We have got it in line 172. Please remove it.
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.
Done
test/xpu/run_test_with_skip.py
Outdated
# Mismatched elements: 2 / 125 (1.6%) | ||
# Greatest absolute difference: 0.001953125 at index (2, 0, 0) (up to 0.001 allowed) | ||
# Greatest relative difference: 0.007568359375 at index (2, 0, 0) (up to 0.001 allowed) | ||
"test_compare_cpu_cumprod_xpu_bfloat16", |
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.
Why we pass before?
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.
removed it
Please address the comments. |
…-ops into unexpected_xfail
Functional coverage of PyTorch XPU operator is aligned with CUDA. So we are gradually align test scope with CUDA. The PR is to handle op_db to align xfail configuration. It helps us reduce efforts to triage failures which are expected.
#593