Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Oct 4, 2018

Stack:
    :black_circle:  #12328 Enforce invariant that storage_ is always non-null  💛

  • Delete reset() from Storage, as it makes it easy to accidentally
    create a null storage.
  • Immediately reject a storage if it is null when passed in

Differential Revision: D10200448

Differential Revision: D10200448
Differential Version: 59721171
@ezyang
Copy link
Contributor Author

ezyang commented Oct 4, 2018

@pytorchbot retest this please

Copy link
Collaborator

@dzhulgakov dzhulgakov left a comment

Choose a reason for hiding this comment

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

Thank you sir, looks legit!

zdevito pushed a commit to zdevito/ATen that referenced this pull request Oct 5, 2018
Summary:
Pull Request resolved: pytorch/pytorch#12328

- Delete reset() from Storage, as it makes it easy to accidentally
  create a null storage.
- Immediately reject a storage if it is null when passed in

Reviewed By: dzhulgakov

Differential Revision: D10200448

fbshipit-source-id: 14bfa45f8f59859cc350bd9e20e3ef8692e3991d
@soumith soumith deleted the export-D10200448 branch February 21, 2019 23:24
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants