[PR #9777] [CLOSED] model: support for mistral-small in the ollama runner #13058

Closed
opened 2026-04-13 00:16:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9777
Author: @BruceMacD
Created: 3/14/2025
Status: Closed

Base: mainHead: brucemacd/mistral


📝 Commits (1)

  • c7c7516 model: support for mistral-small in the ollama runner

📊 Changes

2 files changed (+340 additions, -5 deletions)

View changed files

📝 model/models/llama/model.go (+20 -5)
📝 model/process_text_test.go (+320 -0)

📄 Description

Mistral is a popular research lab making open source models. This updates the forward pass of llama architecture models to support both llama models and mistral models by accounting for additional metadata present in mistral models, and finding the correct dimensions for the output projection.


🔄 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/9777 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 3/14/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `brucemacd/mistral` --- ### 📝 Commits (1) - [`c7c7516`](https://github.com/ollama/ollama/commit/c7c751647dc5c0e0012a127bf2bab1923ed41bad) model: support for mistral-small in the ollama runner ### 📊 Changes **2 files changed** (+340 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `model/models/llama/model.go` (+20 -5) 📝 `model/process_text_test.go` (+320 -0) </details> ### 📄 Description Mistral is a popular research lab making open source models. This updates the forward pass of llama architecture models to support both llama models and mistral models by accounting for additional metadata present in mistral models, and finding the correct dimensions for the output projection. --- <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-13 00:16:47 -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#13058