EmbeddingGemma 2: an open, lightweight multimodal embedding model
deepmind.google·6d ago

TL;DR
Bonsai has identified a critical issue in vector serialization that affects millions of implementations, where float32 vectors are incorrectly cast to float64, leading to unnecessary data bloat. This misstep results in over 20 Petabytes of excess storage costs globally.
✦ Why It Matters
Review your vector serialization practices to avoid unnecessary data bloat and reduce storage costs.
Key Takeaways
How It Works
The issue arises when float32 vectors are serialized, leading to automatic conversion to float64, which adds unnecessary precision. This conversion occurs in many programming languages when values leave typed arrays, resulting in increased storage and bandwidth usage.
Related