mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
llama.cpp: Make --verbose print the llama-server command
This commit is contained in:
parent
15a29e99f8
commit
1ee0acc852
|
|
@ -327,6 +327,11 @@ class LlamaServer:
|
|||
else:
|
||||
env['LD_LIBRARY_PATH'] = os.path.dirname(self.server_path)
|
||||
|
||||
if shared.args.verbose:
|
||||
logger.info(f"llama-server command-line flags:")
|
||||
print(' '.join(str(item) for item in cmd[1:]))
|
||||
print()
|
||||
|
||||
# Start the server with pipes for output
|
||||
self.process = subprocess.Popen(
|
||||
cmd,
|
||||
|
|
|
|||
Loading…
Reference in a new issue