Skip to content
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

Check index size during decomp of index_add #108826

Closed
wants to merge 4 commits into from
Closed

Conversation

int3
Copy link
Contributor

@int3 int3 commented Sep 8, 2023

Stack from ghstack (oldest at bottom):

This partially fixes the test_index_add_correctness test (#108181)
when run under inductor: it causes an exception to be raised here
as expected.

The test as a whole still cannot be made to pass under inductor because
the last assert still fails, likely due to #108798.

This partially fixes the `test_index_add_correctness` test (#108181)
when run under inductor: it causes an exception to be raised
[here](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6049)
as expected.

The test as a whole still cannot be made to pass under inductor because
the [last
assert](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6051)
still fails, likely due to #108798.

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 8, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/108826

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 70e8f9d with merge base e066056 (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

int3 added a commit that referenced this pull request Sep 8, 2023
This partially fixes the `test_index_add_correctness` test (#108181)
when run under inductor: it causes an exception to be raised
[here](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6049)
as expected.

The test as a whole still cannot be made to pass under inductor because
the [last
assert](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6051)
still fails, likely due to #108798.

ghstack-source-id: 76d65e928c590f67d6648115289b737e49a47fc5
Pull Request resolved: #108826
@int3 int3 added the topic: not user facing topic category label Sep 8, 2023
@int3 int3 marked this pull request as draft September 8, 2023 14:27
This partially fixes the `test_index_add_correctness` test (#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 #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

[ghstack-poisoned]
int3 added a commit that referenced this pull request Sep 8, 2023
This partially fixes the `test_index_add_correctness` test (#108181)
when run under inductor: it causes an exception to be raised
[here](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6049)
as expected.

The test as a whole still cannot be made to pass under inductor because
the [last
assert](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6051)
still fails, likely due to #108798.

ghstack-source-id: 3eb59e494cb4d7518b8192f90ff5c471512d56bf
Pull Request resolved: #108826
This partially fixes the `test_index_add_correctness` test (#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 #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

[ghstack-poisoned]
int3 added a commit that referenced this pull request Sep 9, 2023
This partially fixes the `test_index_add_correctness` test (#108181)
when run under inductor: it causes an exception to be raised
[here](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6049)
as expected.

The test as a whole still cannot be made to pass under inductor because
the [last
assert](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6051)
still fails, likely due to #108798.

ghstack-source-id: c3d16b14ea0392ea4481e56696904ddfdbe87aa3
Pull Request resolved: #108826
@int3 int3 marked this pull request as ready for review September 9, 2023 21:37
@int3 int3 requested a review from eellison September 11, 2023 18:16
Copy link
Contributor

@eellison eellison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice !

@int3
Copy link
Contributor Author

int3 commented Sep 12, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 12, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 2 jobs have failed, first few of them are: trunk / linux-focal-cuda12.1-py3.10-gcc9 / test (nogpu_AVX512, 1, 1, linux.2xlarge), trunk / linux-focal-cuda12.1-py3.10-gcc9 / test (nogpu_NO_AVX2, 1, 1, linux.2xlarge)

Details for Dev Infra team Raised by workflow job

This partially fixes the `test_index_add_correctness` test (#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 #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

[ghstack-poisoned]
int3 added a commit that referenced this pull request Sep 13, 2023
This partially fixes the `test_index_add_correctness` test (#108181)
when run under inductor: it causes an exception to be raised
[here](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6049)
as expected.

The test as a whole still cannot be made to pass under inductor because
the [last
assert](https://github.com/pytorch/pytorch/blob/dec2b267d4af159bd0a8669a679700f385a1dc98/test/test_torch.py#L6051)
still fails, likely due to #108798.

ghstack-source-id: 623be2a1157b84ef44c5769a3feb69ab441bc384
Pull Request resolved: #108826
@int3
Copy link
Contributor Author

int3 commented Sep 13, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled. If you believe this is a mistake, then you can re trigger it through pytorch-bot.

@int3
Copy link
Contributor Author

int3 commented Sep 13, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@facebook-github-bot facebook-github-bot deleted the gh/int3/5/head branch September 16, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants