mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 00:54:23 +00:00
Fix temp in tests
This commit is contained in:
@@ -113,7 +113,7 @@ func TestBuildCommandArgs_NumericFields(t *testing.T) {
|
|||||||
"--threads": "4",
|
"--threads": "4",
|
||||||
"--ctx-size": "2048",
|
"--ctx-size": "2048",
|
||||||
"--gpu-layers": "16",
|
"--gpu-layers": "16",
|
||||||
"--temperature": "0.7",
|
"--temp": "0.7",
|
||||||
"--top-k": "40",
|
"--top-k": "40",
|
||||||
"--top-p": "0.9",
|
"--top-p": "0.9",
|
||||||
}
|
}
|
||||||
@@ -231,7 +231,7 @@ func TestUnmarshalJSON_StandardFields(t *testing.T) {
|
|||||||
"verbose": true,
|
"verbose": true,
|
||||||
"ctx_size": 4096,
|
"ctx_size": 4096,
|
||||||
"gpu_layers": 32,
|
"gpu_layers": 32,
|
||||||
"temperature": 0.7
|
"temp": 0.7
|
||||||
}`
|
}`
|
||||||
|
|
||||||
var options llamacpp.LlamaServerOptions
|
var options llamacpp.LlamaServerOptions
|
||||||
|
|||||||
Reference in New Issue
Block a user