瀏覽代碼

Remove duplicate merge glitch

Daniel Hiltgen 9 月之前
父節點
當前提交
22c81f62ec
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      llm/server.go

+ 0 - 4
llm/server.go

@@ -254,10 +254,6 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
 		params = append(params, "--tensor-split", estimate.TensorSplit)
 		params = append(params, "--tensor-split", estimate.TensorSplit)
 	}
 	}
 
 
-	if estimate.TensorSplit != "" {
-		params = append(params, "--tensor-split", estimate.TensorSplit)
-	}
-
 	for i := range len(servers) {
 	for i := range len(servers) {
 		dir := availableServers[servers[i]]
 		dir := availableServers[servers[i]]
 		if dir == "" {
 		if dir == "" {