Python function
try_to_load_from_cache
try_to_load_from_cache()
max.pipelines.lib.try_to_load_from_cache(repo_id, filename, revision)
Wrapper around huggingface_hub.try_to_load_from_cache; validates repo exists.
validate_hf_repo_access is called first to ensure the repo exists.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!