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 didn't want to put this in an issue yet as it could just be something I am missing.
I have a python application I am writing for RAG. When I run it locally on my machine it works just fine but when I try to run it in a docker container it hard crashes giving me no logs as it does. I have dialled the issue down to when 'embed' is called. Surrounding it with a try-except is not preventing the crash.
In the container the generation capability works just fine so I can ask questions and get answers from the running model but when I try to use the embed capabilities ready to populate a vector database it dies hard.
I have tried:
a few different models (a dolphin mistral and nomic embed text)
using langchain community embedding
using the direct 'embed' function
using the 'create_embedding' function
changing python versions (3.10.13 and 3.12.2)
Any insights would be greatly appreciated.
The only logs I am getting are:
2024-03-26 11:23:51 terminate called after throwing an instance of 'std::runtime_error'
2024-03-26 11:23:51 what(): locale::facet::_S_create_c_locale name not valid
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I didn't want to put this in an issue yet as it could just be something I am missing.
I have a python application I am writing for RAG. When I run it locally on my machine it works just fine but when I try to run it in a docker container it hard crashes giving me no logs as it does. I have dialled the issue down to when 'embed' is called. Surrounding it with a try-except is not preventing the crash.
In the container the generation capability works just fine so I can ask questions and get answers from the running model but when I try to use the embed capabilities ready to populate a vector database it dies hard.
I have tried:
Any insights would be greatly appreciated.
The only logs I am getting are:
2024-03-26 11:23:51 terminate called after throwing an instance of 'std::runtime_error'
2024-03-26 11:23:51 what(): locale::facet::_S_create_c_locale name not valid
Beta Was this translation helpful? Give feedback.
All reactions