SIGN IN SIGN UP

Reapply "Dispatch index_put_ to fill_ for scalar values (#188267 / #189105)" (#189303)

This reapplies #188267 / #189105 which has been reverted due to Meta internal CI failures. I also addressed https://github.com/pytorch/pytorch/pull/189105#issuecomment-4917329182

I will not merge it myself this time but leave it to @ngimel, @Skylion007, @izaitsevfb, or @atalman so the Meta internal CI failures can be dealt with.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/189303
Approved by: https://github.com/atalman, https://github.com/izaitsevfb

Co-authored-by: Andrey Talman <atalman@fb.com>
L
Lukas Geiger committed
f6a3e4faf21038185db54d39b8c51d1e34aa48de
Parent: 2509857
Committed by PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> on 8/24/2026, 9:46:21 PM