Thanks to visit codestin.com
Credit goes to github.com

Skip to content

denkiwakame/numpy-blas-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numpy-blas-bench

License Pixi Badge

This repository provides an incredibly easy way to compare NumPy performance across the following builds on your machine:

  • official PyPI NumPy wheel pypi
  • conda NumPy builds (OpenBLAS / MKL) numpy libblas
  • official AOCL wheel amd

Installation

curl -fsSL https://pixi.sh/install.sh | sh
pixi install -a

Benchmark

./benchmark.sh

Individual Benchmark

pixi run -e pypi dot
pixi run -e openblas dot
pixi run -e mkl dot
pixi run -e aocl dot
pixi run -e blis dot
pixi run -e netlib dot

Validation

 pixi list -e mkl | grep libblas
Environment: mkl
libblas           3.11.0      4_h5875eb1_mkl         18.4 KiB    conda  https://conda.anaconda.org/conda-forge/

 pixi list -e openblas | grep libblas
Environment: openblas
libblas           3.11.0      4_h4a7cf45_openblas   18.1 KiB    conda  https://conda.anaconda.org/conda-forge/
pixi run -e pypi doctor
pixi run -e openblas doctor
pixi run -e mkl doctor
pixi run -e aocl doctor

License

This distribution includes third-party components. See LICENSES/ for the corresponding licenses.