mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-09 23:23:49 +01:00
Fix passing adaptive-p to llama-server
This commit is contained in:
parent
b3705d87bf
commit
7170a16b91
|
|
@ -129,7 +129,7 @@ class LlamaServer:
|
|||
# places it at the end of the chain regardless of position, so we
|
||||
# activate it based on the parameter value rather than sampler order.
|
||||
if state.get("adaptive_target", 0) > 0:
|
||||
filtered_samplers.append("adaptive-p")
|
||||
filtered_samplers.append("adaptive_p")
|
||||
|
||||
payload["samplers"] = filtered_samplers
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue