-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fixed flaky test issue for test_operator_gpu.test_depthwise_convolution #12402
Conversation
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.
Please still keep an eye on future occurrences.
@mseth If it is not reproducible, why are we relaxing tolerance? |
@@ -1659,7 +1658,7 @@ def test_depthwise_convolution(): | |||
exe2.backward(exe2.outputs[0]) |
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.
can we check whether a downcast is happening when we do arr2[:] = arr1
from float64 to float32. If yes lets fix that check if the test is still flaky.
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.
arr1 and arr2 are both float32. Downcast is happening during populating arr1 by random normal samples. I have made the casting explicit just to avoid errors.
…onvolution (apache#12402)" This reverts commit 58560f6.
@lupesko tolerance parameter is relaxed even though the issue is not reproducible as it might be the case that the exact environment is not replicated at our end, also the relaxation we are making is small. |
…on (apache#12402) * fixed flaky test issue for test_operator_gpu.test_depthwise_convolution * Changed implicit cast to explicit cast
…onvolution (apache#12402)" (apache#12441) This reverts commit 58560f6.
…on (apache#12402) * fixed flaky test issue for test_operator_gpu.test_depthwise_convolution * Changed implicit cast to explicit cast
…onvolution (apache#12402)" (apache#12441) This reverts commit 58560f6.
Description
Issue not reproducible. Tolerance parameter (rtol) relaxed. This should fix the flakiness issue #12203 since mismatch percentage is small.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments