Skip to content

Still needs network connection after model file having downloaded into cache on local device? #23

@jealthterry-hub

Description

@jealthterry-hub

My OS is Ubuntu22.0.4. I have no problems in running project.
Now I wanna make this project available offline, meaning that it still works in the case of no network connection.
I know that once project has run, model files(.pth file) are automatically downloaded on local, and the project uses those cache files repeatedly,
But even so, I have to keep network on, otherwise it reports the following error:

Max retries exceeded with url: /hexgrad/Kokoro-82M/resolve/main/config.json (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7e56d091aaa0>: Failed to resolve 'huggingface.co' ([Errno -3] Temporary failure in name resolution)"))'), '(Request ID: 50e3b537-1b49-437b-9300-bdbbae90cc03)')' thrown while requesting HEAD https://huggingface.co/hexgrad/Kokoro-82M/resolve/main/config.json
Retrying in 1s [Retry 1/5].

Is there any way to handle it @PierrunoYT @6Morpheus6 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions