-
Notifications
You must be signed in to change notification settings - Fork 19
[SVS] SVS API and functionality update #676
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d54ef7a
[SVS] Integrate VecSim and SVS logging systems
rfsaliev 09462d7
[SVS] Changed SVS batch iterator API
rfsaliev 515b6df
Refactor SVS_BatchIterator and remove max_batch_size
rfsaliev d77d12c
Update SVS submodule
rfsaliev 6e7fa2d
Enable SVS for non-x86 platforms
rfsaliev 5213198
Disable SVS for cmake >= v.4 due to robin-map incompatibility
rfsaliev 6bd584b
Update SVS submodule and enable SVS for cmake v4
rfsaliev 2cfca25
cleanup and fix allocation and construct_at issues
rfsaliev 14fe420
Fix aggregare initilialization issue (C++ P0960R3)
rfsaliev 4b85bce
Workaround C++ LWG 3436 issue
rfsaliev 42de8a9
First draft of SVS scalar quantization support
rfsaliev 8d122d5
Allow Scalar quantization for non-LVQ case
rfsaliev 8d4f66d
Add scalar quantization query test
rfsaliev 5b1244c
Filter debug log in svs tests and format
rfsaliev d7395f3
Update SVS shared library package
rfsaliev 228b96a
Fix MacOS build
rfsaliev c49b714
Update SVS with eve compilation fix
rfsaliev ad1a500
Workaround SVS batch interator completion issue
rfsaliev 7c9b6b8
Fix/update SVS flow test
rfsaliev 01f3613
fixup! Workaround SVS batch interator completion issue
rfsaliev 88b4f9e
Improve code coverage
rfsaliev 5997492
Fix isSVSQuantBitsSupported() should return SQ as fallback quantization
rfsaliev 2d65413
Post-rebase fix
rfsaliev a1467b5
Improve SQ tests coverage
rfsaliev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Submodule ScalableVectorSearch
updated
69 files
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@alonre24, this line causes printing al lot of tracing/debug information in flow tests (unit tests use custom log callback to filter-out "debug" logs).
Do you have an idea how can we properly avoid tracing/debug information to be dumped in tests keeping ability for SVS to sink needed logs to VecSim/Redisearch?
I can set logger level to
spdlog::level::info
here but it will prevent possibility to trace SVS index.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.
Can we redirect the logs output to a log file in flow tests somehow?
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.
I think, there are different techniques could be used to manage VecSim logs in flow tests:
stdlog
+ p.2There 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.
@meiravgri can we address this issue in a separate PR? I believe that options 2 / 3 are better (so we still have full logs for failing tests if needed)
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.
I'm not sure I fully follow — if these logs are too verbose for flow tests, wouldn't they also be noisy in production, which we probably want to avoid as well? Or is there a difference in how logging is handled between test and production environments?
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.
In flow tests, all logs at every level are printed, while in production, the default level is "notice".
@dor-forer, can you please handle the logs redirection in tests?
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.
Do you mean implementing option 2/3 in a separate pr?
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.
yes