-
Notifications
You must be signed in to change notification settings - Fork 814
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
Continue caught in infinite answering loop #431
Comments
No worries with the logs - if you have this happen again, could you hover over the response and then click the magnifying glass? This will show you the exact prompt/completion pairs from Ollama and would help perfectly reproduce. It look though like there might be a detail to the chat prompt that I'd been missing, which could cause this, seems the intended format is:
I'll play around with this and see if it seems more reliable. |
@lucasyvas I think the solution here is actually to just use a different model. I've played around a lot with Can you give this a shot and let me know how it goes? |
Hello there! Running
|
@azakhtyamov This is a problem I'm seeing a lot and unfortunately the issue seems to be on the side of of There doesn't seem to be an option with vllm to edit the chat template (though I might have missed something). If you aren't set on using vllm, some other options would be:
If you'd like help with any of these let me know. |
@azakhtyamov I found a way around this! If you try the latest version, we will automatically template all chat messages in the correct format, regardless of whether you are going through an OpenAI-like API. No more nonsense outputs |
Hi @azakhtyamov, wanted to check in on this again. I believe this should be solved, so I'll close the issue in a couple days if I don't hear back. Hopefully everything is alright now |
Closing this issue, but please re-open if something else needs to be addressed! |
Describe the bug
It is possible for Continue to infinitely loop, printing the same output over and over again.
To Reproduce
Steps to reproduce the behavior:
codellama
viaollama
Expected behavior
No infinite looping
Environment
Console logs
Sorry, had to kill the editor so lost console logs
The text was updated successfully, but these errors were encountered: