What happened: On fastembed >=0.7.4, loading Qdrant/bm25 with a fully populated cache (HF_HUB_OFFLINE=1 or local_files_only=True) still triggers a live Hugging Face Hub fetch instead of resolving offline.
Why: bm25 is a mock model with model_file "mock.file" (no real weight file). The offline cache probe in ModelManagement.download_model requires the model_file to exist on disk; "mock.file" is never downloaded, so the check is always False and bm25 falls through to the network even when every real additional_files stop-word list is cached. #577 fixed the general cached case but not this mock-model path.
Repro: cache Qdrant/bm25, set HF_HUB_OFFLINE=1, load it. A Hub request is still attempted.
What happened: On fastembed >=0.7.4, loading Qdrant/bm25 with a fully populated cache (HF_HUB_OFFLINE=1 or local_files_only=True) still triggers a live Hugging Face Hub fetch instead of resolving offline.
Why: bm25 is a mock model with model_file "mock.file" (no real weight file). The offline cache probe in
ModelManagement.download_modelrequires the model_file to exist on disk; "mock.file" is never downloaded, so the check is always False and bm25 falls through to the network even when every realadditional_filesstop-word list is cached. #577 fixed the general cached case but not this mock-model path.Repro: cache Qdrant/bm25, set HF_HUB_OFFLINE=1, load it. A Hub request is still attempted.