atomic_update in scatter #2163
-
The But considering duplicated indices in And that is what PyTorch does: And from PyTorch's documentation:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That is partially true. We could replace the |
Beta Was this translation helpful? Give feedback.
That is partially true. We could replace the
None
reduction op with an assignment instead of an atomic store. However, scatter supports scatter add, scatter prod, scatter max etc and these need to be atomic operations to be correct.