[PR #11362] [MERGED] Only load supported models on new engine #39393

Closed
opened 2026-04-23 00:10:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11362
Author: @dhiltgen
Created: 7/10/2025
Status: Merged
Merged: 7/11/2025
Merged by: @dhiltgen

Base: mainHead: new_engine_by_default


📝 Commits (2)

  • d45b480 Only load supported models on new engine
  • 89ef0b9 int: testcase for all library models

📊 Changes

4 files changed (+261 additions, -0 deletions)

View changed files

integration/library_models_test.go (+57 -0)
📝 integration/utils_test.go (+185 -0)
📝 model/models/llama/model.go (+9 -0)
📝 model/models/qwen2/model.go (+10 -0)

📄 Description

This refines the OLLAMA_NEW_ENGINE=1 setting so that we verify if the model is in fact supported.

A new integration test case has been added to exercise all the current library models.


🔄 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/11362 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 7/10/2025 **Status:** ✅ Merged **Merged:** 7/11/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `new_engine_by_default` --- ### 📝 Commits (2) - [`d45b480`](https://github.com/ollama/ollama/commit/d45b4808e8973f90995fede54cde5858ff89a193) Only load supported models on new engine - [`89ef0b9`](https://github.com/ollama/ollama/commit/89ef0b918192ed0e8d6ec2db194bcad489de96a3) int: testcase for all library models ### 📊 Changes **4 files changed** (+261 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `integration/library_models_test.go` (+57 -0) 📝 `integration/utils_test.go` (+185 -0) 📝 `model/models/llama/model.go` (+9 -0) 📝 `model/models/qwen2/model.go` (+10 -0) </details> ### 📄 Description This refines the `OLLAMA_NEW_ENGINE=1` setting so that we verify if the model is in fact supported. A new integration test case has been added to exercise all the current library models. --- <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-23 00:10:05 -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#39393