Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could we use this lib without intel MKL? #73

Open
jiacai2050 opened this issue Oct 17, 2024 · 1 comment
Open

Could we use this lib without intel MKL? #73

jiacai2050 opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@jiacai2050
Copy link
Collaborator

jiacai2050 commented Oct 17, 2024

Is your feature request related to a problem? Please describe.
When build vsag, we need to install intel MKL library, apparently this could only be used on x86, so I wonder:

  1. Could we use this lib without MKL?
  2. If yes, what disadvantages will it introduce? if no, I think we can list functions which rely on it, so others interested can contribute to make it doable.
@jiacai2050 jiacai2050 added the question Further information is requested label Oct 24, 2024
@wxyucs
Copy link
Collaborator

wxyucs commented Nov 4, 2024

@jiacai2050 I think it's possible now. VSAG depends on a BLAS backend and there are two choices in the library now (intel-mkl and openblas). When you build this library in an environment where cmake cannot find intel-mkl libraries, it will download openblas and use it as BLAS backend automatically.

DiskANN is the only thing that relies on a BLAS implementation. It uses BLAS to make matrix multiplication fast.

@wxyucs wxyucs assigned jiacai2050 and unassigned wxyucs Nov 4, 2024
@wxyucs wxyucs pinned this issue Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants