Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Fast BLAS-like operations from Python and Cython, without the tears
========================================================

I hate trying to make sure my numpy stack is linked to the correct BLAS, and I want to avoid asking my users to do it.

BLAS is so ubiquitous in numeric computing, that at some point you stop noticing this missing stair.
You just remember not to trip. But I've always wanted a better solution.

This library vendorises BLIS, a BLAS-like library of linear algebra routines. It's not quite as fast as OpenBLAS,
but it's close, the code is clean and well organised, only little bits are in Assembly, and nothing is in Fortran.

The wrapper is designed to be used from Cython code, and makes heavy use of fused types. This means that you can call the
same function with either a pointer *or* a memory view, and it all just works, with no runtime cost. If you're a frequent
Cython user, you should recognise this as pretty neat. It's usually frustrating when you have a pointer but the API wants
a memoryview, because you can't create one without first acquiring the GIL. The opposite situation is also quite annoying.
Fused types are also used to allow float/double polymorphism, to keep the API trim.

The wrapper isn't finished yet, and nothing has docstrings etc. But the concept works!

You can do

pip install blis

And, at least on OSX and Ubuntu, the library installs without any dramas. It does take a little longer to compile than it might.
It would be good to trim down the amount of stuff it's compiling.

Windows support for this will probably be painful, but it would be very nice, as Windows users could really use more easily installed options for
numeric computing. I hope someone can help out, and the Windows support could move forward.

Metadata

Release files for blis 0.0.9.dev104

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blis 0.0.9.dev104
File Size Uploaded
blis-0.0.9.dev104.tar.gz 3.5 MB Details

Release files / blis-0.0.9.dev104.tar.gz

Download URL blis-0.0.9.dev104.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d3d9a1a4382cab0fa3736b1ef8dc79b0f813f1237c12e96d4f07fc634abc6a22
BLAKE2b-256 checksum
How to use checksums
0f1e46368eed554439e0f5e8f52432adc4bc0371e8a1e6176b821ebbca3b08c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.3.3

36 release files

1.3.2

36 release files

1.3.1

29 release files

1.2.0

29 release files

1.1.0

36 release files

1.0.2

36 release files

1.0.1

29 release files

1.0.0

17 release files

0.9.0

19 release files

0.8.0

10 release files

0.7.9

28 release files

0.7.8

24 release files

0.7.7

19 release files

0.7.6

16 release files

0.7.5

16 release files

0.7.3

13 release files

0.7.1

10 release files

0.7.0

10 release files

0.4.1

16 release files

0.4.0

12 release files

0.3.1

13 release files

0.2.3

1 release file

0.2.2

13 release files

0.2.1

10 release files

0.2.0

1 release file

0.1.0

8 release files

0.0.16

7 release files

0.0.13

1 release file

0.0.12

1 release file

0.0.10

1 release file

This release

0.0.9.dev104 This release

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page