Skip to content

Download timeout #520

Description

@gdkrmr

I am at a very slow internet connection and downloading almost any model gives me a timeout:

[FLM]  Downloading 2/7: model.q4nx
[FLM]  Downloading: 86.0% (3830.0MB / 4455.4MB)CURL error: Timeout was reached

Currently there is a hard-coded timeout of one hour set here

curl_easy_setopt(curl, CURLOPT_TIMEOUT, 3600L); // 1 hour timeout

I suggest removing this limitation, I think this can be done to setting the limit to 0, alternatively you could make it configurable.

Edit: Just as a reference, a 10Mbit connection can download just over 4 GB/h and a 4B sized model is just around that limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions