[PR #5045] [MERGED] openai: do not set temperature to 0 when setting seed #42905

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5045
Author: @jmorganca
Created: 6/14/2024
Status: Merged
Merged: 6/14/2024
Merged by: @jmorganca

Base: mainHead: jmorganca/openai-seed


📝 Commits (1)

  • ca1a151 openai: do not set temperature to 0 when setting seed

📊 Changes

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

View changed files

📝 docs/openai.md (+0 -1)
📝 openai/openai.go (+0 -3)

📄 Description

tempearture was previously set to 0 for reproducible outputs when setting seed, however this is not required

Note https://github.com/ollama/ollama/issues/4990 is still an open issue on Nvidia/AMD GPUs

Fixes https://github.com/ollama/ollama/issues/5044


🔄 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/5045 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 6/14/2024 **Status:** ✅ Merged **Merged:** 6/14/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/openai-seed` --- ### 📝 Commits (1) - [`ca1a151`](https://github.com/ollama/ollama/commit/ca1a151bbd0b9641567f3825a0fbf044b7cb9194) openai: do not set temperature to 0 when setting seed ### 📊 Changes **2 files changed** (+0 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/openai.md` (+0 -1) 📝 `openai/openai.go` (+0 -3) </details> ### 📄 Description `tempearture` was previously set to 0 for reproducible outputs when setting seed, however this is not required Note https://github.com/ollama/ollama/issues/4990 is still an open issue on Nvidia/AMD GPUs Fixes https://github.com/ollama/ollama/issues/5044 --- <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:37:06 -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#42905