Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Override numParallel only if unset.
Richard Lyons0ad0e738cd7e
diff --git a/server/sched.go b/server/sched.goindex 9947fd325..4d9c02969 100644--- a/server/sched.go+++ b/server/sched.go@@ -734,7 +734,9 @@ func pickBestFullFitByLibrary(req *LlmRequest, ggml *llm.GGML, gpus gpu.GpuInfoL// If multiple Libraries are detected, pick the Library which loads the most layers for the modelfunc pickBestPartialFitByLibrary(req *LlmRequest, ggml *llm.GGML, gpus gpu.GpuInfoList, numParallel *int) gpu.GpuInfoList {- *numParallel = 1+ if *numParallel <= 0 {+ *numParallel = 1+ }byLibrary := gpus.ByLibrary()if len(byLibrary) <= 1 {return gpus