Coder Social home page Coder Social logo

Comments (2)

nmandery avatar nmandery commented on June 11, 2024

Hi Johanna,

knowing the hardware you are probably using to run h3ronpy, the reason is that CPU does not support the quite common AVX and FMA instruction sets. After a few other projects like polars started to distribute wheel compiled with these instruction sets, I decided to do the same as using these instructions gave a nice performance boost. The instruction sets are fairly old at this point and supported on most machines. Runtime-detection of CPU features - like numpy does - is sadly out of scope.

In your case you can not use the wheels from pypi as they are build using these flags (see

RUSTFLAGS: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma"
). You can either use another machine (geofarm is fine for example) or compile h3ronpy yourself.

I suppose you are using a container - you could use a multistage build process and compile h3ronpy in its own stage and copy the wheel to your install-stage. I can provide you a snippet for this stage in that case.

Sorry for the inconvenience ;)

Best,
Nico

from h3ronpy.

joanneroll avatar joanneroll commented on June 11, 2024

Hi Nico,

thanks for your reply and explanation - and sorry for the late reply!

Edit: Yes, the reason was the infrastructure since it ran on the geofarm. So for the moment, I don't need to complie h3ronpy myself.

Thanks for your help and all the best,
Johanna

from h3ronpy.

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.