Skip to content

Conversation

@wanchaol
Copy link
Collaborator

@wanchaol wanchaol commented Dec 6, 2022

Stack from ghstack (oldest at bottom):

Observed by @aazzolini, some op might have Optional[Tensor] returns
where it return None (i.e. native_layer_norm_backward), it's a mismatch
between C++ aten op signature and python None, but we need to handle it
in the python side

Observed by @aazzolini, some op might have Optional[Tensor] returns
where it return None (i.e. native_layer_norm_backward), it's a mismatch
between C++ aten op signature and python None, but we need to handle it
in the python side

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 6, 2022

🔗 Helpful Links

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

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

❌ 1 Failures

As of commit afc4c4b:

The following jobs have failed:

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

@wanchaol wanchaol requested a review from aazzolini December 6, 2022 01:31
…ensor]"

Observed by aazzolini, some op might have Optional[Tensor] returns
where it return None (i.e. native_layer_norm_backward), it's a mismatch
between C++ aten op signature and python None, but we need to handle it
in the python side

[ghstack-poisoned]
@wanchaol wanchaol added topic: not user facing topic category release notes: distributed (dtensor) release notes category and removed topic: not user facing topic category labels Dec 6, 2022
Copy link
Contributor

@aazzolini aazzolini left a comment

Choose a reason for hiding this comment

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

Typing wise you'll also have to modify the signature for OutputSharding as well. Gotta return a Sequence[Optional[DTensorSpec]] (instead of Sequence[DTensorSpec])

…ensor]"

Observed by aazzolini, some op might have Optional[Tensor] returns
where it return None (i.e. native_layer_norm_backward), it's a mismatch
between C++ aten op signature and python None, but we need to handle it
in the python side

[ghstack-poisoned]
wanchaol added a commit that referenced this pull request Dec 6, 2022
Observed by aazzolini, some op might have Optional[Tensor] returns
where it return None (i.e. native_layer_norm_backward), it's a mismatch
between C++ aten op signature and python None, but we need to handle it
in the python side

ghstack-source-id: 5abdf82
Pull Request resolved: #90241
@wanchaol wanchaol added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 6, 2022
@wanchaol wanchaol requested a review from aazzolini December 6, 2022 05:41
Copy link
Contributor

@aazzolini aazzolini left a comment

Choose a reason for hiding this comment

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

Thanks, @wanchaol !

@wanchaol
Copy link
Collaborator Author

wanchaol commented Dec 6, 2022

@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

Merge failed

Reason: 2 additional jobs have failed, first few of them are: linux-binary-manywheel ,linux-binary-manywheel / manywheel-py3_7-cuda11_6-test / build

Details for Dev Infra team Raised by workflow job

@wanchaol
Copy link
Collaborator Author

wanchaol commented Dec 6, 2022

@pytorchbot merge -f "failure not related"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

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

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
…orch#90241)

Observed by @aazzolini, some op might have Optional[Tensor] returns
where it return None (i.e. native_layer_norm_backward), it's a mismatch
between C++ aten op signature and python None, but we need to handle it
in the python side
Pull Request resolved: pytorch#90241
Approved by: https://github.com/aazzolini
@facebook-github-bot facebook-github-bot deleted the gh/wanchaol/226/head branch June 8, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: distributed (dtensor) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants