[PR #9380] [MERGED] runner: simplify tensor split parsing #18207

Closed
opened 2026-04-16 06:28:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9380
Author: @mxyng
Created: 2/26/2025
Status: Merged
Merged: 2/27/2025
Merged by: @mxyng

Base: mainHead: mxyng/less-regex


📝 Commits (1)

  • dcbcdc6 runner: simplify tensor split parsing

📊 Changes

2 files changed (+8 additions, -10 deletions)

View changed files

📝 runner/llamarunner/runner.go (+4 -5)
📝 runner/ollamarunner/runner.go (+4 -5)

📄 Description

Using strings.Split instead of regexp which is overkill for simple comma-separated value


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/9380 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 2/26/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/less-regex` --- ### 📝 Commits (1) - [`dcbcdc6`](https://github.com/ollama/ollama/commit/dcbcdc653f7ecc7f063e61168e7774c876fc9319) runner: simplify tensor split parsing ### 📊 Changes **2 files changed** (+8 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `runner/llamarunner/runner.go` (+4 -5) 📝 `runner/ollamarunner/runner.go` (+4 -5) </details> ### 📄 Description Using `strings.Split` instead of `regexp` which is overkill for simple comma-separated value --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 06:28:19 -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#18207