pytorch/torch/csrc/jit/frontend
Chang Pan 74e53d0761 [TorchScript] clearer debug for ConcreteModuleType::findSubmoduleConcreteType (#166192)
Summary:
right now the log is just
```
RuntimeError: it != data_.modules_.end() INTERNAL ASSERT FAILED at "fbcode/caffe2/torch/csrc/jit/frontend/concrete_module_type.cpp":207, please report a bug to PyTorch.
```
we have no clue where the error happens
https://fb.workplace.com/groups/gpuinference/posts/789257990578348/?comment_id=789284783909002&reply_comment_id=789415260562621

Test Plan: UT

Reviewed By: jcwchen

Differential Revision: D80020093

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166192
Approved by: https://github.com/gmagogsfm
2025-10-25 14:07:54 +00:00
..
builtin_functions.cpp
builtin_functions.h
canonicalize_modified_loop.cpp
canonicalize_modified_loop.h
concrete_module_type.cpp [TorchScript] clearer debug for ConcreteModuleType::findSubmoduleConcreteType (#166192) 2025-10-25 14:07:54 +00:00
concrete_module_type.h
convert_to_ssa.cpp
convert_to_ssa.h
edit_distance.cpp
edit_distance.h
error_report.cpp
error_report.h
exit_transforms.cpp
exit_transforms.h
function_schema_parser.cpp [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
function_schema_parser.h
inline_loop_condition.cpp
inline_loop_condition.h
ir_emitter.cpp Better error handling in torch/csrc/jit/frontend/* (#165213) 2025-10-21 13:54:59 +00:00
ir_emitter.h [2/N] Fix clang-tidy warnings in jit (#131735) 2024-07-25 15:56:53 +00:00
lexer.cpp Better error handling in torch/csrc/jit/frontend/* (#165213) 2025-10-21 13:54:59 +00:00
lexer.h [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
mini_environment.h
name_mangler.cpp
name_mangler.h
parse_string_literal.h
parser_constants.h
parser.cpp
parser.h
resolver.h [2/N] Fix clang-tidy warnings in jit (#131735) 2024-07-25 15:56:53 +00:00
schema_matching.cpp
schema_matching.h
schema_type_parser.cpp [opaque_obj_v2] PyObject custom op schema type (#165004) 2025-10-14 20:21:04 +00:00
schema_type_parser.h [opaque_obj_v2] PyObject custom op schema type (#165004) 2025-10-14 20:21:04 +00:00
script_type_parser.cpp
script_type_parser.h
source_range.cpp
source_range.h
source_ref.h
strtod.cpp
strtod.h
sugared_value.cpp [2/N] Fix clang-tidy readability checks (#164652) 2025-10-06 01:06:01 +00:00
sugared_value.h [TorchScript, PT2] Add torch._check compatibility support (#159988) 2025-08-08 23:14:13 +00:00
tracer.cpp Better error handling in torch/csrc/jit/frontend/* (#165213) 2025-10-21 13:54:59 +00:00
tracer.h [2/N] Mark unused parameters in C++ code (#165121) 2025-10-15 03:04:39 +00:00
tree_views.cpp
tree_views.h
tree.h Better error handling in torch/csrc/jit/frontend/* (#165213) 2025-10-21 13:54:59 +00:00
versioned_symbols.cpp
versioned_symbols.h