My most recent env prints traceback like this
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
which is beyond useless.
I've already looked at this How to make typer traceback look normal but it doesn't help.
My hunch is it may be about Huggingface but maybe something else like datasets
or evaluate
but I can't find anything useful so far.
How to make stacktrace print everything it need to again?
It is this thing that causes the issue. So pip uninstall rich
solved everything.
This seems to be the issue with accelerate
as I originally anticipated. In this case it default to use rich
when available. So ACCELERATE_DISABLE_RICH=1
should fix the issue in case other libs require rich
for something else.