-
Notifications
You must be signed in to change notification settings - Fork 631
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
[BUG] test_none_reduction
fails on main
#1614
Comments
This is the
|
Did not fail on this run list of dependencies was this:
|
I suppose I have found the bug. I suppose it is a wrong initialization of the default's of the states of the metric. |
I am also unsure, since there are no tests covering the distributed case - it should always compute a single number, and it must do so in the distributed case too I did not know how to test that, and it currently is not afaik, that is where I got stuck |
Are you sure that it should return always a single number? If you take a look at the failing test, I interpret it that it should return the same shape as the original input. Thus, not a single number. |
Ah, apologies. I was omitting part of the reasoning. What I meant is that two conditions have to be satisfied for
This must be true for all possible settings with respect to distributed computing, i.e., a single job, or a distibuted job where So there are four conditions that need to run, but only two are tested, because we only test the non-distributed case. I have described a hacky fix that fixes the |
The
test_none_reduction
test fails on main, withThis seems like change in upcasting, and is resolved in the case without distributed computation by setting
dist_reduce_fx="mean"
instead of"cat"
, which also seems to produce the correct result (but not conclusively since we need to deal with the distributed case)The text was updated successfully, but these errors were encountered: