Code Monkey home page Code Monkey logo

Comments (2)

Leonidas-from-XIV avatar Leonidas-from-XIV commented on May 13, 2024 1

I had the problem as well, where compiling FALCONN took forever on Docker on Mac and then failed with what I assume was the OOM killing GCC. I ended up creating a wheel on a different machine and forcing pip to use that wheel instead of the tarball.

I think it would be nice if FALCONN would submit some pre-built wheels to PyPI, so I wouldn't need to depend on my binary.

from falconn.

ludwigschmidt avatar ludwigschmidt commented on May 13, 2024

I also noticed that compiling the C++ wrapper test takes more time than before. I think this is because the wrapper has more template options now: 4 different table types and 2 different hash type sizes (32 bit and 64 bit integers). So overall there are 8x more template classes to generate.

I think currently the situation is inconvenient but still acceptable. In the future, we can write the wrapper so that we only instantiate the LSHTable template with one hash table wrapper class that does virtual function calls to the actual hash table internally. This will lead to slightly more runtime overhead, but should not be an issue overall. And we don't need to change the core classes, so the full template solution would still be available if necessary.

from falconn.

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.