Skip to content

We are DoSing HF #1472

@sempervictus

Description

@sempervictus

Describe the bug

Looks like #1449 just became a real bug, impacting people other than users of this repo. By having the binary constantly reach out to HF even if all of the data is local, we are tripping their rate limiters:

thread 'main' panicked at mistralrs-core/src/pipeline/paths.rs:351:27:
Could not get directory listing from API: RequestError(Status(429, Response[status: 429, status_text: Too Many Requests, url: https://huggingface.co/api/models/THUDM/codegeex4-all-9b/revision/main]))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If we are tripping their limiters, it means they are in place for a reason...

Latest commit or version

Which commit or version you ran with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions