-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Reexport Faiss version in c_api #1720
Comments
For additional context, this has been brought up at faiss-rs here, as a potential aid at determining whether some feature can be used by the given bindings. I tried to understand how Python exports the version of Faiss. I suspect that all it does is hard-code the version from the header file via SWIG. For the time being, it would be an improvement for users of the C API to have access to the same symbol definitions. |
Right, we should think about this. |
Right, let's make an API entry to return the version (in the same fashion as get_compile_options() ) |
now the version is supported from C_API |
Summary
Hello.
Library supports version defines here
https://github.com/facebookresearch/faiss/blob/master/faiss/Index.h#L19
I think this functionality will be useful in c_api.
The text was updated successfully, but these errors were encountered: