2 Commits
Author SHA1 Message Date
Adrien Gallouët 2d2d9c2062 common : add a WARNING for HF cache migration (#20935)
Signed-off-by: Adrien Gallouët <[email protected]>
2026-03-24 09:24:39 +01:00
Adrien Gallouët 8c7957ca33 common : add standard Hugging Face cache support (#20775)
* common : add standard Hugging Face cache support

- Use HF API to find all files
- Migrate all manifests to hugging face cache at startup

Signed-off-by: Adrien Gallouët <[email protected]>

* Check with the quant tag

Signed-off-by: Adrien Gallouët <[email protected]>

* Cleanup

Signed-off-by: Adrien Gallouët <[email protected]>

* Improve error handling and report API errors

Signed-off-by: Adrien Gallouët <[email protected]>

* Restore common_cached_model_info and align mmproj filtering

Signed-off-by: Adrien Gallouët <[email protected]>

* Prefer main when getting cached ref

Signed-off-by: Adrien Gallouët <[email protected]>

* Use cached files when HF API fails

Signed-off-by: Adrien Gallouët <[email protected]>

* Use final_path..

Signed-off-by: Adrien Gallouët <[email protected]>

* Check all inputs

Signed-off-by: Adrien Gallouët <[email protected]>

---------

Signed-off-by: Adrien Gallouët <[email protected]>
2026-03-24 07:30:33 +01:00