go-faiss icon indicating copy to clipboard operation
go-faiss copied to clipboard

can i use static library and use GPU to calculate vector?

Open deadspacewii opened this issue 3 years ago • 2 comments

deadspacewii avatar Nov 26 '22 04:11 deadspacewii

Yes, you should be able to use static linking. You can pass the libraries to the linker with the CGO_LDFLAGS environment variable. I don't have detailed instructions as I haven't tried this myself.

You may want to check out this fork: https://github.com/AnyVisionltd/go-faiss. It looks like they added GPU support.

p-ouellette avatar Nov 28 '22 00:11 p-ouellette

i compile static link and occur this error ,how can i deal with it image

deadspacewii avatar Nov 28 '22 06:11 deadspacewii