[GH-ISSUE #72] ollama run doesn't continue after one reponse #46537

Closed
opened 2026-04-27 22:57:02 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @hoyyeva on GitHub (Jul 12, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/72

Originally assigned to: @mxyng on GitHub.

here are how you reproduce

Hello! How can I assist you today?Error: stream: EOF

$ logs  ollama run orca "why is the sky blue"
The sky appears blue because of a process called scattering. 
When sunlight enters the Earth's atmosphere, it collides with gas molecules 
such as oxygen and nitrogen. These collisions cause the light to scatter in 
all directions. Blue light has a shorter wavelength and is scattered more 
easily than other colors, so it is scattered more widely across the sky, 
making it appear blue. This effect is also why the sky is usually darker 
during sunrise and sunset when the sun is below the horizon and 
cannot be seen.Error: stream: EOF```

Originally created by @hoyyeva on GitHub (Jul 12, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/72 Originally assigned to: @mxyng on GitHub. here are how you reproduce ```$ ollama run orca hello Hello! How can I assist you today?Error: stream: EOF $ logs ollama run orca "why is the sky blue" The sky appears blue because of a process called scattering. When sunlight enters the Earth's atmosphere, it collides with gas molecules such as oxygen and nitrogen. These collisions cause the light to scatter in all directions. Blue light has a shorter wavelength and is scattered more easily than other colors, so it is scattered more widely across the sky, making it appear blue. This effect is also why the sky is usually darker during sunrise and sunset when the sun is below the horizon and cannot be seen.Error: stream: EOF```
GiteaMirror added the bug label 2026-04-27 22:57:02 -05:00
Author
Owner

@mxyng commented on GitHub (Jul 12, 2023):

Can you confirm the version/build and the input? It's unclear from the example snippet what the inputs and outputs are

FWIW, this isn't an issue on main:

$ ./ollama run ~/Downloads/vicuna-7b-v1.3.ggmlv3.q4_0.bin "why is the sky blue"

The sky appears blue because of a process called Rayleigh scattering, which occurs when sunlight enters the Earth's atmosphere. When the sunlight encounters the molecules in the Earth's atmosphere, it is scattered in all directions by the air molecules. However, blue light is scattered more than any other color because the Earth's atmosphere has a higher density of molecules that can scatter blue light.

As a result, when we look up at the sky, we see mostly blue light being scattered into our eyes, which is why the sky appears blue. This phenomenon is why the sky looks different during different times of day and during different seasons, as well as why it appears differently in different parts of the world due to differences in atmospheric conditions.

<!-- gh-comment-id:1632853356 --> @mxyng commented on GitHub (Jul 12, 2023): Can you confirm the version/build and the input? It's unclear from the example snippet what the inputs and outputs are FWIW, this isn't an issue on [main](https://github.com/jmorganca/ollama/commit/b227261f21c8946ae74e634520d5550d6834ed45): ``` $ ./ollama run ~/Downloads/vicuna-7b-v1.3.ggmlv3.q4_0.bin "why is the sky blue" The sky appears blue because of a process called Rayleigh scattering, which occurs when sunlight enters the Earth's atmosphere. When the sunlight encounters the molecules in the Earth's atmosphere, it is scattered in all directions by the air molecules. However, blue light is scattered more than any other color because the Earth's atmosphere has a higher density of molecules that can scatter blue light. As a result, when we look up at the sky, we see mostly blue light being scattered into our eyes, which is why the sky appears blue. This phenomenon is why the sky looks different during different times of day and during different seasons, as well as why it appears differently in different parts of the world due to differences in atmospheric conditions. ```
Author
Owner

@mxyng commented on GitHub (Jul 17, 2023):

This shouldn't be a problem anymore

<!-- gh-comment-id:1638500926 --> @mxyng commented on GitHub (Jul 17, 2023): This shouldn't be a problem anymore
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46537