ashvardanian / SimSIMD

Up to 200x Faster Dot Products & Similarity Metrics — for Python, Rust, C, JS, and Swift, supporting f64, f32, f16 real & complex, i8, and bit vectors using SIMD for both AVX2, AVX-512, NEON, SVE, & SVE2 📐
https://ashvardanian.com/posts/simsimd-faster-scipy/
Apache License 2.0
915 stars 51 forks source link

Any-dimensional Vectors and Python API #17

Closed ashvardanian closed 1 year ago

ashvardanian commented 1 year ago
  1. Previous versions of SimSIMD required the vector lengths to be proportional to SIMD register widths on the target CPU architecture. The new implementations don't require that.
  2. This release brings a new project structure, separating the most popular metrics - IP, Cos, and L2sq, from the more obscure distance functions.
  3. This release also introduces code for dynamic dispatch, which at runtime would pick the best implementation for the target CPU.
  4. This release brings a CPython API, making it easy to use SimSIMD with NumPy arrays!
ashvardanian commented 1 year ago

:tada: This PR is included in version 1.5.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: