-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge main into branch ignore_unmapped
Signed-off-by: Ryan Bogan <[email protected]>
- Loading branch information
Showing
18 changed files
with
758 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
benchmarks/perf-tool/release-configs/faiss-hnswpq/index.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"settings": { | ||
"index": { | ||
"knn": true, | ||
"number_of_shards": 24, | ||
"number_of_replicas": 1 | ||
} | ||
}, | ||
"mappings": { | ||
"properties": { | ||
"target_field": { | ||
"type": "knn_vector", | ||
"model_id": "test-model" | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
benchmarks/perf-tool/release-configs/faiss-hnswpq/method-spec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name":"hnsw", | ||
"engine":"faiss", | ||
"space_type": "l2", | ||
"parameters":{ | ||
"ef_construction": 256, | ||
"m": 16, | ||
"encoder": { | ||
"name": "pq", | ||
"parameters": { | ||
"m": 16 | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
benchmarks/perf-tool/release-configs/faiss-hnswpq/test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
endpoint: [ENDPOINT] | ||
test_name: "index-workflow" | ||
test_id: "index workflow" | ||
num_runs: 10 | ||
show_runs: false | ||
setup: | ||
- name: delete_index | ||
index_name: train_index | ||
- name: create_index | ||
index_name: train_index | ||
index_spec: /home/ec2-user/[PATH]/train-index-spec.json | ||
- name: ingest | ||
index_name: train_index | ||
field_name: train_field | ||
bulk_size: 500 | ||
dataset_format: hdf5 | ||
dataset_path: /home/ec2-user/data/sift-128-euclidean.hdf5 | ||
doc_count: 50000 | ||
- name: refresh_index | ||
index_name: train_index | ||
steps: | ||
- name: delete_model | ||
model_id: test-model | ||
- name: delete_index | ||
index_name: target_index | ||
- name: train_model | ||
model_id: test-model | ||
train_index: train_index | ||
train_field: train_field | ||
dimension: 128 | ||
method_spec: /home/ec2-user/[PATH]/method-spec.json | ||
max_training_vector_count: 50000 | ||
- name: create_index | ||
index_name: target_index | ||
index_spec: /home/ec2-user/[PATH]/index.json | ||
- name: ingest | ||
index_name: target_index | ||
field_name: target_field | ||
bulk_size: 500 | ||
dataset_format: hdf5 | ||
dataset_path: /home/ec2-user/data/sift-128-euclidean.hdf5 | ||
- name: refresh_index | ||
index_name: target_index | ||
- name: query | ||
k: 100 | ||
r: 1 | ||
calculate_recall: true | ||
index_name: target_index | ||
field_name: target_field | ||
dataset_format: hdf5 | ||
dataset_path: /home/ec2-user/data/sift-128-euclidean.hdf5 | ||
neighbors_format: hdf5 | ||
neighbors_path: /home/ec2-user/data/sift-128-euclidean.hdf5 |
16 changes: 16 additions & 0 deletions
16
benchmarks/perf-tool/release-configs/faiss-hnswpq/train-index-spec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"settings": { | ||
"index": { | ||
"number_of_shards": 24, | ||
"number_of_replicas": 0 | ||
} | ||
}, | ||
"mappings": { | ||
"properties": { | ||
"train_field": { | ||
"type": "knn_vector", | ||
"dimension": 128 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Version 2.10.0.0 Release Notes | ||
|
||
Compatible with OpenSearch 2.10.0 | ||
|
||
### Features | ||
* Add Clear Cache API ([#740](https://github.com/opensearch-project/k-NN/pull/740)) | ||
### Enhancements | ||
* Enabled the IVF algorithm to work with Filters of K-NN Query. ([#1013](https://github.com/opensearch-project/k-NN/pull/1013)) | ||
* Improved the logic to switch to exact search for restrictive filters search for better recall. ([#1059](https://github.com/opensearch-project/k-NN/pull/1059)) | ||
* Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search. ([#1066](https://github.com/opensearch-project/k-NN/pull/1066)) | ||
### Bug Fixes | ||
* Update Faiss parameter construction to allow HNSW+PQ to work ([#1074](https://github.com/opensearch-project/k-NN/pull/1074)) | ||
### Maintenance | ||
* Update Guava Version to 32.0.1 ([#1019](https://github.com/opensearch-project/k-NN/pull/1019)) | ||
### Refactoring | ||
* Fix TransportAddress Refactoring Changes in Core ([#1020](https://github.com/opensearch-project/k-NN/pull/1020)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.