-
Notifications
You must be signed in to change notification settings - Fork 182
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
scatter_logsumexp: NaNs on untouched indices #368
Comments
Thanks for reporting. I fixed this in #369. |
Thanks for the quick fix. But there is an issue with backpropagation now:
|
Yes, that's because we need to write in-place to out = scatter_logsumexp(src, index) should fix this. |
@rusty1s Hi, is there any pregress on how to cure backpropagation problems? and I also wonder if there any plans to optimize |
I think this issue is only present if you pass in |
Hi,
I am trying to perform scatter_logsumexp on a strict subset of indices of the
out
tensor. I am getting NaNs at the indices whereout
is supposed to be untouched. Example:Another issue even if the NaN issue is resolved is about efficiency. We would ideally like to only operate those locations of
out
which are referred to inindex
. Otherwise for a very large sizedout
we are doing redundant calculations.Thanks,
Ahmed
The text was updated successfully, but these errors were encountered: