Closed pjbull closed 2 years ago
@pjbull Can you give me an example line that errored?
Yeah, this was just from the error I saw running training that is filed in #234. I think if you put a raise
anywhere that the model itself is in local scope, you'll see this output.
That one errored here: https://github.com/drivendataorg/zamba/blob/eba2cec58b990725920f177ef68fcde4af3eecc9/zamba/models/model_manager.py#L207-L209
After
typer
integrated withrich
for fancier tracebacks, whenever our CLI errors, it prints the entire model architecture to the console, taking hundreds of lines. We should look into truncating or turning off this behavior.For example, last ~100 lines look like: