You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing issues while running GEMMA2 on Ollama. Specifically, I'm encountering the following problems:
Error on Message Generation:
Whenever a new chat is created, every message results in the error:
Error: Generation failed, in the back end
No output is generated,on the front end.
Inconsistent Message Handling:
After retrying the same message multiple times (ranging from 2 to 15 attempts), the message is eventually processed correctly and the output is displayed on the front end.
Server Responsiveness:
Despite the above issues, the server responds to every query.
Expected Behavior:
Messages should be processed and output generated on the first attempt without errors.
Additional Context:
Ollama Version: 0.3.3
GEMMA2:2b (I've tried others models and the problem is the same)
Operating System: CentOS
Relevant Logs:
error message:
ERROR (537688): Generation failed
err: {
"type": "Error",
"message": "Generation failed",
"stack":
Error: Generation failed
at Module.generateFromDefaultEndpoint (/chat-ui/src/lib/server/generateFromDefaultEndpoint.ts:23:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async generateTitle (/chat-ui/src/lib/server/textGeneration/title.ts:54:10)
at async Module.generateTitleForConversation (/chat-ui/src/lib/server/textGeneration/title.ts:17:19)
Its something with the title of the conversation but retrying the message finally the conversations name is changed too. And messages after conversations name is changed have the same problem, rarely it works at first attempt.
juanjuanignacio
changed the title
Generation Error in GEMMA2 on Ollama - Inconsistent Output Generation
Generation Error with Ollama - Inconsistent Output Generation
Aug 7, 2024
Solution Found:
I managed to resolve the inconsistency in message generation by switching the model to use the OpenAI API as follows(Ollama supports Open AI API calls):
Persistent Issue:
Despite this fix, I am still encountering the error Generation failed in the back end related to the titles of the conversations. The output is consistent and messages are printed correctly on the first attempt, but the conversation title never updates and remains as 'new chat'.
Any assistance in resolving the issue with the conversation titles would be greatly appreciated. Thank you!
Hi,
I'm experiencing issues while running GEMMA2 on Ollama. Specifically, I'm encountering the following problems:
Error on Message Generation:
Whenever a new chat is created, every message results in the error:
Inconsistent Message Handling:
After retrying the same message multiple times (ranging from 2 to 15 attempts), the message is eventually processed correctly and the output is displayed on the front end.
Server Responsiveness:
Despite the above issues, the server responds to every query.
Expected Behavior:
Messages should be processed and output generated on the first attempt without errors.
Additional Context:
Relevant Logs:
error message:
Its something with the title of the conversation but retrying the message finally the conversations name is changed too. And messages after conversations name is changed have the same problem, rarely it works at first attempt.
My env.local:
Any assistance in resolving this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: