[NFC] Limit the range of integers so that the sum does not overflow in reduce test case#7470
Conversation
|
@Jokeren Can you please help to review the changes? |
|
looks like those tests still fail, not sure how it started |
|
@ThomasRaoux It is very appreciate your effort to try out the fixes. The issue just break out on different CI machines with un-kown reason. |
I see, very weird. I wonder if different numpy versions generate different random numbers. Maybe we should try much smaller numbers |
|
this version seems to pass. If it still fails for you feel free to lower the range mode |
|
It looks like htis PR is introducing some interpreter errors: |
This PR is try to fix the interpreter test errors. |
…ce test case. Signed-off-by: Lu,Chengjun <chengjun.lu@intel.com>
Our CI hit an overflow issue in reduce test case with Triton Interpreter.
There is a comment in the test_reduce1d about limiting the range of Integers in case overflow but without actual code.
Add the limitation as the comment.