-
Notifications
You must be signed in to change notification settings - Fork 71
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
feat: stand alone test #448
Conversation
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
|
||
fn main() { | ||
let dims = 128; | ||
let path = Path::new("/home/yanqi/stand-alone-test/data/hnsw"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can we download files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code currently uses the fvecs format that the sift and gist datasets use. You can refer to corpus-texmex.irisa.fr for information of the fvecs format and download the sift and gist datasets. To use dataset of other formats, you may need to write another function to read that format or convert it to fvecs format.
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn>
* add stand alone test Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * update .gitignore Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * change data path Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * update data path Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * cargo fmt Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * clean code Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * taplo fmt Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * gate code with cargo feature Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * clean Cargo.toml and add CLI for stand-alone-test Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * remove feature from package stand-alone-test Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> * cleanup Signed-off-by: usamoi <usamoi@outlook.com> --------- Signed-off-by: whateveraname <12011319@mail.sustech.edu.cn> Signed-off-by: usamoi <usamoi@outlook.com> Co-authored-by: usamoi <usamoi@outlook.com> Signed-off-by: jinweios <jinwei.peng@beingthink.com>
Test algorithms without pg. See demo test files in crates/stand-alone-test/src/bin.