Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check index size during decomp of index_add (pytorch#108826)
This partially fixes the `test_index_add_correctness` test (pytorch#108181) when run under inductor: it causes an exception to be raised [here][1] as expected. The test as a whole still cannot be made to pass under inductor because the [last assert][2] still fails, likely due to pytorch#108798. [1]: https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6049 [2]: https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6051 Pull Request resolved: pytorch#108826 Approved by: https://github.com/eellison
- Loading branch information