Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client run timeout,no response #82

Open
songsh opened this issue Mar 7, 2024 · 3 comments
Open

client run timeout,no response #82

songsh opened this issue Mar 7, 2024 · 3 comments

Comments

@songsh
Copy link

songsh commented Mar 7, 2024

response = ollama.Client(host = 'http://xxxxx').generate(model='gemma',prompt=prompt,format='json',options={"seed": 101,"temperature": 0},keep_alive=7)
run timeout, no resonse.

@songsh
Copy link
Author

songsh commented Mar 7, 2024

i found when token too much, then no response

@hahchenchen
Copy link

meet the same problem, how to fix it?

@themw123
Copy link

themw123 commented May 30, 2024

same for me. When context gets to high by appending the history with every request, i get an empty response from time to time like in 30% of responses.

edit: oh i see you meant no response at all. I get one, but as i sayed empty one. I think it is a different issue. Also i am facing it only by using llama3 8b. But i see now i get the same problem by using plain ollama api, so it should not be related to ollama-python client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants