You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a data alignment issue, that we have accounted for ahead of time, but haven't implemented the solution yet.
The index_config_t::vector_alignment controls, how to store vectors of add-ed elements in allocated memory.
Some platforms won't have an issue loading an 8-byte double, with an address that is not a multiple of 8.
Others will have that issue.
So the index_gt class has to be patched.
Steps to reproduce
Run the C++ unit test (available in VS code launchers) with -fsanitize=alignment address sanitizer flag set.
Activity
ashvardanian commentedon Jul 30, 2023
This was resolved by implementing a completely new serialization form and using separate memory allocators for vectors and neighbors lists.