[PR #6395] [MERGED] Make new tokenizer logic conditional #43348

Closed
opened 2026-04-24 22:59:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6395
Author: @dhiltgen
Created: 8/16/2024
Status: Merged
Merged: 8/25/2024
Merged by: @dhiltgen

Base: jmorganca/llamaHead: hybrid_tokenizer


📝 Commits (1)

  • bbf5041 Make new tokenizer logic conditional

📊 Changes

1 file changed (+95 additions, -5 deletions)

View changed files

📝 llm/server.go (+95 -5)

📄 Description

Only use the new cgo tokenizer/detokenizer if we're using the new runners


🔄 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/6395 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 8/16/2024 **Status:** ✅ Merged **Merged:** 8/25/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `jmorganca/llama` ← **Head:** `hybrid_tokenizer` --- ### 📝 Commits (1) - [`bbf5041`](https://github.com/ollama/ollama/commit/bbf50412b49061c8c25996ce1e84493414410c05) Make new tokenizer logic conditional ### 📊 Changes **1 file changed** (+95 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `llm/server.go` (+95 -5) </details> ### 📄 Description Only use the new cgo tokenizer/detokenizer if we're using the new runners --- <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-24 22:59:23 -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#43348