Skip to content

v0.55.3

Choose a tag to compare

@github-actions github-actions released this 30 Oct 07:31
· 13 commits to main since this release

Fixed — the embedding model was kept in the temporary directory

RTFM never told FastEmbed where to keep the model, so it went to the
system's temporary directory, which a reboot empties and a container
recreate drops. The ~85 MB model was downloaded again each time, and an
embed job that ran after the wipe failed with an ONNX "no such file"
naming neither the cache nor a fix. The model now lives in
FASTEMBED_CACHE_PATH, else ~/.cache/fastembed, and a missing model
says which directory to check. In a container, point
FASTEMBED_CACHE_PATH at a mounted volume (#7). The model is downloaded
once more after the upgrade, into its new home.