Skip to content

Commit 6003b17

Browse files
yijie-yangcopybara-github
authored andcommitted
Internal changes to lowering debuginfo
PiperOrigin-RevId: 731085688
1 parent 3f5944c commit 6003b17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ai_edge_torch/odml_torch/debuginfo/_build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
# ==============================================================================
15+
import re
1516
from ai_edge_torch.fx_infra import graph_utils
1617
import torch
1718

@@ -48,8 +49,6 @@ def _get_canonical_filename(filename: str):
4849
The canonicalized filename.
4950
"""
5051

51-
# TODO(yijieyang): We should add a config option to provide a regex to strip
52-
# from the debug info. Currently absolute path is used.
5352
return filename
5453

5554

0 commit comments

Comments
 (0)