Enet4 / faiss-rs

Rust language bindings for Faiss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can you also add support for static libraries?

web3creator opened this issue · comments

commented

hello,Can you also add support for static libraries?

Hello! There was an attempt at supporting static linking not long ago (#67). It was probably working for the most of it, but the original author seemingly gave up on it before I could get the time to fully review it. If someone is willing to commandeer the contribution, we can try bringing it upstream again.

commented

I referred to the implementation of https://github.com/rust-rocksdb/rust-rocksdb, but there are many problems, I don't know C language, I am learning and hope to contribute to the system

I referred to the implementation of https://github.com/rust-rocksdb/rust-rocksdb, but there are many problems, I don't know C language, I am learning and hope to contribute to the system

Thank you for your efforts on this feature. I open the PR again. Hope my implementation can solve part of your problem. I have an idea, can we cooperate on this?

commented

@SkyFan2002 of course

Baseline support for static linking has just dropped with version 0.12.1 (#69 and #70). Extending this to support more options (e.g. avx2 target) may be done in future releases.

Thanks for this!