[GH-ISSUE #5594] duplicated code #3495

Closed
opened 2026-04-12 14:11:25 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @wangjiateng on GitHub (Jul 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5594

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

llm/server.go:253

	if estimate.TensorSplit != "" {
		params = append(params, "--tensor-split", estimate.TensorSplit)
	}

	if estimate.TensorSplit != "" {
		params = append(params, "--tensor-split", estimate.TensorSplit)
	}

OS

No response

GPU

No response

CPU

No response

Ollama version

0.2.1

Originally created by @wangjiateng on GitHub (Jul 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5594 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? llm/server.go:253 ```go if estimate.TensorSplit != "" { params = append(params, "--tensor-split", estimate.TensorSplit) } if estimate.TensorSplit != "" { params = append(params, "--tensor-split", estimate.TensorSplit) } ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version 0.2.1
GiteaMirror added the bug label 2026-04-12 14:11:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3495