* 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]>