faiss-d 1.0.0
FAISS for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
faiss-d
FAISS bindings for D
currently binds to FAISS v1.7.2
usage
simply add faiss-d
as a dependency
if on unix, add this to make sure that the shared libs are found at runtime
lflags "-L./." "-rpath=./."
notes
how to generate bindings:
run dstep
:
dstep faiss_source/c_api/AutoTune_c.h faiss_source/c_api/clone_index_c.h faiss_source/c_api/Clustering_c.h faiss_source/c_api/error_c.h faiss_source/c_api/faiss_c.h faiss_source/c_api/Index_c.h faiss_source/c_api/index_factory_c.h faiss_source/c_api/IndexFlat_c.h faiss_source/c_api/index_io_c.h faiss_source/c_api/IndexIVF_c.h faiss_source/c_api/IndexIVFFlat_c.h faiss_source/c_api/IndexLSH_c.h faiss_source/c_api/IndexPreTransform_c.h faiss_source/c_api/IndexReplicas_c.h faiss_source/c_api/IndexScalarQuantizer_c.h faiss_source/c_api/IndexShards_c.h faiss_source/c_api/MetaIndexes_c.h faiss_source/c_api/VectorTransform_c.h -o source/faiss
then edit and clean up as necessary.
- 1.0.0 released 2 years ago
- redthing1/faiss-d
- gpl-3.0
- Copyright © 2022, redthing1
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.0 2022-Jun-02 ~main 2022-Jun-02 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
7 downloads total
-
- Score:
- 0.0
- Short URL:
- faiss-d.dub.pm