Skip to content

Silenced error while downloading pretrained model #5869

@festeh

Description

@festeh

🐛 Bug

Currently, if user failed to download a model, they will receive uninformative and confusing message (see #5787). This is most hurting for users behind a proxy. This happens because of this line. My opinion is that there should be at least a warning, and if force_download is True, then error should be raised. I can make a PR if you agree with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions