lightning-thunder icon indicating copy to clipboard operation
lightning-thunder copied to clipboard

Interpreter log colors internal calls

Open apaz-cli opened this issue 1 year ago • 0 comments

It seems like interpreter debugging tools have regressed in my absence. Only user code is supposed to be colored. Will fix and make a regression test.

Repro:

import thunder

def outside(x):
  print(x + " World!")

def foo():
  x = "Hello"
  outside(x)


jfoo = thunder.jit(foo, record_history=True)
jfoo()
thunder.print_last_interpreter_log(jfoo)

2024-07-12-095157_11520x2160_scrot

cc @borda @carmocca @apaz-cli

apaz-cli avatar Jul 12 '24 15:07 apaz-cli