ollama.generate & ollama.chat hangs after about 30*mins #24

Closed
opened 2026-02-15 16:27:32 -05:00 by yindo · 5 comments
Owner

Originally created by @stevengans on GitHub (Feb 6, 2024).

Original: https://github.com/ollama/ollama/issues/2339
Tests: https://github.com/ollama/ollama-python/pull/55

Originally created by @stevengans on GitHub (Feb 6, 2024). Original: https://github.com/ollama/ollama/issues/2339 Tests: https://github.com/ollama/ollama-python/pull/55
yindo closed this issue 2026-02-15 16:27:32 -05:00
Author
Owner

@draftin1 commented on GitHub (Feb 12, 2024):

Anyone familiar with this repo have an idea where in the code the hang up might be occurring and can give me a starting place? I can take a look at it. I'm running into this same issue, and I'd rather fix it here, than create a loading/generator script with huggingface options.

@draftin1 commented on GitHub (Feb 12, 2024): Anyone familiar with this repo have an idea where in the code the hang up might be occurring and can give me a starting place? I can take a look at it. I'm running into this same issue, and I'd rather fix it here, than create a loading/generator script with huggingface options.
Author
Owner

@stevengans commented on GitHub (Feb 12, 2024):

@jonnyjohnson1 https://github.com/ollama/ollama/pull/2459 fixes the issue.

@stevengans commented on GitHub (Feb 12, 2024): @jonnyjohnson1 https://github.com/ollama/ollama/pull/2459 fixes the issue.
Author
Owner

@draftin1 commented on GitHub (Feb 12, 2024):

@stevengans How can I get the update on macOS? Does it require an uninstall/reinstall?

@draftin1 commented on GitHub (Feb 12, 2024): @stevengans How can I get the update on macOS? Does it require an uninstall/reinstall?
Author
Owner

@stevengans commented on GitHub (Feb 12, 2024):

It's been merged. So we can make a request to @mxyng to add it to the next release.

@stevengans commented on GitHub (Feb 12, 2024): It's been merged. So we can make a request to @mxyng to add it to the next release.
Author
Owner

@mxyng commented on GitHub (Feb 23, 2024):

Ollama changes usually do not require a bump for the python client library.

How can I get the update on macOS? Does it require an uninstall/reinstall?

The macOS app has an auto-update feature. Clicking the "restart to update" will install the latest

@mxyng commented on GitHub (Feb 23, 2024): Ollama changes usually do not require a bump for the python client library. > How can I get the update on macOS? Does it require an uninstall/reinstall? The macOS app has an auto-update feature. Clicking the "restart to update" will install the latest
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#24