torch-mlir/python/torch_mlir/csrc/reference_lazy_backend
Gleb Kazantaev fb52a73cbe
LTC->MLIR Debug Info support (#1922)
* LTC->MLIR Debug Info support

* SW-95317 Propagate Lazy->Jit->MLIR scope name.

* Enhance location information based on op names

Currently, the location information attached to the ops just considers
the filename, line number and column number. Attaching operation name
would help identify the type of computation by just looking at the
profile of execution.

* Update locations logic; updated debug-info.py test

* Use {scope}/{op_name} format to track names by default

---------

Co-authored-by: Gleb Kazantaev <gleb.kazantaev@cerebras.net>
Co-authored-by: Mark Browning <mark@cerebras.net>
Co-authored-by: Vimal Patel <vimal@polymagelabs.com>
2023-08-02 10:29:11 -04:00
..
CMakeLists.txt Fix LTC lib_torch_mlir_ltc.so import error (#1283) 2022-08-25 18:25:01 -04:00
__init__.py Reference Lazy Backend (#1045) 2022-07-30 09:40:02 -04:00
backend_impl.cpp Reference lazy graph executor (#1507) 2022-10-24 17:15:11 -04:00
backend_impl.h Reference Lazy Backend (#1045) 2022-07-30 09:40:02 -04:00
gen_dummy_lib.py Resolve remaining LTC CI failures (#1110) 2022-07-30 09:40:02 -04:00
reference_lazy_backend_pybind.cpp LTC->MLIR Debug Info support (#1922) 2023-08-02 10:29:11 -04:00