Skip to content

Make at::Error look more like caffe2::EnforceNotMet#10183

Closed
ezyang wants to merge 3 commits intopytorch:masterfrom
ezyang:export-D9139996
Closed

Make at::Error look more like caffe2::EnforceNotMet#10183
ezyang wants to merge 3 commits intopytorch:masterfrom
ezyang:export-D9139996

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Aug 2, 2018

Summary:

  • New concept of a message stack; you can add messages
    using AppendMessage
  • New concept of a caller; it's just a way to pass along
    some arbitrary extra information in the exception

Coming soon is changing Caffe2 to use at::Error instead of
EnforceNotMet

Differential Revision: D9139996

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.

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

ezyang added 3 commits August 3, 2018 14:35
Summary:
It doesn't work with Caffe2; use AT_CORE_API from ATen/core/CoreAPI.h
instead.

Differential Revision: D9162467

fbshipit-source-id: bf10e66b0fdb2c6d3757451c5575bd12f7e08b4e
Summary: nvcc only respects definitions, not options.

Differential Revision: D9154388

fbshipit-source-id: 580c282cd8c0791f7c19bfefc012252db0ebe061
Summary:
- New concept of a message stack; you can add messages
  using AppendMessage
- New concept of a caller; it's just a way to pass along
  some arbitrary extra information in the exception

Coming soon is changing Caffe2 to use at::Error instead of
EnforceNotMet
Pull Request resolved: pytorch#10183

Differential Revision: D9139996

Pulled By: ezyang

fbshipit-source-id: f89dc7ea97d3ee2b96314be61f5b729bc5ebf40b
zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 4, 2018
Summary:
- New concept of a message stack; you can add messages
  using AppendMessage
- New concept of a caller; it's just a way to pass along
  some arbitrary extra information in the exception

Coming soon is changing Caffe2 to use at::Error instead of
EnforceNotMet
Pull Request resolved: pytorch/pytorch#10183

Differential Revision: D9139996

Pulled By: ezyang

fbshipit-source-id: 6979c289ec59bc3566a23d6619bafba2c1920de9
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
- New concept of a message stack; you can add messages
  using AppendMessage
- New concept of a caller; it's just a way to pass along
  some arbitrary extra information in the exception

Coming soon is changing Caffe2 to use at::Error instead of
EnforceNotMet
Pull Request resolved: pytorch#10183

Differential Revision: D9139996

Pulled By: ezyang

fbshipit-source-id: 6979c289ec59bc3566a23d6619bafba2c1920de9
@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