Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
sched: Lift parallel restriction for multimodal models except mllama
Jesse Gross6cd566872b4f
diff --git a/server/sched.go b/server/sched.goindex 1409ff07f..1e34e4b9e 100644--- a/server/sched.go+++ b/server/sched.go@@ -130,11 +130,11 @@ func (s *Scheduler) processPending(ctx context.Context) {continue}numParallel := int(envconfig.NumParallel())- // TODO (jmorganca): multimodal models don't support parallel yet+ // TODO (jmorganca): mllama doesn't support parallel yet// see https://github.com/ollama/ollama/issues/4165- if len(pending.model.ProjectorPaths) > 0 && numParallel != 1 {+ if checkMllamaModelFamily(pending.model) && numParallel != 1 {numParallel = 1- slog.Warn("multimodal models don't support parallel requests yet")+ slog.Warn("mllama doesn't support parallel requests yet")}for {