Code Monkey home page Code Monkey logo

Comments (5)

suryaavala avatar suryaavala commented on September 27, 2024 2

Thanks for the guide!

If anyone runs into the following error:
Error in fail: Python Configuration Error: Problem getting numpy include path.

then adding the --action_env PYTHON_BIN_PATH=/usr/local/bin/python3 to your compilation should do the trick

from eugeneyan-comments.

RubberDucky32 avatar RubberDucky32 commented on September 27, 2024 1

Great guide, thanks. I did this on Mac OS 12.5.1, intel. Minor changes made this procedure work:

  1. With homebrew, install bazelisk, not bazel. This is now the preferred method of installing Bazel.
  2. In the scann directory, create a hidden file and name it: .bazelversion
  3. In that file, simply type in: 3.7.2 --> this instructs bazelisk to run Bazel version 3.7.2, instead of the latest one (currently 6.0.0), which does not work with the scann BUILD.bazel file.
  4. I did not have to switch the #include <hash_set> to #include <ext/hash_set>.
  5. Successfully installed scann 1.2.9

from eugeneyan-comments.

RubberDucky32 avatar RubberDucky32 commented on September 27, 2024 1

PS: installed in Python 3.10.9

from eugeneyan-comments.

RubberDucky32 avatar RubberDucky32 commented on September 27, 2024 1

Don't know! I've been using it with databases about of about 5M and it's very fast. You'd have to just give it a go and see.

PS: I was also able to install ScaNN on M1, combining the info in this guide and using the patch discussed here: google-research/google-research#1082

from eugeneyan-comments.

NickCrews avatar NickCrews commented on September 27, 2024

Thanks for this! Before I go through the effort of doing this, I need to figure out the memory needs of SCANN. I am looking to query a dataset of shape (~50M, 100), and I'm trying to get this to work on just my laptop. Does SCANN load the entire index into memory (which would explode my 16Gb of RAM) or does it work out of core? I can't seem to find this answer anywhere obvious. Thanks!

from eugeneyan-comments.

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.