mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-26 07:14:39 +01:00
Revert "llama.cpp: Don't suppress llama-server logs"
This reverts commit 9488df3e48.
This commit is contained in:
parent
286bbb685d
commit
a7ef430b38
|
|
@ -588,11 +588,8 @@ def filter_stderr_with_progress(process_stderr):
|
|||
print(display_line, end=end_char, file=sys.stderr, flush=True)
|
||||
last_was_progress = (progress < 1.0)
|
||||
|
||||
# skip health check polling and parser warnings
|
||||
elif 'log_server_r: request: GET /health' in line or 'No parser definition detected' in line:
|
||||
continue
|
||||
|
||||
else:
|
||||
# skip noise lines
|
||||
elif not (line.startswith(('srv ', 'slot ')) or 'log_server_r: request: GET /health' in line or 'No parser definition detected' in line):
|
||||
# if we were in progress, finish that line first
|
||||
if last_was_progress:
|
||||
print(file=sys.stderr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue