defaut timeout
This commit is contained in:
parent
2cc7d05012
commit
d77a174eb4
@ -166,6 +166,8 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
|
||||
|
||||
params = append(params, "--log-disable")
|
||||
|
||||
params = append(params, "--timeout", fmt.Sprintf("%d", 600))
|
||||
|
||||
if opts.NumGPU >= 0 {
|
||||
params = append(params, "--n-gpu-layers", fmt.Sprintf("%d", opts.NumGPU))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user