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

Index type 0x73726576 ("vers") not recognized #4218

Open
mdeniz1 opened this issue Feb 28, 2025 · 2 comments
Open

Index type 0x73726576 ("vers") not recognized #4218

mdeniz1 opened this issue Feb 28, 2025 · 2 comments

Comments

@mdeniz1
Copy link

mdeniz1 commented Feb 28, 2025

hi,

I have a chat bot app that I can run without any problem in my local environment.
I can both run it locally on pycharm and I can run a docker container. then I deploy it to koyeb using github link and koyeb reads the dockerfile.
then an error occurs:

RuntimeError: Error in faiss::Index* faiss::read_index(faiss::IOReader*, int) at /project/faiss/faiss/impl/index_read.cpp:1053: Index type 0x73726576 ("vers") not recognized

this is the line

self.vector_gelenek = FAISS.load_local(
"vector_store/gelenek_db", self.embeddings_large, allow_dangerous_deserialization=True)

the fais indexes are in github repo. there is no version mismatch in fais-langchain between what I use locally and what is written in the requirements.txt

why is that? how can I resolve it?

I can provide more log information if needed

@mengdilin
Copy link
Contributor

@mdeniz1 this looks like an issue with faiss integration with langchain. A better place to ask for help is at https://github.com/langchain-ai/langchain/issues

Copy link

github-actions bot commented Mar 8, 2025

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants