Skip to content

Refine conditions under which index.Tensor has a dynamic shape#79809

Closed
eellison wants to merge 8 commits intogh/eellison/307/basefrom
gh/eellison/307/head
Closed

Refine conditions under which index.Tensor has a dynamic shape#79809
eellison wants to merge 8 commits intogh/eellison/307/basefrom
gh/eellison/307/head

Conversation

@eellison
Copy link
Copy Markdown
Contributor

@eellison eellison commented Jun 17, 2022

Stack from ghstack (oldest at bottom):

aten::index.Tensor is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in test_fake___getitem___cpu_float32

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Jun 17, 2022

🔗 Helpful links

✅ No Failures (20 Pending)

As of commit 8309814 (more details on the Dr. CI page):

Expand to see more

💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@eellison eellison requested review from Chillee, samdow and zou3519 June 17, 2022 21:12
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`.

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`.

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
eellison added a commit that referenced this pull request Jun 17, 2022
@eellison eellison requested a review from davidberard98 June 17, 2022 23:31
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`.

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`.

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
eellison added a commit that referenced this pull request Jun 18, 2022
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`.

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
eellison added a commit that referenced this pull request Jun 20, 2022
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
…hape"


`aten::index.Tensor` is only data-dependent when there are byte/bool indices, which get expanded depending on whether or not there the indices are nonzero. This is being tested in `test_fake___getitem___cpu_float32`

See: https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/IndexingUtils.h#L39

[ghstack-poisoned]
eellison added a commit that referenced this pull request Jun 20, 2022
@eellison
Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

1 similar comment
@eellison
Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a merge job. Check the current status here

@github-actions
Copy link
Copy Markdown
Contributor

Hey @eellison.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a merge job. Check the current status here

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Can't merge closed PR #79809

facebook-github-bot pushed a commit that referenced this pull request Jun 21, 2022
Summary:
Pull Request resolved: #79809

Approved by: https://github.com/davidberard98

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/a6b783e714febf79fcab040a2640c4d51a3612ab

Reviewed By: atalman

Differential Revision: D37311473

Pulled By: eellison

fbshipit-source-id: c447e4d7fb6ff7f207d53f94a243a8038b442d27
@facebook-github-bot facebook-github-bot deleted the gh/eellison/307/head branch June 24, 2022 14:17
miladm pushed a commit to miladm/pytorch that referenced this pull request Jun 27, 2022
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants