SimSIMD icon indicating copy to clipboard operation
SimSIMD copied to clipboard

Feature: Sparse Matrix Multiplications

Open ogencoglu opened this issue 1 year ago • 3 comments

Describe what you are looking for

In numpy/scipy, A @ B is much faster if A is sparse and turned into scipy sparse matrix. If both are sparse or only matrix A is sparse and B is dense. Both works.

Can SimSIMD improve such matrix multiplications.

Can you contribute to the implementation?

  • [ ] I can contribute

Is your feature request specific to a certain interface?

It applies to everything

Contact Details

No response

Is there an existing issue for this?

  • [X] I have searched the existing issues

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ogencoglu avatar Sep 09 '24 07:09 ogencoglu

@ogencoglu, I'm sorry for the wait. This is a big feature request, and I didn't want to rush the decision.

Now, I am ready. Matrix Multiplications are coming in more flavors than one 😉

ashvardanian avatar Oct 06 '24 00:10 ashvardanian

@ashvardanian Was matrix multiplication support ever merged or is https://github.com/ashvardanian/SimSIMD/pull/218 the latest update?

ghuls avatar Jul 30 '25 13:07 ghuls

Not merged yet, but a few more kernels will be added in August.

ashvardanian avatar Jul 30 '25 13:07 ashvardanian