pytorch/torch/csrc/export
zhudada 058814794b [Code Clean] Replace std::runtime_error with TORCH_CHECK (#163437)
Replace the runtime_error of the vallina C++ exceptions with TORCH_CEHCK
Including:
- torch/csrc/export
- torch/csrc/cuda

Fixes #148114
Pull Request resolved: https://github.com/pytorch/pytorch/pull/163437
Approved by: https://github.com/Skylion007, https://github.com/cyyever
2025-10-12 01:23:02 +00:00
..
example_upgraders.cpp
example_upgraders.h
pt2_archive_constants.h
pybind.cpp
pybind.h
upgrader.cpp [Code Clean] Replace std::runtime_error with TORCH_CHECK (#163437) 2025-10-12 01:23:02 +00:00
upgrader.h [Code Clean] Replace std::runtime_error with TORCH_CHECK (#163437) 2025-10-12 01:23:02 +00:00