SimSIMD

Up to 200x Faster Inner Products and Vector Similarity — for Python, JavaScript, Rust, and C, supporting f64, f32, f16 real & complex, i8, and binary vectors using SIMD for both x86 AVX2 & AVX-512 and Arm NEON & SVE 📐

APACHE-2.0 License

Downloads
278K
Stars
746
Committers
26
SimSIMD - v3.1.4

Published by ashvardanian about 1 year ago

3.1.4 (2023-10-23)

Fix

  • Checking for fp16 support on x86 (5abaa56)

Make

SimSIMD - v3.1.3

Published by ashvardanian about 1 year ago

3.1.3 (2023-10-23)

Make

  • Freeze Ubuntu 22.04 for builds (5f05eb3)
SimSIMD - v3.1.2

Published by ashvardanian about 1 year ago

3.1.2 (2023-10-22)

Make

SimSIMD - v3.1.1

Published by ashvardanian about 1 year ago

3.1.1 (2023-10-22)

Fix

  • Prefer AVX512 to AVX2 and SVE to NEON (2bb2c57)
SimSIMD - v3.1.0

Published by ashvardanian about 1 year ago

3.1.0 (2023-10-22)

Add

  • Cachaing for hardware capabilities (5903954)

Fix

Improve

  • Batch benchmarks using USearch (445b450)
SimSIMD - v3.0.0

Published by ashvardanian about 1 year ago

3.0.0 (2023-10-21)

Add

Break

Fix

  • Dispatching serial implementation (4026fbf)

Improve

  • kullbackleibler benchmarks (cde40cb)

Revert

  • asm/hwcap.h for Arm caps on Linux (7b2603c)
SimSIMD - v2.4.0

Published by ashvardanian about 1 year ago

2.4.0 (2023-10-17)

Add

Fix

  • Check _Float16 availability on x86 (93aab8d)
  • Disable f16 for NodeJS (1587375)

Make

SimSIMD - v2.3.8

Published by ashvardanian about 1 year ago

2.3.8 (2023-10-10)

Improve

  • Use fast calling convention (8e736a9)
SimSIMD - v2.3.7

Published by ashvardanian about 1 year ago

2.3.7 (2023-10-09)

Fix

  • Simplify control flow (ceea3c8)
  • Type-conversion in default distance functions (af45f87)
SimSIMD - v2.3.6

Published by ashvardanian about 1 year ago

2.3.6 (2023-10-09)

Fix

SimSIMD - v2.3.5

Published by ashvardanian about 1 year ago

2.3.5 (2023-10-09)

Improve

SimSIMD - v2.3.4

Published by ashvardanian about 1 year ago

2.3.4 (2023-10-09)

Make

  • Windows-compatiable test invoke (0c8074d)
SimSIMD - v2.3.3

Published by ashvardanian about 1 year ago

2.3.3 (2023-10-09)

Fix

  • Disable vectorization on Windows (4d225e3)
SimSIMD - v2.3.2

Published by ashvardanian about 1 year ago

2.3.2 (2023-10-09)

Make

  • Preset MinGW as compiler (bd61366)
SimSIMD - v2.3.1

Published by ashvardanian about 1 year ago

2.3.1 (2023-10-09)

Make

SimSIMD - v2.3.0

Published by ashvardanian about 1 year ago

2.3.0 (2023-10-09)

Add

  • Backup for compilers without half support (a88f684)
SimSIMD - v2.2.0

Published by ashvardanian about 1 year ago

2.2.0 (2023-10-09)

Add

  • __version__ package attribute (1938054)

Fix

  • Compile time __version__ definition (e3c93ac)

Make

  • Avoid __asm__ __volatile__ on Windows (a059439)
  • Multi-arch tests (0d77bb3)
  • Patch Windows (2c729fe)
  • Simplify MinGW setup (77cbd82)
  • Support more OS and Python versions (0b18fbe)
SimSIMD - v2.1.2

Published by ashvardanian about 1 year ago

2.1.2 (2023-10-08)

Make

  • Use default compiler on MacOS (76a5909)
SimSIMD - v2.1.1

Published by ashvardanian about 1 year ago

2.1.1 (2023-10-08)

Docs

Fix

  • Division by zero in cosine distance (c7e7fda)
SimSIMD - v2.1.0

Published by ashvardanian about 1 year ago

2.1.0 (2023-10-07)

Add

  • bench.py and expose Hamming and Jaccard (8fad89f)
  • AVX-512 backend for f32 (4d40999)
  • CLI arguments to benchmarks (8a2b2d7)
  • Comparison with BLAS (36771d0)
  • Hamming and Jaccard distances (3f6b94e)

Docs

Fix

  • _Float16 compilation issue (3847b30)
  • _Float16 support on x86 + GCC (10517ee)
  • Check for avx512vpopcntdq capability (8724f9e)
  • Division by zero in Jaccard (21b5243)
  • Missing sqrt include (630234c)
  • Normalize avx512_f32_ip (7ff54ca)
  • Normalize simsimd_sve_f16_l2sq (02c6cfd)

Improve

  • Expose binary metrics (9c001e1)
  • Repeated fuzzy PyTests (2c9aa62)
  • Simpler control-flow for SVE loops (8d178af)

Make

  • avx512bw flag for i8 spatial distances (ecbb987)
  • pytest-repeat test dependency (6dbe041)

Test

  • Normalize before dot product (2047d9f)