Giter Club home page Giter Club logo

numba-benchmark's Introduction

Numba

Gitter

Discourse

Zenodo DOI

PyPI

A Just-In-Time Compiler for Numerical Functions in Python

Numba is an open source, NumPy-aware optimizing compiler for Python sponsored by Anaconda, Inc. It uses the LLVM compiler project to generate machine code from Python syntax.

Numba can compile a large subset of numerically-focused Python, including many NumPy functions. Additionally, Numba has support for automatic parallelization of loops, generation of GPU-accelerated code, and creation of ufuncs and C callbacks.

For more information about Numba, see the Numba homepage: https://numba.pydata.org and the online documentation: https://numba.readthedocs.io/en/stable/index.html

Installation

Please follow the instructions:

https://numba.readthedocs.io/en/stable/user/installing.html

Demo

Please have a look and the demo notebooks via the mybinder service:

https://mybinder.org/v2/gh/numba/numba-examples/master?filepath=notebooks

Contact

Numba has a discourse forum for discussions:

numba-benchmark's People

Contributors

abitrolly avatar esc avatar gmarkall avatar pitrou avatar seibert avatar sklam avatar stuartarchibald avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

numba-benchmark's Issues

meet unsupported wheel error on this platform after asv run

Hi, guys, I have a problem when using this repo on my mac (x86_64)

First, I create a conda env as readme said:

> conda create -n numba-benchmark python=3.8 conda-forge::asv
> conda list
# packages in environment at /Users/ld/opt/anaconda3/envs/numba-benchmark:
#
# Name                    Version                   Build  Channel
asv                       0.5.1            py38ha048514_0    conda-forge
ca-certificates           2022.4.26            hecd8cb5_0
certifi                   2022.6.15        py38hecd8cb5_0
libcxx                    12.0.0               h2f01273_0
libffi                    3.3                  hb1e8313_2
ncurses                   6.3                  hca72f7f_2
openssl                   1.1.1o               hca72f7f_0
pip                       21.2.4           py38hecd8cb5_0
python                    3.8.13               hdfd78df_0
python_abi                3.8                      2_cp38    conda-forge
readline                  8.1.2                hca72f7f_1
setuptools                61.2.0           py38hecd8cb5_0
six                       1.16.0             pyhd3eb1b0_1
sqlite                    3.38.5               h707629a_0
tk                        8.6.12               h5d9f67b_0
wheel                     0.37.1             pyhd3eb1b0_0
xz                        5.2.5                hca72f7f_1
zlib                      1.2.12               h4dc903c_2

Then I modified the asv.conf.json with specifying "branches": ["release0.55"], and "pythons": ["3.8"],. Finally, I ran:

> asv run
· Fetching recent changes.
· Creating environments......
· Discovering benchmarks
·· Uninstalling from conda-py3.8.13-clang-cudatoolkit-llvmlite-numpy.
·· Building 2298ad61 <0.55.2^0> for conda-py3.8.13-clang-cudatoolkit-llvmlite-numpy..........
·· Installing 2298ad61 <0.55.2^0> into conda-py3.8.13-clang-cudatoolkit-llvmlite-numpy.
·· Error running /Users/ld/Code/numba-benchmark/env/883704cea3e8caa6b210773fb93ac9f3/bin/python -mpip install /Users/ld/Code/numba-benchmark/env/883704cea3e8caa6b210773fb93ac9f3/asv-build-cache/2298ad6186d177f39c564046890263b0f1c74ecc/numba-0.55.2-cp38-cp38-macosx_12_0_x86_64.whl (exit status 1)
   STDOUT -------->

   STDERR -------->
   ERROR: numba-0.55.2-cp38-cp38-macosx_12_0_x86_64.whl is not a supported wheel on this platform.

·· Failed to build the project and import the benchmark suite.

My local clang (in /Library/Developer/CommandLineTools/usr/bin) version is 13.1.6, but I think in conda env, my local clang shouldn't be used by these packages in the env. All python 3.8.13 installled by conda env and asv created conda env are both built with clang 12.0.0.

I also found using conda install, I can only install numba=0.55.1, rather than numba=0.55.2. And if I use pip install, the installed numba package is numba-0.55.2-cp38-cp38-macosx_10_14_x86_64.whl, which is macosx_10_14, rather than macosx_12_0

I tried a few hours in this problem, but I didn't solve it right now. Any idea?

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.