Comments (4)
This is the repo for the faiss-wheels - https://github.com/kyamagu/faiss-wheels
If you run pip uninstall faiss
and try to import txtai, does that work?
from txtai.
@davidmezzetti thanks for the hints, I did pip uninstall faiss
but found that faiss was not installed (but why I got core dumped when I first imported it here not sure). I ran the following two commands and txtai is working very fine.
pip install faiss
pip3 install ray[rllib]
I am using its embeddings module just FYI.
EDIT: It gives a lot of warnings though, but I believe we don't care about warnings ;)
from txtai.
Thank you for reporting this. This is most likely an issue with a native package.
Can you try opening a python shell and running the following:
import numpy
from annoy import AnnoyIndex
from hnswlib import Index
import faiss
import fasttext
Do you get a core dump from any of those statements above? Usually this error occurs with a precompiled native package having a CPU instruction not supported on the executing platform.
from txtai.
Everything statement from the above works fine except
import faiss
as soon as I do import faiss
in the shell I get core dumped. I'll report this issue to the relevant repository thanks for giving directions. Anyhow if you can give some further instructions that would be great.
from txtai.
Related Issues (20)
- TypeError: 'NoneType' object is not iterable HOT 2
- Feature Request: Graph RAG - Add extra attributes HOT 4
- Cannot get it to work on M2 Mac HOT 3
- Fix issue with hardcoded autoawq version in example notebooks HOT 5
- AWQ is only available on GPU - no LLM instanciation possible HOT 6
- ImportError: NetworkX is not available - install "graph" extra to enable HOT 4
- Segmentation fault HOT 2
- API deps missing Pillow
- Add indexids only search
- Create temporary tables once per database session
- Add batch node and edge creation for graphs
- Add notebook on Retrieval Augmented and Guided Generation (RAGG)
- [Feature Request]: Auto-save during indexing HOT 3
- Split similarity extras install
- Cuda error on initialzing Embedding instance in a spawned subprocess aka a celery background task. HOT 2
- Add pgvector ANN backend
- Add RDBMS Graph
- New to txtai, some general questions HOT 3
- Add notebook covering txtai integration with Postgres
- 60th example error with litellm LLM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from txtai.