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

Bulk allocate objects for nmslib index creation #773

Merged
merged 3 commits into from
Apr 26, 2023

Commits on Apr 10, 2023

  1. Fix bug building tests

    Signed-off-by: John Mazanec <jmazane@amazon.com>
    jmazanec15 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    b52887c View commit details
    Browse the repository at this point in the history
  2. Bulk allocate objects for nmslib index creation

    For nmslib, we need to allocate objects that wrap vectors with metadata.
    This commit updates the objects to be allocated in one buffer as opposed
    to allocating objects individually. This was shown to prevent memory
    fragmentation.
    
    Signed-off-by: John Mazanec <jmazane@amazon.com>
    jmazanec15 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    e2a3444 View commit details
    Browse the repository at this point in the history
  3. Add entry to change log

    Signed-off-by: John Mazanec <jmazane@amazon.com>
    jmazanec15 committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    9c3e6ab View commit details
    Browse the repository at this point in the history