Giter VIP home page Giter VIP logo

Comments (4)

davidmezzetti avatar davidmezzetti commented on July 29, 2024 1

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.

mohsin-ashraf avatar mohsin-ashraf commented on July 29, 2024 1

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

  1. pip install faiss
  2. 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.

davidmezzetti avatar davidmezzetti commented on July 29, 2024

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.

mohsin-ashraf avatar mohsin-ashraf commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.