MCPcopy Create free account
hub / github.com/evilsocket/cake / hf_cache_dir

Function hf_cache_dir

cake-core/src/utils/models.rs:224–226  ·  view source on GitHub ↗

Return the HuggingFace hub cache directory if it exists.

()

Source from the content-addressed store, hash-verified

222
223/// Return the HuggingFace hub cache directory if it exists.
224fn hf_cache_dir() -> Option<PathBuf> {
225 super::hf::hf_cache_dir()
226}
227
228/// Return the Cake cluster cache directory if it exists.
229fn cake_cache_dir() -> Option<PathBuf> {

Callers 1

list_modelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected