Skip to content

Support for huggingface offline mode #625

Open
@montanalow

Description

@montanalow

https://huggingface.co/docs/transformers/installation#offline-mode

It would be nice to expose APIs to download models explicitly, and otherwise run huggingface in an offline/firewall compatible way only reading models from a local cache. Huggingface uses caching automatically, but there are still calls to their APIs to check things like the latest model version the first time it is used in a process. If they are unreachable for some reason, the cache will not be accessible, and new processes will not be able to execute models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions