[PR #1185] [MERGED] fix potentially inaccurate error message #41744

Closed
opened 2026-04-24 21:34:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1185
Author: @BruceMacD
Created: 11/17/2023
Status: Merged
Merged: 11/19/2023
Merged by: @jmorganca

Base: mainHead: brucemacd/fix-err-msg


📝 Commits (2)

  • bf9551a fix potentially inaccurate error message
  • 3dc2308 Update llm/llama.go

📊 Changes

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

View changed files

📝 llm/llama.go (+1 -1)
📝 server/routes.go (+1 -1)

📄 Description

In the case of not enough VRAM being available this log made it seem as though there was an issue with cuda libraries. Move the error details to only be returned if nvidia-smi is not available specifically.


🔄 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/1185 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 11/17/2023 **Status:** ✅ Merged **Merged:** 11/19/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `brucemacd/fix-err-msg` --- ### 📝 Commits (2) - [`bf9551a`](https://github.com/ollama/ollama/commit/bf9551a9b7de58bd8a591e4dda788ca5fde934a6) fix potentially inaccurate error message - [`3dc2308`](https://github.com/ollama/ollama/commit/3dc2308a9338c92717671e00a5ddcc516514c9bf) Update llm/llama.go ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `llm/llama.go` (+1 -1) 📝 `server/routes.go` (+1 -1) </details> ### 📄 Description In the case of not enough VRAM being available this log made it seem as though there was an issue with cuda libraries. Move the error details to only be returned if `nvidia-smi` is not available specifically. --- <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 21:34:51 -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#41744