Skip to content
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

Jegao/label host fix with main3 #549

Merged
merged 161 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
68f1443
add codebook passing and pq/opq dim overwrite.
jinwei14 Mar 29, 2023
dfb8674
Support per query filter (#279)
yashpatel007 Mar 29, 2023
9a6e327
Rebasing main's latest commits onto ravi/filter_support_rebased (#225)
dkaczynski Mar 15, 2023
e77e0ce
Clang-format now errors on push and PR if formatting is incorrect (#236)
daxpryce Mar 17, 2023
cd8bee3
Update SSD_index.md (#258)
dj3500 Mar 17, 2023
4320bad
Add filter-diskann paper link to readme (#275)
harsha-simhadri Mar 18, 2023
6c7c2b3
Update README.md (#277)
harsha-simhadri Mar 20, 2023
936922c
update citation (#281)
harsha-simhadri Mar 22, 2023
066b9ed
Some fixes to pass internal building pipeline (#282)
yiylin Mar 23, 2023
09e8404
Add support for multiple frozen points (#283)
theantony Mar 24, 2023
162d1ea
Added filtered disk index readme (#276)
NeelamMahapatro Mar 27, 2023
331b574
Support per query filter (#279)
yashpatel007 Mar 29, 2023
308b377
udpate merging code
jinwei14 Mar 29, 2023
5444f79
merge commit
jinwei14 Mar 29, 2023
6c1a175
Using boost program options under Visual Studio MSVC 14.0 Assertion f…
jinwei14 Mar 29, 2023
0f5ec26
some commts and rewriting
jinwei14 Mar 30, 2023
918d11f
add back LF which might be confict with MSVC 14.0
jinwei14 Mar 30, 2023
8d2a007
clang formating change
jinwei14 Mar 30, 2023
9b46adc
clang formating
jinwei14 Mar 30, 2023
dde79a3
revert back to Lf
jinwei14 Mar 30, 2023
a7c8db6
unexpected failure on UT re-try
jinwei14 Mar 30, 2023
6dd780c
adding default string to the path
jinwei14 Mar 31, 2023
86ee064
fix reference issue
jinwei14 Mar 31, 2023
6a43218
Fixing Build errors in remove_extra_typedef (#290)
yashpatel007 Mar 31, 2023
7b1553d
merge all new PR change into my branch
jinwei14 Apr 2, 2023
6833255
clang format
jinwei14 Apr 3, 2023
29f53d0
bump it up to 512 for MAX_PQ_CHUNKS
jinwei14 Apr 3, 2023
27d1653
default codebook prefix value pass in for generate_quantized_data
jinwei14 Apr 3, 2023
a1792e4
add check for disabling both -B and -QD pass in
jinwei14 Apr 3, 2023
4c8041b
Merge pull request #288 from jinwei14/codebookPassin
gopalrs Apr 3, 2023
9eb67b1
remove rules for force only one of -B and -QD
jinwei14 Apr 3, 2023
edf7e73
clange change
jinwei14 Apr 3, 2023
1602cd5
change clang format
jinwei14 Apr 3, 2023
844f751
bring back -B params
jinwei14 Apr 3, 2023
b6eccbf
Merge pull request #296 from jinwei14/overwrite_pq_dim
gopalrs Apr 3, 2023
12cbb4c
generate_quantized_data pass in referemce instead of const string
jinwei14 Apr 3, 2023
dfe62f7
update clang and param reference
jinwei14 Apr 4, 2023
ed59551
Merge pull request #297 from jinwei14/parametersImprove
gopalrs Apr 4, 2023
5fd8871
updated dockerfile (#299)
harsha-simhadri Apr 5, 2023
592a874
Python API and Test Suite (#300)
daxpryce Apr 5, 2023
8ec06fa
reducing number of L values for stitched search (#307)
yashpatel007 Apr 7, 2023
a41b078
add a warning in prune_neighbor if zero distance neighbor is detected…
harsha-simhadri Apr 17, 2023
7265a6e
Fix condition on ubuntu version in README (#246)
harsha-simhadri Apr 17, 2023
d412c26
Fix building SSD index performance issue (#321)
yiylin Apr 17, 2023
553110d
remove the distance 0 warning in prune candidate the list, since disk…
harsha-simhadri Apr 20, 2023
afea659
Set compile warning as error for core projects (#331)
yiylin Apr 26, 2023
3b4bf35
Create a data store abstraction (#305)
harsha-simhadri Apr 26, 2023
45a5409
Disabling Python builds (#338)
daxpryce Apr 26, 2023
38d8c44
New python interface, build setup, apps and unit tests (#308)
daxpryce Apr 27, 2023
543da4e
Harshasi/timer python app (#341)
harsha-simhadri Apr 28, 2023
3db6139
Force error on warnings and add casts to test directory (#342)
dkaczynski May 9, 2023
b011dcb
Enable Windows python bindings (#343)
nicaurvi May 9, 2023
86dcb35
Use new macro(ENABLE_CUSTOM_LOGGER) to turn on Custom logger (#345)
yiylin May 10, 2023
96aaa1c
updting from std cpp 14 to cpp 17 (#352)
yashpatel007 May 22, 2023
c7b2907
CICD Refactor (#354)
daxpryce May 22, 2023
16ea746
Fix the disparity between disk and memory search for Universal label …
NeelamMahapatro May 24, 2023
fdc38c9
Remove compute_groundtruth from labels.yml (#363)
yiylin May 30, 2023
129ffe1
Handle some corner cases in generate_cache_list_from_sample_queries (…
yiylin May 30, 2023
ddad4b9
Reduce the size of coord_scratch in SSDQueryScratch to reduce memory …
yiylin Jun 1, 2023
a473b16
Upload data and binary files to artifact in CI workflows (#366)
yiylin Jun 1, 2023
db61936
Python Type Enhancements (#364)
daxpryce Jun 1, 2023
0acff41
Add unit test project based on boost_unit_test_framework (#365)
yiylin Jun 1, 2023
fcd1f9c
Fix inefficiency in constructing reverse label map (#373)
varunsivashankar Jun 12, 2023
b4050de
fixed a bug with loading medoids for sharded filtered index, and adde…
rakri Jun 15, 2023
1ac95d2
patelyash/index factory (#340)
yashpatel007 Jun 22, 2023
0c71838
patelyash/index factory (#340) (#380)
varat73 Jun 26, 2023
2b50d8e
hot fix for python build (#383)
yashpatel007 Jun 27, 2023
d6d2719
some bug fix when enable the EXEC_EnV_OLS (#377)
jinwei14 Jun 28, 2023
132b62a
Output distance file in memory index search (#382)
initc Jun 28, 2023
775a9e9
Add WIN macro for non-win function (#360)
Sanhaoji2 Jun 29, 2023
051df41
small EXEC_ENV_OLS bug fix (#387)
jinwei14 Jul 5, 2023
720a809
Python Refactor (#385)
daxpryce Jul 7, 2023
579ad62
Jinweizhang/filter paramsfix (#388)
jinwei14 Jul 10, 2023
bc167d1
Update python-release.yml
daxpryce Jul 10, 2023
bbed8f8
Fixed inputs type-o (#391)
jonmclean Jul 12, 2023
a7b2087
Update pyproject.toml
daxpryce Jul 12, 2023
233c08c
Fixed param documentation (#393)
jonmclean Jul 17, 2023
f636da4
Bypass errors in logging for non-msft-prod environments (#392)
daxpryce Jul 17, 2023
2c9912a
Improve help formatting in CLI tools (#390)
jonmclean Jul 19, 2023
89ec326
Python build with a far more portable wheel (#396)
daxpryce Jul 20, 2023
1de9cb3
Jomclean/write timings (#397)
jonmclean Jul 20, 2023
dea70fc
Update pyproject.toml (#398)
daxpryce Jul 21, 2023
5bb07e4
Added filename to log (#399)
jonmclean Jul 21, 2023
0488c03
Jinwei/fix in memory compile error (#401)
jinwei14 Jul 24, 2023
e1a8d78
fix: use the passed in io_limit (#403)
ltan1ms Jul 26, 2023
44445de
DynamicMemoryIndex bug fixes (#404)
daxpryce Jul 26, 2023
1eac702
Pass nullptr as nullT when creating thread_data that's of ConcurrentQ…
ltan1ms Aug 1, 2023
06fc0b7
Preparing for 0.6.0 diskannpy release (#407)
daxpryce Aug 2, 2023
3f58b99
Added PDoc workflow to publish github pages documentation (#412)
jonmclean Aug 4, 2023
637ed51
Update README.md (#416)
harsha-simhadri Aug 8, 2023
b572571
moved ssd index defaults to defaults.h (#415)
harsha-simhadri Aug 8, 2023
c729e5c
Add Performance Tests (#421)
daxpryce Aug 11, 2023
977dd3c
allow multi-sector layout for large vectors (#417)
harsha-simhadri Aug 14, 2023
6d4e2bf
Consolidate Index Constructors (#418)
yashpatel007 Aug 15, 2023
39b3330
Add convenience functions for parsing the PQ index (#349)
PhilipBAdams Aug 15, 2023
df7c530
fix OLS build (#428)
PhilipBAdams Aug 17, 2023
4162c21
In Memory Graph Store (#395)
yashpatel007 Aug 17, 2023
9d5fde1
Undo mistake, let frontier read in PQ flash index be asynchronous (#434)
harsha-simhadri Aug 22, 2023
fee17e6
Reduce CI tests for multi-sector disk layout from 10K to 5K points so…
harsha-simhadri Aug 22, 2023
9622d8f
hot fix definate mem_leaks (#440)
yashpatel007 Aug 23, 2023
b05c2dc
add num_Threads to indexwriteparams in sharded build (#438)
harsha-simhadri Aug 24, 2023
98b119a
Added clarity to the universal label (#442)
jonmclean Aug 28, 2023
8afb38a
Remove IndexWriteParams from build method. (#441)
yashpatel007 Aug 28, 2023
353e538
Type hints and returns actually align this time. (#444)
daxpryce Aug 29, 2023
fa6c279
working draft PR for cleaning up disk based filter search (#414)
rakri Aug 30, 2023
a112411
Fixes #432, bug in using openmp with gcc and omp_get_num_threads() (#…
daxpryce Aug 30, 2023
4c31367
Preparing for 0.6.1 release (#447)
daxpryce Aug 30, 2023
b8b6caf
Release documentation from the release tag instead of main (#448)
jonmclean Aug 31, 2023
ced3b4f
Build streaming index of labeled data (#376)
dkaczynski Sep 22, 2023
dee332d
Fix typo in SSD_index.md (#466)
ShawnZhong Oct 4, 2023
a5334dd
add check for .enc extension to support encryption (#467)
hliu18 Oct 4, 2023
c47b3ac
read from MemoryMappedFile when EXEC_ENV_OLS is defined (#471)
hliu18 Oct 13, 2023
720c45c
rename 'content' variable to avoid duplicates (#475)
hliu18 Oct 16, 2023
ed9466c
read file in one time (#460)
Sanhaoji2 Oct 19, 2023
3d58ceb
Bump rustix from 0.37.20 to 0.37.25 in /rust (#479)
dependabot[bot] Oct 20, 2023
179927e
correct index_path_prefix in __init__ function of static disk index (…
wxyucs Nov 6, 2023
4a57e89
Adding Filtered Index support to Python bindings (#482)
daxpryce Nov 7, 2023
35f8cf7
Fixing index_prefix_path bug in python for StaticMemoryIndex (#491)
daxpryce Nov 9, 2023
b2a595c
Handle io_setup error properly (#465)
ShawnZhong Nov 20, 2023
87990da
Address race condition in `iterate_to_fixed_point` (#478)
darvg Nov 23, 2023
03abc71
Use TCMalloc to fix system memory leak (#494)
jinwei14 Dec 1, 2023
5744060
Adding a new PQ Distance Metric and PQ Data Store (#384)
rakri Dec 5, 2023
38cf26d
Bump zerocopy from 0.6.1 to 0.6.6 in /rust (#499)
dependabot[bot] Dec 18, 2023
5cf0360
Fix calculation of current_point_offset in test_insert_consolidate_de…
theantony Jan 26, 2024
58de98d
add16bytes tag type (#506)
Sanhaoji2 Feb 6, 2024
13df0cf
Rakri/cosine bug fix (#450)
rakri Feb 6, 2024
df225d3
Version bump 0.7.0rc2->0.7.0 (#510)
daxpryce Feb 6, 2024
6e4569f
Allow documentation to be published to our gh-pages branch (#511)
daxpryce Feb 6, 2024
9500d5a
Update push-test.yml (#512)
daxpryce Feb 7, 2024
24581a4
Bug fix for dlvs (#509)
NingyuanChen Feb 7, 2024
340bc58
add wait() method to AlignedFileReader (#518)
hliu18 Feb 26, 2024
a25ee6f
Add simplified functions for product quantization (#514)
michael-popov Feb 27, 2024
61846c0
Create in memory data store/graph store with at least max_points as 1…
ltan1ms Mar 5, 2024
2795f85
replace callback driven wait with new Wait() method (#526)
hliu18 Mar 7, 2024
9e87637
wait on completeCount if callback is used (#532)
hliu18 Mar 26, 2024
4e0eb88
Fix PQScratch memory leak (#522)
luyuncheng Apr 2, 2024
d78970f
sync to latest code
Sanhaoji2 Apr 10, 2024
08333d8
fix compile issue
Sanhaoji2 Apr 10, 2024
4e63bfe
add interface
Sanhaoji2 Apr 12, 2024
0ad3ec2
add interface
Sanhaoji2 Apr 12, 2024
bb83da9
change inteface
Sanhaoji2 Apr 12, 2024
9a87dc1
move function to public
Sanhaoji2 Apr 15, 2024
0e83b89
remove hard code unv label num
Sanhaoji2 Apr 17, 2024
6c050a1
fix convert issue
Sanhaoji2 Apr 19, 2024
4b4bed5
fix some issue
Sanhaoji2 Apr 19, 2024
8aedb3a
Bump openssl from 0.10.55 to 0.10.60 in /rust (#496)
dependabot[bot] Apr 19, 2024
aed8d4b
fix issues
Sanhaoji2 Apr 22, 2024
25e3af6
fix issues
Sanhaoji2 Apr 22, 2024
abda8bb
tune perf
Sanhaoji2 Apr 24, 2024
469ec02
test remove lock
Sanhaoji2 Apr 24, 2024
7c05484
try shared lock
Sanhaoji2 Apr 25, 2024
363c59e
change to shared lock
Sanhaoji2 Apr 25, 2024
286db31
try perfetch
Sanhaoji2 Apr 25, 2024
7cfa7f6
fix some issues
Sanhaoji2 Apr 25, 2024
e9c5c44
fix issue
Sanhaoji2 Apr 25, 2024
ec577f1
skip unfilter search while Lindex = 1
Sanhaoji2 Apr 27, 2024
3fa9d42
reserve queue size with max search lsit
Sanhaoji2 Apr 28, 2024
6e36270
Merge branch 'main' of https://github.com/microsoft/DiskANN into jega…
Sanhaoji2 Apr 30, 2024
e2b3007
revert change
Sanhaoji2 Apr 30, 2024
209a15a
revert change
Sanhaoji2 Apr 30, 2024
6863ba6
clean up code
Sanhaoji2 Apr 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,15 @@ runs:
mkdir dist
mklink /j .\dist\bin .\x64\Release\
shell: cmd
# ------------ End Windows Build ---------------
# ------------ End Windows Build ---------------
# ------------ Windows Build With EXEC_ENV_OLS and USE_BING_INFRA ---------------
- name: Add VisualStudio command line tools into path
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
- name: Run configure and build for Windows with Bing feature flags
if: runner.os == 'Windows'
run: |
mkdir build_bing && cd build_bing && cmake .. -DEXEC_ENV_OLS=1 -DUSE_BING_INFRA=1 -DUNIT_TEST=True && msbuild diskann.sln /m /nologo /t:Build /p:Configuration="Release" /property:Platform="x64" -consoleloggerparameters:"ErrorsOnly;Summary"
cd ..
shell: cmd
# ------------ End Windows Build ---------------
28 changes: 28 additions & 0 deletions .github/actions/generate-high-dim-random/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Generating Random Data (Basic)'
description: 'Generates the random data files used in acceptance tests'
runs:
using: "composite"
steps:
- name: Generate Random Data (Basic)
run: |
mkdir data

echo "Generating random 1020,1024,1536D float and 4096 int8 vectors for index"
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_1020D_5K_norm1.0.bin -D 1020 -N 5000 --norm 1.0
#dist/bin/rand_data_gen --data_type float --output_file data/rand_float_1024D_5K_norm1.0.bin -D 1024 -N 5000 --norm 1.0
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_1536D_5K_norm1.0.bin -D 1536 -N 5000 --norm 1.0
dist/bin/rand_data_gen --data_type int8 --output_file data/rand_int8_4096D_5K_norm1.0.bin -D 4096 -N 5000 --norm 1.0

echo "Generating random 1020,1024,1536D float and 4096D int8 avectors for query"
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_1020D_1K_norm1.0.bin -D 1020 -N 1000 --norm 1.0
#dist/bin/rand_data_gen --data_type float --output_file data/rand_float_1024D_1K_norm1.0.bin -D 1024 -N 1000 --norm 1.0
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_1536D_1K_norm1.0.bin -D 1536 -N 1000 --norm 1.0
dist/bin/rand_data_gen --data_type int8 --output_file data/rand_int8_4096D_1K_norm1.0.bin -D 4096 -N 1000 --norm 1.0

echo "Computing ground truth for 1020,1024,1536D float and 4096D int8 avectors for query"
dist/bin/compute_groundtruth --data_type float --dist_fn l2 --base_file data/rand_float_1020D_5K_norm1.0.bin --query_file data/rand_float_1020D_1K_norm1.0.bin --gt_file data/l2_rand_float_1020D_5K_norm1.0_1020D_1K_norm1.0_gt100 --K 100
#dist/bin/compute_groundtruth --data_type float --dist_fn l2 --base_file data/rand_float_1024D_5K_norm1.0.bin --query_file data/rand_float_1024D_1K_norm1.0.bin --gt_file data/l2_rand_float_1024D_5K_norm1.0_1024D_1K_norm1.0_gt100 --K 100
dist/bin/compute_groundtruth --data_type float --dist_fn l2 --base_file data/rand_float_1536D_5K_norm1.0.bin --query_file data/rand_float_1536D_1K_norm1.0.bin --gt_file data/l2_rand_float_1536D_5K_norm1.0_1536D_1K_norm1.0_gt100 --K 100
dist/bin/compute_groundtruth --data_type int8 --dist_fn l2 --base_file data/rand_int8_4096D_5K_norm1.0.bin --query_file data/rand_int8_4096D_1K_norm1.0.bin --gt_file data/l2_rand_int8_4096D_5K_norm1.0_4096D_1K_norm1.0_gt100 --K 100

shell: bash
5 changes: 4 additions & 1 deletion .github/actions/generate-random/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ runs:

echo "Generating random vectors for index"
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_10D_10K_norm1.0.bin -D 10 -N 10000 --norm 1.0
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_10D_10K_unnorm.bin -D 10 -N 10000 --rand_scaling 2.0
dist/bin/rand_data_gen --data_type int8 --output_file data/rand_int8_10D_10K_norm50.0.bin -D 10 -N 10000 --norm 50.0
dist/bin/rand_data_gen --data_type uint8 --output_file data/rand_uint8_10D_10K_norm50.0.bin -D 10 -N 10000 --norm 50.0

echo "Generating random vectors for query"
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_10D_1K_norm1.0.bin -D 10 -N 1000 --norm 1.0
dist/bin/rand_data_gen --data_type float --output_file data/rand_float_10D_1K_unnorm.bin -D 10 -N 1000 --rand_scaling 2.0
dist/bin/rand_data_gen --data_type int8 --output_file data/rand_int8_10D_1K_norm50.0.bin -D 10 -N 1000 --norm 50.0
dist/bin/rand_data_gen --data_type uint8 --output_file data/rand_uint8_10D_1K_norm50.0.bin -D 10 -N 1000 --norm 50.0

echo "Computing ground truth for floats across l2, mips, and cosine distance functions"
dist/bin/compute_groundtruth --data_type float --dist_fn l2 --base_file data/rand_float_10D_10K_norm1.0.bin --query_file data/rand_float_10D_1K_norm1.0.bin --gt_file data/l2_rand_float_10D_10K_norm1.0_10D_1K_norm1.0_gt100 --K 100
dist/bin/compute_groundtruth --data_type float --dist_fn mips --base_file data/rand_float_10D_10K_norm1.0.bin --query_file data/rand_float_10D_1K_norm1.0.bin --gt_file data/mips_rand_float_10D_10K_norm1.0_10D_1K_norm1.0_gt100 --K 100
dist/bin/compute_groundtruth --data_type float --dist_fn cosine --base_file data/rand_float_10D_10K_norm1.0.bin --query_file data/rand_float_10D_1K_norm1.0.bin --gt_file data/cosine_rand_float_10D_10K_norm1.0_10D_1K_norm1.0_gt100 --K 100
dist/bin/compute_groundtruth --data_type float --dist_fn cosine --base_file data/rand_float_10D_10K_unnorm.bin --query_file data/rand_float_10D_1K_unnorm.bin --gt_file data/cosine_rand_float_10D_10K_unnorm_10D_1K_unnorm_gt100 --K 100

echo "Computing ground truth for int8s across l2, mips, and cosine distance functions"
dist/bin/compute_groundtruth --data_type int8 --dist_fn l2 --base_file data/rand_int8_10D_10K_norm50.0.bin --query_file data/rand_int8_10D_1K_norm50.0.bin --gt_file data/l2_rand_int8_10D_10K_norm50.0_10D_1K_norm50.0_gt100 --K 100
Expand Down
80 changes: 80 additions & 0 deletions .github/workflows/build-python-pdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: DiskANN Build PDoc Documentation
on: [workflow_call]
jobs:
build-reference-documentation:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install python build
run: python -m pip install build
shell: bash
# Install required dependencies
- name: Prepare Linux environment
run: |
sudo scripts/dev/install-dev-deps-ubuntu.bash
shell: bash
# We need to build the wheel in order to run pdoc. pdoc does not seem to work if you just point it at
# our source directory.
- name: Building Python Wheel for documentation generation
run: python -m build --wheel --outdir documentation_dist
shell: bash
- name: "Run Reference Documentation Generation"
run: |
pip install pdoc pipdeptree
pip install documentation_dist/*.whl
echo "documentation" > dependencies_documentation.txt
pipdeptree >> dependencies_documentation.txt
pdoc -o docs/python/html diskannpy
- name: Create version environment variable
run: |
echo "DISKANN_VERSION=$(python <<EOF
from importlib.metadata import version
v = version('diskannpy')
print(v)
EOF
)" >> $GITHUB_ENV
- name: Archive documentation version artifact
uses: actions/upload-artifact@v2
with:
name: dependencies
path: |
dependencies_documentation.txt
- name: Archive documentation artifacts
uses: actions/upload-artifact@v2
with:
name: documentation-site
path: |
docs/python/html
# Publish to /dev if we are on the "main" branch
- name: Publish reference docs for latest development version (main branch)
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/python/html
destination_dir: docs/python/dev
# Publish to /<version> if we are releasing
- name: Publish reference docs by version (main branch)
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'release'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/python/html
destination_dir: docs/python/${{ env.DISKANN_VERSION }}
# Publish to /latest if we are releasing
- name: Publish latest reference docs (main branch)
uses: peaceiris/actions-gh-pages@v3
if: github.event_name == 'release'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/python/html
destination_dir: docs/python/latest
10 changes: 10 additions & 0 deletions .github/workflows/disk-pq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
run: |
dist/bin/build_disk_index --data_type float --dist_fn l2 --data_path data/rand_float_10D_10K_norm1.0.bin --index_path_prefix data/disk_index_l2_rand_float_10D_10K_norm1.0_diskfull_oneshot -R 16 -L 32 -B 0.00003 -M 1
dist/bin/search_disk_index --data_type float --dist_fn l2 --fail_if_recall_below 70 --index_path_prefix data/disk_index_l2_rand_float_10D_10K_norm1.0_diskfull_oneshot --result_path /tmp/res --query_file data/rand_float_10D_1K_norm1.0.bin --gt_file data/l2_rand_float_10D_10K_norm1.0_10D_1K_norm1.0_gt100 --recall_at 5 -L 5 12 -W 2 --num_nodes_to_cache 10 -T 16
- name: build and search disk index (one shot graph build, cosine, no diskPQ) (float)
if: success() || failure()
run: |
dist/bin/build_disk_index --data_type float --dist_fn cosine --data_path data/rand_float_10D_10K_unnorm.bin --index_path_prefix data/disk_index_cosine_rand_float_10D_10K_unnorm_diskfull_oneshot -R 16 -L 32 -B 0.00003 -M 1
dist/bin/search_disk_index --data_type float --dist_fn cosine --fail_if_recall_below 70 --index_path_prefix data/disk_index_cosine_rand_float_10D_10K_unnorm_diskfull_oneshot --result_path /tmp/res --query_file data/rand_float_10D_1K_unnorm.bin --gt_file data/cosine_rand_float_10D_10K_unnorm_10D_1K_unnorm_gt100 --recall_at 5 -L 5 12 -W 2 --num_nodes_to_cache 10 -T 16
- name: build and search disk index (one shot graph build, L2, no diskPQ) (int8)
if: success() || failure()
run: |
Expand Down Expand Up @@ -66,6 +71,11 @@ jobs:
run: |
dist/bin/build_disk_index --data_type float --dist_fn l2 --data_path data/rand_float_10D_10K_norm1.0.bin --index_path_prefix data/disk_index_l2_rand_float_10D_10K_norm1.0_diskfull_sharded -R 16 -L 32 -B 0.00003 -M 0.00006
dist/bin/search_disk_index --data_type float --dist_fn l2 --fail_if_recall_below 70 --index_path_prefix data/disk_index_l2_rand_float_10D_10K_norm1.0_diskfull_sharded --result_path /tmp/res --query_file data/rand_float_10D_1K_norm1.0.bin --gt_file data/l2_rand_float_10D_10K_norm1.0_10D_1K_norm1.0_gt100 --recall_at 5 -L 5 12 -W 2 --num_nodes_to_cache 10 -T 16
- name: build and search disk index (sharded graph build, cosine, no diskPQ) (float)
if: success() || failure()
run: |
dist/bin/build_disk_index --data_type float --dist_fn cosine --data_path data/rand_float_10D_10K_unnorm.bin --index_path_prefix data/disk_index_cosine_rand_float_10D_10K_unnorm_diskfull_sharded -R 16 -L 32 -B 0.00003 -M 0.00006
dist/bin/search_disk_index --data_type float --dist_fn cosine --fail_if_recall_below 70 --index_path_prefix data/disk_index_cosine_rand_float_10D_10K_unnorm_diskfull_sharded --result_path /tmp/res --query_file data/rand_float_10D_1K_unnorm.bin --gt_file data/cosine_rand_float_10D_10K_unnorm_10D_1K_unnorm_gt100 --recall_at 5 -L 5 12 -W 2 --num_nodes_to_cache 10 -T 16
- name: build and search disk index (sharded graph build, L2, no diskPQ) (int8)
run: |
dist/bin/build_disk_index --data_type int8 --dist_fn l2 --data_path data/rand_int8_10D_10K_norm50.0.bin --index_path_prefix data/disk_index_l2_rand_int8_10D_10K_norm50.0_diskfull_sharded -R 16 -L 32 -B 0.00003 -M 0.00006
Expand Down
Loading
Loading