-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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 predict difference #6384
Fix predict difference #6384
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.
Could you please provide a brief explanation for what happened? Also a unittest. Lastly I see that you are adding an extra allocation, does it impact perf?
Ah, I saw your reply on the issue. Will continue there. |
The reason of difference in output result is changed sequence of floating point operations: There is already implemented cpp tests for cpu predictor ( I checked it on several benchmarks, seems there is no performance affection. |
79ced79
to
2e159d6
Compare
https://xgboost-ci.net/blue/organizations/jenkins/xgboost-win64/detail/PR-6384/3/pipeline#step-89-log-1987 @trivialfis should we restart |
@ShvetsKS Let's pause on this with comment: #6350 (comment) . We @RAMitchell @hcho3 agreed that we should not establish the tradition of fixing floating change across versions, as you stated, that will severely limit our development. We haven't decided how to document or whether do we need to document this. |
But to reply your question on the failing CI. Yeah, it happens all the time that error is only reproducible on CI ... Something I have been bumping into quite often. The error in this PR is new to me, so it might be specific to this PR instead of CI glitches. You can see on our issues list for all flaky tests we have found. |
@trivialfis seems I should close this PR as #6350 was resolved? :) |
Let us continue our discussion in #6350. |
related issue: #6350