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

Large files cause freeze when embedding #386

Open
rjmacarthy opened this issue Nov 12, 2024 · 1 comment
Open

Large files cause freeze when embedding #386

rjmacarthy opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rjmacarthy
Copy link
Collaborator

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):

  • OS: Ubuntu

Additional context
Nothing else

@rjmacarthy rjmacarthy added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Nov 14, 2024
@gpinkham
Copy link

gpinkham commented Nov 26, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants