mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-05 14:45:28 +00:00
llama.cpp: Add --fit-target param
This commit is contained in:
parent
e81a47f708
commit
66fb79fe15
5 changed files with 6 additions and 0 deletions
|
|
@ -354,6 +354,8 @@ class LlamaServer:
|
|||
cmd += ["--gpu-layers", str(shared.args.gpu_layers), "--fit", "off"]
|
||||
else:
|
||||
cmd += ["--fit", "on"]
|
||||
if shared.args.fit_target:
|
||||
cmd += ["--fit-target", shared.args.fit_target]
|
||||
|
||||
if shared.args.threads > 0:
|
||||
cmd += ["--threads", str(shared.args.threads)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue