We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bdf2fb commit 988669dCopy full SHA for 988669d
python/paddle/jit/sot/opcode_translator/executor/opcode_executor.py
@@ -653,7 +653,7 @@ def step(self, instr: Instruction):
653
self._current_line = instr.starts_line
654
if not hasattr(self, instr.opname):
655
raise FallbackError(f"opcode: {instr.opname} is not supported.")
656
- log_message = f"[Translate {self._name}] (line {self._current_line:>3}) {instr.opname:<12} {instr.argval}, stack is {self.stack}\n"
+ log_message = f"[Translate {self._name} {len(self.call_stack)}] (line {self._current_line:>3}) {instr.opname:<12} {instr.argval}, stack is {self.stack}\n"
657
log(3, log_message)
658
code_file = self.vframe.code.co_filename
659
code_line = self._current_line
0 commit comments