Add eager-compatible source shape validation before the index_add decomposition lowers to index_put, preventing source broadcasting from hiding invalid inputs under torch.compile.
Fixes #121135
Generated by my agent
Pull Request resolved: #184373
Approved by: https://github.com/zou3519
SOCIAL SHARE CARD GENERATOR