mirror of
https://github.com/vectorize-io/hindsight.git
synced 2026-12-04 00:21:04 +00:00
* build(docker): bake the knowledge banks' EmbeddingGemma 2 into the full image The full image pre-downloaded only the memory-bank models, so the first knowledge bank use pulled ~1.4 GB of google/embeddinggemma-2 at runtime and failed offline. * fix(docker): review of the knowledge model preload - Dockerfile: say why EmbeddingGemma 2 is downloaded, not loaded, at build time - setup.sh: pre-download it too, so dev setup's offline promise covers knowledge banks (honours HINDSIGHT_API_KNOWLEDGE_EMBEDDINGS_PROVIDER/_MODEL like the other models) - installation docs + cuda notes: image sizes grow by ~1.5 GB (ARM64 measured at 4.35 GB) - custom-models: wrap the long comment * docs(docker): measured image sizes Built every variant locally (CPU torch, this branch): full amd64 4.51 GB / ~2.15 GB download, full arm64 4.35 / ~2.07, slim amd64 1.43 / ~0.60, slim arm64 1.40 / ~0.57. The old ~9 GB / ~3.7 GB full and ~500 MB slim figures mixed on-disk and download sizes; the table now gives both. CUDA wasn't measured, so the cuda notes drop the stale totals. * fix(docker): EmbeddingGemma 2 is ~1.5 GB, matching the docs