Open mirh opened 3 months ago
llama_new_context_with_model: failed to allocate compute buffers
╭────────────────────────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────────────────────╮
│ /root/text-generation-webui-main/server.py:253 in
llama_new_context_with_model: failed to allocate compute buffers
Was this the only notable preceding line? It's not really much useful (if the devs didn't just want to improve parsing/wrapping, but also trying to gracefully handle these errors).
Description
Sometimes you have crashes like the ones below.
ui_model_menu.py
is quite nice and dandy by reporting the python stack when it can, but as you can see below if you were only to report the raw traceback, period.. Those lines would be very very much useless.Additional Context
Well, I'm not really sure what the best course of action would be though tbf. Having internal functions catching errors better? Heuristically parsing the words "failed" and "error" from the log? Print the last 5 lines before the traceback just for the records?