pytorch/torch/csrc/utils
Peter Goldsborough f62bc01dfe Remove TORCH_ASSERT (#9575)
Summary:
I got some tensor->variable conversion exceptions from `torch/csrc/autograd/variable.h`, which used the `TORCH_ASSERTM` macros instead of `AT_CHECK`, so they didn't have backtraces. This was such a substantial loss for debugability that I decided to update the whole codebase to use the backtrace-enabled ATen macros instead of `TORCH_ASSERT` and `JIT_ASSERT`, the latter having been an alias of the former.

ezyang apaszke zdevito
Pull Request resolved: https://github.com/pytorch/pytorch/pull/9575

Differential Revision: D8924566

Pulled By: goldsborough

fbshipit-source-id: 7a4013b13eec9dbf024cef94cf49fca72f61d441
2018-07-24 18:10:06 -07:00
..
auto_gil.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
cuda_enabled.h Remove NO_* and WITH_* across codebase, except in setup.py (#8555) 2018-06-15 12:29:48 -04:00
cuda_lazy_init.cpp Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
cuda_lazy_init.h better solution for the linking error related to lazy_init for MSVC (#5375) 2018-02-28 17:34:34 -05:00
disallow_copy.h Move disallow_copy into utils. 2017-09-05 17:48:55 -04:00
functional.h Add a tagged union type that replaces tensor in the interpreter. (#9368) 2018-07-16 15:40:22 -07:00
hash.h Replace std::size_t with size_t (#8093) 2018-06-04 11:10:44 -04:00
invalid_arguments.cpp Replace std::size_t with size_t (#8093) 2018-06-04 11:10:44 -04:00
invalid_arguments.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
memory.h [C++ API] Remove virtual forward and implement Sequential based on Any(Module) (#7508) 2018-05-24 12:46:51 -07:00
numpy_stub.h Remove NO_* and WITH_* across codebase, except in setup.py (#8555) 2018-06-15 12:29:48 -04:00
object_ptr.cpp Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
object_ptr.h Add explicit to conversions (#9336) 2018-07-11 12:10:30 -07:00
pybind.h Add is_variable tag to Tensor (#8414) 2018-06-13 18:14:29 -07:00
python_arg_parser.cpp Fix parsing of floating point defaults in python_arg_parser (#8681) 2018-06-20 12:17:44 -04:00
python_arg_parser.h [C++ API] Bag of fixes (#8843) 2018-06-25 21:11:49 -07:00
python_compat.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
python_numbers.h Use Index rather than Long for IntList parsing (#6674) 2018-04-26 19:13:23 -04:00
python_scalars.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
python_strings.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
python_stub.h Include Python.h less using a new stub header. 2017-10-19 23:04:19 -04:00
python_tuples.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
tensor_apply.cpp Merge Variable and Tensor classes (#5225) 2018-02-23 18:03:31 -05:00
tensor_apply.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
tensor_conversion_dispatch.cpp Create ATen tensors via TensorOptions (#7869) 2018-06-16 00:40:35 -07:00
tensor_conversion_dispatch.h Create ATen tensors via TensorOptions (#7869) 2018-06-16 00:40:35 -07:00
tensor_dtypes.cpp Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
tensor_dtypes.h Add numpy-style dtypes to Variable factories. (#5245) 2018-02-20 11:04:14 -05:00
tensor_flatten.cpp Remove TORCH_ASSERT (#9575) 2018-07-24 18:10:06 -07:00
tensor_flatten.h Remove TORCH_ASSERT (#9575) 2018-07-24 18:10:06 -07:00
tensor_layouts.cpp Create ATen tensors via TensorOptions (#7869) 2018-06-16 00:40:35 -07:00
tensor_layouts.h Introduce torch.layout and split layout from dtypes. (#6145) 2018-04-02 14:07:50 -04:00
tensor_list.cpp Implement Variable.new (#4080) 2017-12-11 15:45:43 -05:00
tensor_list.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
tensor_new.cpp [C++ API] Bag of fixes (#8843) 2018-06-25 21:11:49 -07:00
tensor_new.h Create ATen tensors via TensorOptions (#7869) 2018-06-16 00:40:35 -07:00
tensor_numpy.cpp Remove NO_* and WITH_* across codebase, except in setup.py (#8555) 2018-06-15 12:29:48 -04:00
tensor_numpy.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
tensor_types.cpp [C++ API] Bag of fixes (#8843) 2018-06-25 21:11:49 -07:00
tensor_types.h Python-free build of autograd + jit (#5356) 2018-03-08 15:13:10 -05:00
tuple_parser.cpp Delete dead Tensor code paths (#5417) 2018-02-27 17:58:09 -05:00
tuple_parser.h Add workaround to fix include warnings in Python 2 builds. (#6716) 2018-04-24 12:30:19 -07:00
variadic.cpp Use variadic templates instead of initializer lists and overloads. (#4772) 2018-01-26 15:56:39 -05:00
variadic.h [C++ API] Remove virtual forward and implement Sequential based on Any(Module) (#7508) 2018-05-24 12:46:51 -07:00