Add filesystem Float32 vector backend - #17
Draft
isomorphisms wants to merge 4 commits into
Draft
Conversation
This was referenced Aug 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
ib-vector-indexbackend using exact scans over row-major little-endianfloat32format.txtand generated ID text beside immutable.f32generations understate/indexes/vectors/<collection>/<model>format.txtlast, so an interrupted rebuild cannot select partial vector bytesWhy exact first
IB's workbench target is 10,000 URLs. At 384 dimensions the vectors occupy 15,360,000 bytes and a query performs 3.84 million multiply-adds. This remains small enough for a sequential exact reference backend; HNSW graph state and tuning are deferred until phone measurements show a need.
Precision
The stored values, normalization, accumulation, and scores are all 32-bit float. The existing compiler's lack of an Idriç
Floatprimitive does not force rebuildable index state to double: the native backend owns the numeric buffer and Idriç owns only its typed specification.Checks
arm64-v8aandarmeabi-v7a, each stripped and capped below 100 KiBThis is stacked on
idric-durable-file-ioso it uses the real filesystem store without colliding with that work. It does not merge or modify PR #9.