-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Large files cause freeze when embedding #386
Comments
I was noticing this but I also am noticing that I can't seem to get Ollama to keep the embeddings model in memory. 4 mins into the embedding process the model disappears and the Twinny process hangs there. I thought it was large files but I'm now thinking its the model being unloaded. I have set the env variable to tell it to keep models in memory for 60m but that hasn't impacted it. (guessing I didn't set it properly). |
some additional debugging info in case it helps. in the ollama debug I see this.
10 minutes later the twinny dialog has not moved beyond that file and the 8.20%. and the model is still in memory (per ollama ps) so its not ollama unloading the model causing the hang in twinny. I also stopped the ollama server and the twinny dialog is still running. (bar moving across the bottom of the dialog but percentage still not changing) |
Describe the bug
Large files cause freeze when embedding
To Reproduce
Embed a file > 500 lines or so.
Expected behavior
It should work
Screenshots
na
Logging
API Provider
Ollama
Chat or Auto Complete?
Embedding
Model Name
All models
Desktop (please complete the following information):
Additional context
Nothing else
The text was updated successfully, but these errors were encountered: