lightning-thunder
lightning-thunder copied to clipboard
Interpreter log colors internal calls
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)
cc @borda @carmocca @apaz-cli