Comments (2)
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
h3ronpy/.github/workflows/ci.yml
Line 40 in 7cc5877
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.
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)
- h3ronpy : python 3.7 build issue HOT 2
- Raster_to_geodataframe Plotting inconsistent Hex Resolution HOT 3
- Build docs on readthedocs
- Conversion from ndarray to h3 DataFrame throws unspecified error in h3ron.h3ron HOT 3
- Build wheels for more architectures
- cells_parse fails due to unexpected array type when using polars
- Points aren't properly parsed into H3 cells HOT 4
- Import failure on M1 MacBook Pro HOT 6
- Question: Best way to convert Polars series of Lat/Lng to H3 cells HOT 5
- integration with the `polars` api HOT 6
- implement `vertexes_parse` and `directededges_parse`
- Create `change_resolution_list` function
- ArrowIndexError: Negative buffer slice length HOT 10
- Question: Lazy coordinates_to_cells HOT 2
- geodataframe_to_cells issue HOT 7
- Move to official arrow bindings
- h3 library version 3.7, is there a plan to update for version 4.0? HOT 1
- Bounds check fail for global raster HOT 3
- local ij - methods request 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 h3ronpy.