You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ The format is based on Keep a Changelog, and the project follows Semantic Versio
11
11
### Fixed
12
12
13
13
-**Warm-cache model loading no longer touches the Hugging Face Hub.** Every checkpoint download (`hf_hub_download`/`snapshot_download` across all embedders, plus the rshf `from_pretrained` loaders for satmae/scalemae/satmaepp) now resolves against the local HF cache first and only goes online on a cache miss. Previously each fresh process issued a HEAD request to huggingface.co even when weights were fully cached, so Hub outages, 429 rate limits, or blocked networks froze `get_embedding` indefinitely — hit hardest by agent integrations that spawn a new process per call. Consequence of cache-first: cached weights are never re-checked against the Hub; delete the cached file to force a re-download. Shared helpers: `hf_hub_download_cache_first` / `snapshot_download_cache_first` / `resolve_pretrained_source_cache_first` in `embedders/shared.py`.
14
+
-**`resolve_pretrained_source_cache_first` no longer hands bin-only snapshots to `from_pretrained`.** huggingface_hub >= 1.0 loads a local directory exclusively from `model.safetensors` (no `pytorch_model.bin` fallback, unlike its Hub code path), so the cache-first shortcut crashed with FileNotFoundError for repos that publish only bin weights (e.g. MVRL/satmaepp_ViT-L_pretrain_fmow_rgb). The local-dir shortcut now requires `model.safetensors`; bin-only repos fall back to the repo-id path, whose EntryNotFoundError fallback still loads the cached bin.
14
15
-**Clay batch prefetched-input path no longer acquires a provider.**`ClayEmbedder.get_embeddings_batch_from_inputs` unconditionally initialized the provider even though prefetched inputs never fetch — invisible in exports (the provider was already live) but it forced Earth Engine auth on machines without GEE when embedding user-provided data. The single-embedding path already followed the lazy-provider convention; the batch path now matches it, with a regression test.
0 commit comments