Skip to content

Conversation

@peterbell10
Copy link
Collaborator

@peterbell10 peterbell10 commented Jun 13, 2022

Stack from ghstack (oldest at bottom):

The failure comes from within the exclusive_sum used to calculate
the selection index. So, I merged the code paths for uint8_t and
bool masks together, then use cub::TransformIterator to get a
proper bool value for the result.

The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jun 13, 2022

🔗 Helpful links

✅ No Failures (0 Pending)

As of commit afdb51a (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.

…_scatter CUDA"

The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
…ked_scatter CUDA"

The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
@peterbell10 peterbell10 marked this pull request as ready for review June 17, 2022 19:11
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

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

LGTM -- @mikaylagawarecki did you want to look, too?

The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
@peterbell10 peterbell10 changed the title Support non-standard bools in masked_scatter CUDA Support non-standard bools in CUDA masked_scatter Jun 22, 2022
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

[ghstack-poisoned]
@peterbell10
Copy link
Collaborator Author

@pytorchbot merge -g

@pytorchmergebot
Copy link
Collaborator

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

@github-actions
Copy link
Contributor

Hey @peterbell10.
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.

@peterbell10 peterbell10 added the topic: not user facing topic category label Jun 30, 2022
@facebook-github-bot facebook-github-bot deleted the gh/peterbell10/331/head branch July 4, 2022 14:18
facebook-github-bot pushed a commit that referenced this pull request Jul 5, 2022
Summary:
The failure comes from within the `exclusive_sum` used to calculate
the selection index. So, I merged the code paths for `uint8_t` and
`bool` masks together, then use `cub::TransformIterator` to get a
proper `bool` value for the result.

Pull Request resolved: #79391
Approved by: https://github.com/mruberry, https://github.com/mikaylagawarecki

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

Reviewed By: b0noI

Differential Revision: D37578897

fbshipit-source-id: eae0fb76bd6f1186d7e6451d7983897812a093cb
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.

6 participants