Skip to content

Commit 14102fb

Browse files
laithsakkapytorchmergebot
authored andcommitted
add new line in log (pytorch#164240)
Pull Request resolved: pytorch#164240 Approved by: https://github.com/ColinPeppler, https://github.com/Skylion007, https://github.com/ezyang ghstack dependencies: pytorch#164075
1 parent 5cdbcb5 commit 14102fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/fx/experimental/symbolic_shapes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6612,13 +6612,13 @@ def _make_data_dependent_error(
66126612
desc = "Could not guard on data-dependent expression"
66136613
size_oblivious_result_msg = (
66146614
"consider using data-dependent friendly APIs such as "
6615-
"guard_or_false, guard_or_true and statically_known_true"
6615+
"guard_or_false, guard_or_true and statically_known_true."
66166616
)
66176617

66186618
msg = (
66196619
f"{desc} {expr} (unhinted: {unhinted_expr}). "
66206620
f"(Size-like symbols: {', '.join(map(str, size_like_symbols)) or 'none'})\n\n"
6621-
f"{size_oblivious_result_msg}"
6621+
f"{size_oblivious_result_msg}\n"
66226622
f"Caused by: {sloc}\n"
66236623
'For more information, run with TORCH_LOGS="dynamic"\n'
66246624
"For extended logs when we create symbols, also add "

0 commit comments

Comments
 (0)