[GH-ISSUE #14898] The new version encounters an error when running gpt-oss!!! #71655

Closed
opened 2026-05-05 02:17:18 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Xipro on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14898

What is the issue?

When I upgraded ollama to the latest version, I found that my original gpt-oss:120b stopped working, with the following error:
Error: 500 Internal Server Error: model failed to load, this may be due to resource limitations or an internal error, check ollama server logs for details
Later, I tried gpt-oss:20b, but it also failed to run. Due to the significant upgrade, it was functioning properly on version 0.13.0 for me. I am posting the relevant error logs.
my GPU is nvidia h20 * 8.
NVIDIA-SMI 575.51.03 Driver Version: 575.51.03 CUDA Version: 12.9

ai_ollama_2026-03-17_14_38_33.log

Relevant log output


OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.18.1

Originally created by @Xipro on GitHub (Mar 17, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14898 ### What is the issue? When I upgraded ollama to the latest version, I found that my original gpt-oss:120b stopped working, with the following error: Error: 500 Internal Server Error: model failed to load, this may be due to resource limitations or an internal error, check ollama server logs for details Later, I tried gpt-oss:20b, but it also failed to run. Due to the significant upgrade, it was functioning properly on version 0.13.0 for me. I am posting the relevant error logs. my GPU is nvidia h20 * 8. NVIDIA-SMI 575.51.03 Driver Version: 575.51.03 CUDA Version: 12.9 [ai_ollama_2026-03-17_14_38_33.log](https://github.com/user-attachments/files/26045896/ai_ollama_2026-03-17_14_38_33.log) ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.18.1
GiteaMirror added the bug label 2026-05-05 02:17:18 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 17, 2026):

#14124

Set OLLAMA_CONTEXT_LENGTH=8192 in the server environment.

<!-- gh-comment-id:4073319156 --> @rick-github commented on GitHub (Mar 17, 2026): #14124 Set `OLLAMA_CONTEXT_LENGTH=8192` in the server environment.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#71655