Skip to content

Commit

Permalink
maybe fix milvus & flann, disable kgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbern committed Apr 7, 2023
1 parent 72f50e2 commit 28cdde8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- faiss
- flann
- hnswlib
- kgraph
- luceneknn
- milvus
- mrpt
Expand Down
3 changes: 3 additions & 0 deletions algos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ float:
args: [[100], [.nan], [4], ["squared_l2"]]
query-args: [[[2, 20], [3, 20], [3, 30], [4, 30], [5, 40], [8, 80]]]
kgraph:
disable: true
docker-tag: ann-benchmarks-kgraph
module: ann_benchmarks.algorithms.kgraph
constructor: KGraph
Expand Down Expand Up @@ -929,6 +930,7 @@ float:
]
query-args: [[0.1, 0.2, 0.5, 0.7, 0.9, 0.95, 0.99]]
kgraph:
disable: true
docker-tag: ann-benchmarks-kgraph
module: ann_benchmarks.algorithms.kgraph
constructor: KGraph
Expand Down Expand Up @@ -1163,6 +1165,7 @@ bit:
args: { "d" : "@dimension", "r" : [0, 2, 3],
"chunk-factor" : [0.2, 0.5, 0.8] }
kgraph:
disable: true
docker-tag: ann-benchmarks-kgraph
module: ann_benchmarks.algorithms.kgraph
constructor: KGraph
Expand Down
1 change: 0 additions & 1 deletion install/Dockerfile.flann
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ RUN mkdir flann/build
RUN cd flann/build && cmake ..
RUN cd flann/build && make -j4
RUN cd flann/build && make install
RUN pip3 install sklearn
RUN python3 -c 'import pyflann'
2 changes: 1 addition & 1 deletion install/Dockerfile.milvus
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY run_algorithm.py requirements.txt ./

# update python packages
RUN pip3 install -r requirements.txt
RUN pip3 install scipy==1.10.1
RUN python3 -c 'import pyknowhere'

ENTRYPOINT ["python3", "-u", "run_algorithm.py"]

0 comments on commit 28cdde8

Please sign in to comment.