Skip to content

Fix relying on UB in test_data_parallel_nested_output#11092

Closed
ssnl wants to merge 2 commits intopytorch:masterfrom
ssnl:fix_rand_test_data_parallel_nested_output
Closed

Fix relying on UB in test_data_parallel_nested_output#11092
ssnl wants to merge 2 commits intopytorch:masterfrom
ssnl:fix_rand_test_data_parallel_nested_output

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Aug 30, 2018

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

SsnL has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

def fn(input):
return [
input, (input.sin(), input.cos(), [input.add(1)]), input,
{'a': input, 'b': [input.sin()]}

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@ssnl
Copy link
Collaborator Author

ssnl commented Aug 30, 2018

Fixing #11094 in new commit

Copy link
Contributor

@zou3519 zou3519 left a comment

Choose a reason for hiding this comment

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

that was fast :D

test/common.py Outdated

This comment was marked as off-topic.

This comment was marked as off-topic.

@ssnl ssnl force-pushed the fix_rand_test_data_parallel_nested_output branch from e31ede3 to 9a8ea2a Compare August 30, 2018 17:33
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

SsnL has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

SsnL is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ssnl ssnl closed this Aug 30, 2018
facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
We shouldn't reply on plain `dict` ordering. Example failure: https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-linux-xenial-cuda8-cudnn6-py3-test1/8417/console
Pull Request resolved: #11092

Reviewed By: ezyang

Differential Revision: D9583274

Pulled By: SsnL

fbshipit-source-id: ba80b96648c98c24c2ec5fa6fd9aa566c095cce7
@ssnl ssnl deleted the fix_rand_test_data_parallel_nested_output branch August 30, 2018 20:11
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
We shouldn't reply on plain `dict` ordering. Example failure: https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-linux-xenial-cuda8-cudnn6-py3-test1/8417/console
Pull Request resolved: pytorch#11092

Reviewed By: ezyang

Differential Revision: D9583274

Pulled By: SsnL

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